Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/env perl | |
| # | |
| # http://daringfireball.net/2007/03/javascript_bookmarklet_builder | |
| use strict; | |
| use warnings; | |
| use URI::Escape qw(uri_escape_utf8); | |
| use open IO => ":utf8", # UTF8 by default | |
| ":std"; # Apply to STDIN/STDOUT/STDERR |
| #define $(...) ((NSString *)[[NSArray arrayWithObjects:__VA_ARGS__, nil] componentsJoinedByString:@""]) | |
| /* | |
| * Example | |
| */ | |
| NSString *string = $(@"Hello", @" ", @"World!", @"\n", @"1 + 2 = ", @(1+2)); |
| (function() { | |
| 'use strict'; | |
| var indexOf = function(list, needle) { | |
| if (list.indexOf) return list.indexOf(needle); | |
| for (var i = 0, n = list.length; i < n; i++) { | |
| if (list[i] === needle) return i; | |
| } | |
| return -1; | |
| }; |
| #!/usr/bin/perl | |
| use Mysql; | |
| use strict; | |
| use vars qw($school_name); | |
| use vars qw($pass); | |
| require "./cgi-lib.pl"; |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000https://github.com/[yourname]
[Describe ambitions: type of work, attributes of team, what you want to learn & teach]
[in reverse chronological order, list at most 5 positions or 10 years back, whichever is fewer]
| youshouldworkwith.me | |
| moodboard.me | |
| notorganized.com | |
| togetherlist.com (+ net & org) | |
| pettl.com (+ net & org) | |
| ringfinger.co | |
| omghey.com (+ net & org) | |
| roastler.com (+ net & org) | |
| spaces.is |
An example implementation of the self-pipe trick in Ruby, by Paul Annesley (found here: http://pastebin.com/1SZprwZm)
Further reading:
man 2 select