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
ps aux > test.txt;perl -p -w -e 'my @fields = split; $_ = $fields[1] . "\n"' test.txt |
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 | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 | |
" Whitespace stuff |
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
++++++++++ | |
[ | |
> ++++++ | |
> ++++ | |
> +++++++ | |
> +++++++ | |
<<<< - | |
] | |
> +++++ +++++ ++++ . | |
---- . |
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
" this seems like something i should set. Still not completely sure about | |
" what it does haha | |
" http://vimdoc.sourceforge.net/htmldoc/starting.html#compatible-default | |
set nocompatible | |
" add line numbers | |
set number | |
" show position numbers and info | |
set ruler |
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
library("rjson") | |
library("quantmod") | |
json_file <- "https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch" | |
json_data <- fromJSON(paste(readLines(json_file), collapse="")) | |
mtgox <- json_data$data | |
trades <- do.call(rbind.data.frame, mtgox) | |
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
library("rjson") | |
library("quantmod") | |
##### Configuration ##### | |
startTime <- as.integer(as.POSIXct(strptime("2013-04-09 00:00:00", "%Y-%m-%d %H:%M:%S"))) | |
endTime <- as.integer(Sys.time()) | |
bucketSize <- 60*15 # Fifteen minutes | |
##### Implementation ##### |
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
header { | |
background-image:url('{HeaderImage}'); | |
width: 100%; | |
height: 400px; | |
background-size: cover; | |
background-position: 33%; | |
} | |
header > img { | |
display: block; | |
margin-left: auto; |
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
<header> | |
<img class="portrait" src="{PortraitURL-128}" /> | |
</header> |
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
html { | |
background-color: {BackgroundColor}; | |
font-family: {TitleFont}; | |
} | |
body { | |
width:900px; | |
margin:0 auto; | |
background-color: white; | |
} |
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
#posts { | |
padding: 25px; | |
} |
OlderNewer