A graph of passes done between players of Real Madrid in the 1st half of the 23.09.2014 game vs. Elche.
This file contains 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
(defvar org-pre-clock-cancel-hook nil | |
"Hooks to run immediately before canceling a clock.") | |
(defun rand/org-clock-cancel () | |
(interactive) | |
(save-excursion | |
(org-clock-goto) | |
(run-hooks 'org-pre-clock-cancel-hook) | |
(org-clock-cancel))) |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know wh |
This file contains 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
# Generated by Vagrant | |
db ansible_ssh_host=127.0.0.1 ansible_ssh_port=2201 | |
web ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 |
This file contains 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 main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"os/signal" | |
"time" | |
"github.com/bitly/go-nsq" |
This file contains 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 main | |
import ( | |
"bytes" | |
"log" | |
"net/http" | |
"strings" | |
"launchpad.net/xmlpath" | |
) |
This file contains 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 main | |
import ( | |
"os" | |
"text/template" | |
) | |
var peoplePage *template.Template | |
var peopleTemplate string = `{{range .}} |
This file contains 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 main | |
// http://play.golang.org/p/fVf7duRtdH | |
import "fmt" | |
import "unicode/utf16" | |
import "encoding/binary" | |
func main() { |
This file contains 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
var items=$("a[onclick^='cart.apply']").map(function(i,el){return $(el).attr('onclick')}); | |
var itemids = new Array(items.length) | |
for (var i=0;i<items.length;i++){ var s=new String(items[i]); itemids[i]=s.substring(18,31); } | |
for (var i=0;i<itemids.length;i++){ var url="https://members.cloudatcost.com/index.php?fuse=admin&controller=signup&action=validatecoupon&couponCode="+coupon+"&itemID="+itemids[i]; $.get(url) } |
This file contains 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
func Round(f float64) float64 { | |
return math.Floor(f+.5) | |
} |
OlderNewer