I hereby claim:
- I am al3x on github.
- I am al3x (https://keybase.io/al3x) on keybase.
- I have a public key whose fingerprint is 4BBB 8323 A8EE 6B08 8434 AFE7 554B C317 53AC C28D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var browserify = require('browserify'); | |
var browserSync = require('browser-sync'); | |
var del = require('del'); | |
var gulp = require('gulp'); | |
var less = require('gulp-less'); | |
var minifycss = require('gulp-minify-css'); | |
var notify = require('gulp-notify'); | |
var plumber = require('gulp-plumber'); | |
var reactify = require('reactify'); | |
var runSequence = require('run-sequence'); |
. "$TM_SUPPORT_PATH/lib/webpreview.sh" | |
require_cmd "${TM_ANT:=ant}" "Ant was not found, please ensure that it has been installed and your \$PATH is set correctly." | |
html_header "Ant Build" | |
cd "$TM_SELECTED_FILE"; | |
result=`"$TM_ANT"`; | |
echo "<pre>$result</pre>"; | |
CmdUtils.CreateCommand({ | |
name: "bitly", | |
takes: {"url to shorten": noun_arb_text}, | |
preview: "Replaces the selected URL with a bit.ly-shortened URL.", | |
description: "Replaces the selected URL with a bit.ly-shortened URL.", | |
icon: "http://bit.ly/favicon.png", | |
homepage: "http://static.al3x.net/ubiquity.html", | |
author: { name: "Alex Payne", email: "al3x@al3x.net"}, | |
license: "WTFPL", | |
execute: function( urlToShorten ) { |
makeSearchCommand({ | |
name: "tsearch", | |
url: "http://search.twitter.com/search?q={QUERY}", | |
icon: "http://twitter.com/favicon.ico", | |
description: "Searches Twitter for your words.", | |
preview: function(pblock, directObject) { | |
var searchTerm = directObject.text; | |
var pTemplate = "Searches Twitter for <b>${query}</b>"; | |
var pData = {query: searchTerm}; | |
pblock.innerHTML = CmdUtils.renderTemplate(pTemplate, pData); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>ruby.gem.server</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/gem</string> | |
<string>server</string> |
trait WhoAreYou { | |
def whatClassAmI: Class[_] = this.getClass | |
println("I've been mixed into " + whatClassAmI) | |
if (whatClassAmI == classOf[Bar]) { | |
println("Holy cow batman, I'm part of a Bar") | |
} | |
} | |
class Foo extends WhoAreYou |
import java.util.logging.Logger | |
import javax.servlet.http.{HttpServletRequest, HttpServletResponse} | |
import org.mortbay.jetty.Server | |
import org.mortbay.jetty.handler.AbstractHandler | |
object Test extends AbstractHandler { | |
val log = Logger.getLogger("handler") | |
def main(args : Array[String]) = { |
Dear Red States, | |
We've decided we're leaving. We intend to form our own country, and we're taking the other Blue | |
States with us. In case you aren't aware, that includes Hawaii, California, Oregon, Washington, | |
Minnesota, Wisconsin, Michigan, Illinois, New York, and all of the Northeastern states. After this | |
election, we'll be adding Colorado and New Mexico. We believe this split will be beneficial to the | |
nation, especially to the people of our new country - Nuevo California. | |
To sum up briefly: You get Texas, Oklahoma and all the slave states; we get stem cell research, the | |
best beaches, and the best ski resorts. We get Elliot Spitzer; you get Ken Lay. We get the Statue of |
#!/usr/bin/env python | |
# -*- coding: UTF-8 -*- | |
''' | |
URL: http://projecteuler.net/index.php?section=problems&id=52 | |
Problem summary goes here: | |
It can be seen that the number, 125874, and its double, 251748, contain | |
exactly the same digits, but in a different order. | |