Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in loops

Is there a better way to run a command N times in bash?

bash loops

do { ... } while (0) — what is it good for? [duplicate]

c loops

How to avoid "RuntimeError: dictionary changed size during iteration" error?

python list dictionary loops

How do I add a delay in a JavaScript loop?

javascript loops sleep

Is there a "do ... while" loop in Ruby?

ruby loops

Why does this go into an infinite loop?

How to remove elements from a generic list while iterating over it?

c# list loops generics key-value

How to iterate over a JavaScript object?

What's the best way to break from nested loops in JavaScript?

Looping through array and removing items, without breaking for loop

javascript loops

How to determine the first and last iteration in a foreach loop?

php loops foreach

How do I iterate over a JSON structure? [duplicate]

javascript json loops

How to find the foreach index?

php loops foreach

What is the most "pythonic" way to iterate over a list in chunks?

Ways to iterate over a list in Java

Calling remove in foreach loop in Java [duplicate]

java loops iterator foreach

Syntax for a single-line while loop in Bash

bash loops while-loop

How to break out of jQuery each loop?

jquery loops break

What is the difference between range and xrange functions in Python 2.X?

C# loop - break vs. continue

c# loops enumeration