start new:
tmux
start new with session name:
tmux new -s myname
| [user] | |
| name = VonC | |
| email = [email protected] | |
| [core] | |
| ; just making sure those eol's stay as they are | |
| autocrlf = false | |
| ; see http://stackoverflow.com/a/22208863/6309 (Git/Bash is extremely slow in Windows 7 x64, until fix in msysgit 1.9.4) | |
| fscache = true | |
| [alias] | |
| ; from http://www.jukie.net/bart/blog/pimping-out-git-log, with author displayed |
| !------------------------------------------------------------------------------- | |
| ! Xft settings | |
| !------------------------------------------------------------------------------- | |
| Xft.dpi: 96 | |
| Xft.antialias: false | |
| Xft.rgba: rgb | |
| Xft.hinting: true | |
| Xft.hintstyle: hintslight |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| [core] | |
| editor = vim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| [sendemail] | |
| smtpencryption = tls | |
| smtpserver = smtp.gmail.com | |
| smtpuser = [email protected] |
| <script type="text/javascript"> | |
| // First let's create an array of JavaScript Date | |
| // objects. | |
| // More info about the Date class: | |
| // http://w3schools.com/js/js_obj_date.asp | |
| var dates = [ | |
| new Date(2010, 4, 10, 10, 07, 16), | |
| new Date(2010, 4, 8, 9, 16, 09), | |
| new Date(2010, 3, 30, 0, 15, 49), |
| # basic .muttrc for use with Gmail | |
| # Change the following six lines to match your Gmail account details | |
| set imap_user = "[email protected]" | |
| set imap_pass = "" | |
| set smtp_url = "smtp://[email protected]:587/" | |
| set smtp_pass = "" | |
| set from = "[email protected]" | |
| set realname = "Firstname Lastname" | |
| # |
| // WARNING | |
| // | |
| // Do NOT edit this file while ZNC is running! | |
| // Use webadmin or *admin instead. | |
| // | |
| // Buf if you feel risky, you might want to read help on /znc saveconfig and /znc rehash. | |
| // Also check http://en.znc.in/wiki/Configuration | |
| AnonIPLimit = 10 | |
| MaxBufferSize= 500 |
| curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
| DROP TABLE IF EXISTS time_dimension; | |
| CREATE TABLE time_dimension ( | |
| id INTEGER PRIMARY KEY, -- year*10000+month*100+day | |
| db_date DATE NOT NULL, | |
| year INTEGER NOT NULL, | |
| month INTEGER NOT NULL, -- 1 to 12 | |
| day INTEGER NOT NULL, -- 1 to 31 | |
| quarter INTEGER NOT NULL, -- 1 to 4 | |
| week INTEGER NOT NULL, -- 1 to 52/53 | |
| day_name VARCHAR(9) NOT NULL, -- 'Monday', 'Tuesday'... |
| # Licensed under CC BY 3.0 http://creativecommons.org/licenses/by/3.0/ | |
| # Derived works must attribute https://gist.github.com/4492300 at the beginning, and the date. | |
| ################################################################## | |
| Installing and Configuring SmartOS on a budget server (with a /29) | |
| ################################################################## | |
| # if you find this gist useful, please star it | |
| # please be aware that budget hosting companies usually cut corners somewhere, |