Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ ~ date | |
| Sun May 26 13:16:39 IST 2013 | |
| ➜ ~ zsh_stats | |
| 1 2355 23.5524% git | |
| 2 526 5.26053% cd | |
| 3 516 5.16052% rm | |
| 4 457 4.57046% ll | |
| 5 451 4.51045% cat | |
| 6 419 4.19042% mvn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| import argparse | |
| try: | |
| from boto.ec2.connection import EC2Connection | |
| except ImportError: | |
| sys.stderr.write('Please install boto ( http://docs.pythonboto.org/en/latest/getting_started.html )\n') | |
| sys.exit(1) |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package spikes.cluster | |
| import akka.actor._ | |
| import com.typesafe.config.ConfigFactory | |
| import akka.contrib.pattern.{ClusterClient, ClusterReceptionistExtension} | |
| object DemoMaster { | |
| def main(args: Array[String]): Unit = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package typedactorrefs | |
| import akka.actor._ | |
| import akka.pattern.AskSupport | |
| import akka.util.Timeout | |
| import scala.concurrent.Future | |
| import typedactorrefs.Server.ServerMessage | |
| import scala.concurrent.duration._ | |
| import typedactorrefs.Server.GetModule | |
| import typedactorrefs.Server.Module |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ ~ date | |
| Thu Sep 5 15:25:29 IST 2013 | |
| ➜ ~ zsh_stats | |
| 1 2551 25.5126% git | |
| 2 547 5.47055% cd | |
| 3 517 5.17052% rm | |
| 4 489 4.89049% cat | |
| 5 432 4.32043% ll | |
| 6 310 3.10031% curl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| http://abecedarius.tumblr.com/post/71370089924/some-books-with-crunchy-code | |
| Abelson and di Sessa, Turtle Geometry | |
| Abelson and Sussman, Structure and Interpretation of Computer Programs | |
| Aho and Weinberger and Kernighan, The AWK Programming Language | |
| Andrew Appel, Compiling With Continuations | |
| Mark Jason Dominus, Higher Order Perl | |
| Fraser and Hanson, A Retargetable C Compiler: Design and Implementation | |
| Friedman and Felleisen, The Little Schemer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scala> val date = "11/01/20101" | |
| date: String = 11/01/20101 | |
| scala> val date = "11/01/2010" | |
| date: String = 11/01/2010 | |
| scala> val Date = """(\d\d)/(\d\d)/(\d\d\d\d)""" | |
| Date: String = (\d\d)/(\d\d)/(\d\d\d\d) | |
| scala> val Date = """(\d\d)/(\d\d)/(\d\d\d\d)""".r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scala> val a :: tail = (1 to 10).toList | |
| a: Int = 1 | |
| tail: List[Int] = List(2, 3, 4, 5, 6, 7, 8, 9, 10) |