start new:
tmux
start new with session name:
tmux new -s myname
import java.awt.BorderLayout; | |
import java.awt.Color; | |
import java.awt.SystemColor; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; | |
import javax.swing.SwingUtilities; | |
import javax.swing.border.EmptyBorder; |
#https://gist.github.com/GuyCarver/4173534 | |
from scene import * | |
import feedparser | |
from time import sleep | |
import random | |
import Queue | |
from threading import Thread, Event | |
fontsize = 25 |
I will maybe someday get around to dusting off my C and making these changes myself unless someone else does it first.
Imagine a long-running development branch periodically merges from master. The
git log --graph --all --topo-order
is not as simple as it could be, as of git version 1.7.10.4.
It doesn't seem like a big deal in this example, but when you're trying to follow the history trails in ASCII and you've got several different branches displayed at once, it gets difficult quickly.
#!/bin/bash | |
function __RETURN_CODE { | |
RETCODE=$? | |
case $RETCODE in | |
0) RETSTR=" 😈 " ;; | |
1) RETSTR=" 😭 " ;; | |
2) RETSTR=" 😱 " ;; |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
vioplot2 <- function (x, ..., range = 1.5, h = NULL, ylim = NULL, names = NULL, | |
horizontal = FALSE, col = "magenta", border = "black", lty = 1, | |
lwd = 1, rectCol = "black", colMed = "white", pchMed = 19, | |
at, add = FALSE, wex = 1, drawRect = TRUE, side="both") | |
{ | |
datas <- list(x, ...) | |
n <- length(datas) | |
if (missing(at)) | |
at <- 1:n | |
upper <- vector(mode = "numeric", length = n) |
/* Side notes for calling out things | |
-------------------------------------------------- */ | |
/* Base styles (regardless of theme) */ | |
.bs-callout { | |
margin: 20px 0; | |
padding: 15px 30px 15px 15px; | |
border-left: 5px solid #eee; |
# Import files under folder name fawn | |
# It is very important to include the option (full.names=TRUE). It it is not included | |
# then you will get the error something like | |
# "Error in file(file, "rt") : cannot open the connection In addition: Warning message: | |
#In file(file, "rt") : cannot open file 'FAWN_2002.csv': No such file or directory | |
mydata=ldply(list.files(path="data/fawn/",pattern="csv",full.names=TRUE),function(filename) { | |
dum=read.csv(filename) | |
dum$filename=filename | |
return(dum) |