start new:
tmux
start new with session name:
tmux new -s myname
Git sees every file in your working copy as one of three things:
Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be committed. Some common examples are:
hs.window.animationDuration = 0 | |
-- Keys Being Used | |
-- hyper q = Mailmate | |
-- hyper w = GTD | |
-- hyper e = File/Document Management | |
-- hyper/meh r = Swinson/Safari open tab in new window | |
-- hyper/meh t = Default Browser | |
-- hyper y = Emacs |
#!/usr/bin/python | |
import sys | |
import csv | |
text = sys.stdin | |
text = text.readlines() | |
csvreader = csv.reader(text, delimiter=',', quotechar='"') | |
rowcnt = 0 | |
for row in csvreader: |
#! /usr/bin/env python | |
""" | |
Sort CSV file by multiple columns, writing output to sorted CSV file. | |
Recommended for files saved in Windows CSV format. | |
Useful for situations where data file is too large for Excel. | |
: param source_file.csv : source csv file. Must end in .csv | |
: param sort column 1 : first sort in Excel-like column number (i.e., 1 ... N) | |
Use negative number to indicate descending sort, | |
Positive number to indicate ascending sort_step |
#!/bin/bash | |
rm /var/www/html/out.html | |
HOSTS="www.google.com www.duckduckgo.com www.stackoverflow.com" | |
COUNT=5 | |
dd=$(date) | |
echo "<html><body>$dd<table><tr><th>HOST</th><th>STATUS</th></tr>" >> /var/www/html/out.html |
import javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.*; | |
/** Establish a SSL connection to a host and port, writes a byte and | |
* prints the response. See | |
* http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
*/ | |
public class SSLPoke { | |
public static void main(String[] args) { |
#! /usr/bin/env python | |
# Tweaked version of Motoma's service monitor script. | |
# https://gist.github.com/Motoma/828694#file-service-monitor-2-py | |
from os import system | |
from urllib2 import urlopen | |
from socket import socket | |
from sys import argv | |
from time import asctime |
I hereby claim:
To claim this, I am signing this object: