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
Sub UnhideAllSheets() | |
Dim ws As Worksheet | |
For Each ws In ActiveWorkbook.Worksheets | |
ws.Visible = xlSheetVisible | |
Next ws | |
End Sub | |
Sub HideAllSheets() | |
Dim ws As Worksheet | |
For Each ws In ActiveWorkbook.Worksheets |
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
#!bash | |
# | |
# bash/zsh completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# |
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
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
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
# Show git branch | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/' | |
} | |
# Show hg branch | |
function parse_hg_branch { | |
if [ "$(hg root 2> /dev/null)" ]; then | |
printf "[$(hg branch)]" | |
fi |
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
import urllib2 | |
import urllib | |
FACEBOOK_ID = None | |
ENCODED_ACCESS_TOKEN = None | |
ACCESS_TOKEN_MD5 = None | |
GET_URL = 'http://127.0.0.1:8000/api/facebook/access_token/%s/get' |
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
$(".news-wall._photos").hide("slide", { direction: "left" }, 500, function() { | |
$(".news-wall._list").show("slide", { direction: "right" }, 250, function() { | |
$(".news-wall._list").hide("slide", { direction: "left" }, 250, function() { | |
$(".news-wall._map").show("slide", { direction: "right" }, 500, function() { | |
}); | |
}); | |
}); | |
}); |
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
# Show git branch | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/[\1]/' | |
} | |
# Show hg branch | |
function parse_hg_branch { | |
if [ "$(hg root 2> /dev/null)" ]; then | |
printf "[$(hg branch)]" | |
fi |
NewerOlder