Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: cycle

XML – Limit the number of sorting results of the for-Each cycle XSL

I am trying to see if it is possible to have a for-each loop setup in an XSL file that passes through many nodes, but I want it to return only the first three results, for example

80
77
96

October 21, 2021By Simo XML cycle, Number, Restriction, result, SORT, XML, XSLLeave a Comment

Shell for loop demo

test.sh

#!/bin/bash
for skill in Ada Coffe Action Java; do
echo “I am good at ${skill}Script”
done Output

bogon:Desktop macname$ ./test.sh
I am good at AdaScript
I am good at Cof

October 18, 2021By Simo Unix cycle, demonstration, shellLeave a Comment

[DONGLE] [Data Structure] While loop and for loop

Recently, when dealing with the positioning of the sequence table in the data structure, I thought of using a for loop, but the textbook wrote a while loop, so I was confused. What should I use?

October 15, 2021By Simo Data Structure cycle, Data Structure, DONGLE, loopLeave a Comment

Spring loop dependence

1. Background

Add an asynchronous processing function (@asyc) to the sorting service. During local testing, it was found that the service was sometimes normal and sometimes abnormal after sta

October 14, 2021By Simo Spring cycle, deep, dependence, problem, springLeave a Comment

iOS – Is this a reserved cycle?

When I call myself in a reserved block, I usually get a warning:

[self.someView doSomething:^{
self.aVar = @”Hello!”;
}]; I will do:

__weak SomeObject *weakSelf = self;
[self.someView

October 9, 2021By Simo IOS cycle, IOS, one, reservation, this isLeave a Comment

The pit in COCOS-JS, CTOR can no longer call the CTOR again, otherwise it will cycle

The pit in cocos-js, in ctor, can’t call ctor again, otherwise it will loop infinitely

The pit in cocos-js, in ctor , Ctor cannot be called again, otherwise it will loop infinitely

October 8, 2021By Simo Cocos2dx again, call, Cocos, ctor, cycle, JS, Medium, middle, no, otherwise, pit, will dieLeave a Comment

Load Test – Tsung: Using iterators in cycles

I am trying to use tsung to create load test scenarios for ejabberd.

I want to simulate thousands of XMPP events from thousands of clients. According to tsung In the manual, I can use a for l

October 1, 2021By Simo Load Balance cycle, iterative, load, Medium, test, Tsung, UsedLeave a Comment

PUPPET: Find 1 dependency loop

I received this error when applying my Puppet list:

Error: Could not apply complete catalog: Found 1 dependency cycle:
(Exec[pip install requirements] => File[change venv permissions] => File

September 30, 2021By Simo Design Pattern cycle, dependency, Find, PuppetLeave a Comment

Entity-Framework – EF Core 2.0 – Cyclic Dependence, both ends need FK

I have a fairly simple data model with two entities:

public class User
{
public int Id {get; set; }
public string Name {get; set; }
public int CurrentLocationId {get; set; }
public List<

September 30, 2021By Simo Design Pattern 2.0, all, both ends, Core, cycle, dependency, EF, entity, fk, framework, needLeave a Comment

Function call loop is fast

I link some assemblies with some c to test the cost of function calls, using the following assembly and c source code (fasm and gcc respectively)

format ELF
public no_call as “_no_call”
publi

September 29, 2021By Simo C & C++ call, cycle, empty, FAST, function, loopLeave a Comment

Posts navigation

Page 1 Page 2
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress