start new:
tmux
start new with session name:
tmux new -s myname
| PA;PA;VS4.00;!VZ0,4;!MC1;!PZ0,0; | |
| PD 116, 116; | |
| PD 116, 291; | |
| PD 6000, 291; | |
| PD 6000, 466; | |
| PD 116, 466; | |
| PD 116, 641; | |
| PD 6000, 641; | |
| PD 6000, 816; |
| if (CGPointEqualToPoint(playerPos, startPos) && levelCompleted == NO) | |
| { | |
| NSUInteger moves = 0; | |
| NSUInteger tile_X, tile_Y; | |
| CCTMXLayer *layer = [tilemap_ layerNamed:@"GameField"]; | |
| for (tile_X = 0; tile_X < layer.layerSize.width; tile_X++) | |
| for (tile_Y = 0; tile_Y < layer.layerSize.height; tile_Y++) { | |
| if ([layer tileGIDAt:ccp(tile_X, tile_Y)] == BRICK_RISING) | |
| moves++; |
| Telenor | |
| Atmel | |
| Netcom | |
| Knowit | |
| Ferd | |
| Ringnes | |
| Statoil | |
| Hydro ASA | |
| Finn.no | |
| Skandiabanken |
| // http://go.googlecode.com/hg-history/release-branch.r60/doc/GoCourseDay1.pdf | |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| "strconv" | |
| s "strings" |
| /** | |
| * Draws a smiley inside the given rectangle. The mood value (0...1) is used | |
| * to make the smiley happy or sad. | |
| * | |
| * @param rect Rectangle to draw the smiley into | |
| * @param mood Happy (= 1) or sad (= 0) or anything in between | |
| */ | |
| -(void)drawSmileyInRect:(CGRect)rect withMood:(float)mood { | |
| CGContextRef ctx = UIGraphicsGetCurrentContext(); | |
| CGContextSaveGState(ctx); |
| 0.0.0-{alpha, beta, chi, delta, eta, gamma, omega, omicron, sigma, theta, upsilon, xi, zeta} |
| def isEven(n) | |
| n % 2 == 0 | |
| end |
| // cisc and ccscanf | |
| <? | |
| require_once('db-connect-string.php'); | |
| pg_connect($db_connect_string); | |
| $res = pg_query("SELECT ac.id + 100000 AS id, ac.name, am.full_name FROM accounts ac JOIN active_members am ON am.account = ac.id ORDER BY full_name"); | |
| header('Content-Type: text/plain; charset=utf-8'); | |
| function utfPadding($str, $len) { |
| package main | |
| import ( | |
| "bufio" | |
| "errors" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "strings" | |
| ) |