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
$('.right').toArray().reduce(function(x, y, i, a) { return parseFloat(y.innerHTML.substring(1)) + x; }, 0.0).toFixed(2); |
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
" ======================== General Code-editing preferences ========= | |
set number | |
syntax on | |
colorscheme zenburn | |
set background=dark | |
map <F4> :e %:p:s,.h$,.X123X,:s,.c$,.h,:s,.X123X$,.c,<CR> | |
map <F3> :TlistToggle<CR> | |
map <C-b> :make clean all<CR> |
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
#!/bin/bash | |
SGF_SRC_LIST=/home/adrian/usr/local/twig/urls.txt | |
SCRATCH_DIR=/home/adrian/usr/local/twig/cache | |
DESTINATION_DIR=/home/adrian/Go/Games/TWIG | |
mkdir $SCRATCH_DIR | |
cd $SCRATCH_DIR | |
wget -r -l inf -t1 -nd -N -np -A.sgf -erobots=off -i "$SGF_SRC_LIST" |
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
#! /usr/bin/python | |
## arXiv script version 0.2 | |
## Copyright 2008 Tom Brown | |
## This program is free software; you can redistribute it and/or | |
## modify it under the terms of the GNU General Public License as | |
## published by the Free Software Foundation; either version 3 of the | |
## License, or (at your option) any later version. |
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
#Sat Aug 08 13:45:06 EDT 2009 | |
content_assist_proposals_foreground=0,0,0 | |
java_doc_default=179,181,175 | |
java_doc_link=168,147,204 | |
content_assist_proposals_background=255,255,255 | |
useQuickDiffPrefPage=true | |
java_single_line_comment=127,159,127 | |
java_comment_task_tag=172,193,172 | |
semanticHighlighting.localVariable.color=212,196,169 | |
sourceHoverBackgroundColor.SystemDefault=false |
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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
[svn-remote "svn"] | |
url = https://s3fs.googlecode.com/svn/trunk/s3fs | |
fetch = :refs/remotes/git-svn | |
[svn] | |
authorsfile = /home/apetresc/secure/gitstuff/authors |
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 com.amazon.aws.demo; | |
import java.io.BufferedInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.PrintWriter; | |
import java.io.StringWriter; | |
import java.io.Writer; | |
import java.net.URL; | |
import java.net.URLConnection; |
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
make: Entering directory `/sw/src/fink.build/xvidcore-1.2.2-2/xvidcore/build/generic' | |
D: =build | |
C: ./decoder.c | |
C: ./encoder.c | |
C: ./xvid.c | |
C: bitstream/bitstream.c | |
C: bitstream/cbp.c | |
C: bitstream/mbcoding.c | |
C: dct/fdct.c | |
C: dct/idct.c |
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
==> Downloading https://github.com/b4winckler/macvim/tarball/snapshot-61 | |
File already downloaded in /Users/adrian/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/adrian/Library/Caches/Homebrew/macvim-7.3-61.tgz | |
==> ./configure --with-macsdk=10.6 --with-features=huge --with-tlib=ncurses --enable-multibyte --with-macarchs=i386 --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-tclinterp | |
./configure --with-macsdk=10.6 --with-features=huge --with-tlib=ncurses --enable-multibyte --with-macarchs=i386 --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-tclinterp | |
checking whether make sets $(MAKE)... yes | |
checking for gcc... gcc | |
checking for C compiler default output file name... a.out | |
checking whether the C compiler works... yes | |
checking whether we are cross compiling... no |
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
public static class SplitSentence implements IRichBolt { | |
private OutputCollector collector; | |
@Override | |
public void declareOutputFields(OutputFieldsDeclarer declarer) { | |
declarer.declare(new Fields("word")); | |
} | |
@Override |