Skip to content

Instantly share code, notes, and snippets.

#Others
source ~/.git-completion.sh
#Git
alias master='git checkout master'
alias revpush='git push origin HEAD:refs/for/master'
alias gd='git difftool'
#Misc Shortcuts
alias mci='make clean install'
Safrane:~ cduruk$ dig -x 128.2.49.70
; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 128.2.49.70
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31512
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;70.49.2.128.in-addr.arpa. IN PTR
Delivered-To: can@duruk.net
Received: by 10.151.85.19 with SMTP id n19cs51652ybl;
Sun, 25 Apr 2010 15:32:43 -0700 (PDT)
Received: by 10.224.101.78 with SMTP id b14mr944526qao.228.1272234762437;
Sun, 25 Apr 2010 15:32:42 -0700 (PDT)
Return-Path: <bmorr@molloy.edu>
Received: from mx2.andrew.cmu.edu (MX2.ANDREW.CMU.EDU [128.2.11.36])
by mx.google.com with ESMTP id 8si7266579qwj.48.2010.04.25.15.32.42;
Sun, 25 Apr 2010 15:32:42 -0700 (PDT)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<img src="Map/Web/mapunlabeled.jpg" alt="CMU Carnival 2010" width="960" height="649" border="0" usemap="#carnivalmap" href="#" />
<map name="carnivalmap" id="carnivalmap">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
<img src="Map/Web/mapunlabeled.jpg" alt="CMU Carnival 2010" width="960" height="649" border="0" usemap="#carnivalmap" href="#" />
<map name="carnivalmap" id="carnivalmap">
*::selection {
background: transparent;
}
# Old Folder Pattern
!./(.[^/]|CVS|_darcs|_MTN|{arch}|blib|.~.nib|..(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$
# New Folder Pattern
!./(.[^/]|CVS|_darcs|_MTN|{arch}|blib|.~.nib|..(framework|app|pbproj|pbxproj|xcode(proj)?|bundle)|vendor|public/system|.git)$
export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
#Java and Tomcat
export JAVA_HOME=/Library/Java/Home
export CATALINA_HOME=/Library/Tomcat/Home
#Tomcat
alias start_tomcat='/Library/Tomcat/Home/bin/startup.sh'
alias stop_tomcat='/Library/Tomcat/Home/bin/shutdown.sh'
alias restart_tomcat='stop_tomcat;start_tomcat'
Host linode
ForwardAgent yes
HostName 69.164.215.160
User cduruk
Host www
ForwardAgent yes
HostName www.thetartan.org
User cduruk
port 31415
@cduruk
cduruk / fix_html5_for_ff.css
Created January 25, 2010 19:55
Fixes to make the HTML5 tags work in inferior browsers
/* Make the new HTML5 tags work with Firefox */
/* See <http://orderedlist.com/our-writing/resources/html-css/structural-tags-in-html5/> */
header, nav, section, article, footer, aside{
display:block;
}