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
## Homer Strong, September 2010 | |
## | |
## This is an example of using dollar formatting with log10 scaling. | |
## See the commit | |
## http://github.com/strongh/ggplot2/commit/7402a13a8ad625a8acd3024c5726545a20ac838e | |
library(ggplot2) | |
data(diamonds) | |
## On the current ggplot, the formatter argument is ignored when using |
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
##' Portland R User Group | |
##' | |
##' Debugging in R: | |
##' A Worst-Case Scenario Survival guide | |
##' Homer Strong, Qmedtrix | |
##' > Debugging is twice as hard as | |
##' > writing the code in the first place. | |
##' > Therefore, if you write the | |
##' > code as cleverly as possible, |
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
redis-cli monitor | awk '{split($1,a,"."); print a[1]}' | uniq -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
#!/bin/sh | |
TMPCP=/tmp/badcp.txt | |
lein cp | tr ':' '\n' > $TMPCP | |
while read line; do | |
find "$line" -name "*.jar" -exec sh -c 'jar -tf {}| grep -H --label {} '$1'' \; | |
done < "$TMPCP" |
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
;; http://www.johndcook.com/standard_deviation.html | |
(defn online-var | |
[x] | |
(loop [xs x | |
k 1 | |
m (first x) | |
s 0] | |
(let [x (first xs) | |
mk (+ m (float (/ (- x m) k)))] | |
(if (empty? (rest xs)) |
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 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
\documentclass[11pt,twocolumn,twoside]{IEEEtran} | |
\usepackage{amsmath} | |
\usepackage[pdftex]{epsfig} | |
\usepackage{amsfonts} | |
\usepackage{amssymb} | |
\usepackage{fancyhdr} | |
\include {graphicsx} | |
\usepackage[unicode=true]{hyperref} | |
\usepackage{setspace} | |
\usepackage{longtable} |
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
[1] 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
[20] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | |
[39] 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 | |
[58] 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 | |
[77] 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 | |
[96] 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 | |
[115] 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 65534 | |
[134] 65534 65534 65534 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 | |
[153] 152 153 154 155 156 157 158 159 160 16 |
OlderNewer