Online IDEs, Editors

You can write, compile, run your code online. You can do everything  on your browser.

compilr.com - C, C#, C++, Java, JavaScript, Pascal PHP, Python, Ruby, VB
coderun - c#,php, javascript
shiftedit.net - PHP, Ruby, Python, Perl, Java, HTML, CSS and JavaScript
compileonline - wide range of languages
ideone - lots of
cloud-ide - web applications
codeanywhere - HTML, PHP, JavaScript, CSS, and XML
c9.io - cloud9 ide
codepad - wide variety of programming languages
writecodeonline - js php
online-php - php
amyeditor
kodingen
http://spoon.net/eclipse- java
http://ecoder.quintalinda.com
http://ace.ajax.org/ - web
http://edit.orgapage.de - php
http://chpokk.apphb.com/ 
http://www.landofcode.com/online-code-editor - php
closure-compiler - js (javascript)

HTML, JS, CSS editors
jsfiddle
quackit
htmledit.squarefree
onlinehtmleditor
ckeditor
htmlinstant
timsfreestuff
htmleditor
cssdesk
tryiteditor
jsbin
n2j
of course w3schools - try it yourself editor

SQL Editors
Some of them for to manage your databases (db), others are for trying
dbschemaeditor  - db schemaeditor

Execute, try, test your sql queries, your skills.
sqleditor
sqlfiddle
sqlinform

These two are open source. They are at codeplex
sqlwebadmin
sqlwebtools

Demo and trial versions are available
Microsoft SQL Web Data Administrator
cibersql.com
mylittleadmin
sqlwebarchitect
tablesmarteditor

Stirling Prize goes to Sainsbury Lab

Sainsbury Laboratory in University of Cambridge wins Stirling Prize 2012.
The building has been designed by Stanton Williams.




Sainsbury Lab
Stirling Prize

Skydiver Felix Baumgartner

Austrian skydiver Felix Baumgartner sets record for highest skydive and fastest freefall speed. After first launch was aborted at 9 October, second try was at 14 October. Baumgartner flew approximately 39 kilometres (24 mi) into the stratosphere over New Mexico, United States in a helium balloon. He reached 833.9mph (1,342km/h) speed and breaked sound barrier. He is the only human to go faster than the speed of sound. The project is called Red Bull Stratos.


Joseph Kittinger is previous world record holder for skydiving from 31.33 km (19.4 mi).

C# Console - Press Any Key to Exit

If your console program is closing immediately before you see anything then add this code to your program. It doesn't consume any system resources. When you enter something, program will exit.

  1. string s = Console.ReadLine();

When a specific key  (ex: ESC (ESCAPE)) is pressed, the program below exit.
  1. using System;
  2.  
  3. namespace Test
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             ConsoleKeyInfo k;
  10.  
  11.             Console.WriteLine("Press ESC to exit...");
  12.             while (true)
  13.             {
  14.                 k = Console.ReadKey(true);
  15.                 if (k.Key == ConsoleKey.Escape)
  16.                     break;
  17.  
  18.                 Console.WriteLine("{0} --- ", k.Key);
  19.             }
  20.         }
  21.     }
  22. }

ReadKey and ReadLine functions block input. If you want to do anything until key pressed, you should use KeyAvailable property.
  1. Console.KeyAvailable

Example
  1. using System;
  2.  
  3. namespace Test
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             ConsoleKeyInfo k;
  10.             bool bln = true;
  11.  
  12.             Console.WriteLine("Press ESC to exit...");
  13.             while (true)
  14.             {                
  15.                 while(!Console.KeyAvailable)
  16.                 {
  17.                     if(!bln)
  18.                         Console.WriteLine("{0:s}", "x");
  19.                     bln = true;
  20.                 }
  21.                 bln = false;
  22.  
  23.                 k = Console.ReadKey(true);
  24.                 if (k.Key == ConsoleKey.Escape)
  25.                     break;
  26.  
  27.                 Console.Write("{0} --- ", k.Key);
  28.             }
  29.         }
  30.     }
  31. }

C# Object Initializers

Members of an object can be assigned without calling a constructor at creation time.
  1. MyClass myObject = new MyClass() {MyID = 1, MyName = "John Doe"};

Example
  1. class Program
  2. {
  3.     static void Main(string[] args)
  4.     {
  5.  
  6.         //Object initializer
  7.         MyClass myObject = new MyClass() {MyID = 1, MyName = "John Doe"};
  8.  
  9.         int id =myObject.GetMyID();
  10.         string name = myObject.GetMyName();
  11.  
  12.         Console.WriteLine("{0,-3:0}{1:s}",id,name);
  13.     }
  14. }
  15.  
  16. public class MyClass
  17. {
  18.     private int _myID;
  19.     private string _myName;
  20.  
  21.     public int MyID { get; set; }
  22.     public string MyName { get; set; }
  23.  
  24.     public MyClass() { }
  25.  
  26.     public int GetMyID()
  27.     {
  28.         return MyID;
  29.     }
  30.  
  31.     public string GetMyName()
  32.     {
  33.         return MyName;
  34.     }
  35. }
m ant / Mechanical Ant