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
import json | |
import random | |
import requests | |
API_URI = "https://api.github.com/repos/DataCater/datacater/stargazers?page=" | |
INTERNAL_STARGAZERS = ["flippingbits", "olis1996", "ChrisRousey", "HknLof", "dkd-dobberkau"] | |
NUM_WINNERS = 3 | |
# Get all stargazers from the DataCater/datacater repository | |
stargazers = [] |
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
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 44 | |
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz | |
stepping : 2 | |
microcode : 0xc | |
cpu MHz : 1600.000 | |
cache size : 12288 KB | |
physical id : 0 |
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
pdflatex thesis.tex | |
bibtex thesis | |
pdflatex thesis.tex | |
rm *.aux | |
rm *.log | |
open thesis.pdf |
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
plugin.tx_solr { | |
index.queue { | |
events = 1 | |
events { | |
table = tx_cal_event | |
fields { | |
start_date_dateS = TEXT | |
start_date_dateS.cObject = COA | |
start_date_dateS.cObject { | |
10 = TEXT |
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
set nocompatible | |
filetype on " set filetype stuff to on | |
filetype plugin on | |
filetype indent on | |
set number " show line numbers | |
set ruler " show the cursor position all the time | |
set tabstop=2 " a tab is two spaces | |
set expandtab " insert space characters whenever the tab key is pressed | |
set backspace=indent,eol,start " allow backspacing over everything in insert mode |
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
dkd-sprenger@hadoop-master-1:/opt/cassandra-0.7.0-beta3/contrib/pig$ bin/pig_cassandra example-script.pig | |
10/11/15 17:38:26 INFO pig.Main: Logging error messages to: /opt/cassandra-0.7.0-beta3/contrib/pig/pig_1289839106859.log | |
2010-11-15 17:38:27,809 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://hadoop-master-1.dkd.lan:8020 | |
2010-11-15 17:38:29,756 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to map-reduce job tracker at: hadoop-master-1.dkd.lan:8021 | |
2010-11-15 17:38:32,753 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - (Name: Store(hdfs://hadoop-master-1.dkd.lan/tmp/temp657556636/tmp-375431593:org.apache.pig.builtin.BinStorage) - 1-82 Operator Key: 1-82) | |
2010-11-15 17:38:32,960 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.CombinerOptimizer - Choosing to move algebraic foreach to combiner | |
2010-11-15 17:38:33,100 [main] INFO org.apac |
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
module RSpec::Core | |
class ExampleGroup | |
class << self | |
# | |
# This macro is available inside of each controller spec: | |
# | |
# describe UsersController do | |
# describe "/users" do |
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
alias firefox="open /Applications/Firefox.app" | |
alias mail="open /Applications/Mail.app" | |
alias safari="open /Applications/Safari.app" |