Starting up | |
---|---|
List running sessions | $ screen -ls |
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
IgnoreAgent Aboundex/* | |
IgnoreAgent AdsBot-Google* | |
IgnoreAgent Aghaven/* | |
IgnoreAgent Alltop/* | |
IgnoreAgent AppEngine-Google* | |
IgnoreAgent Apple-PubSub/* | |
IgnoreAgent AppleSyndication/* | |
IgnoreAgent BacklinkCrawler* | |
IgnoreAgent Baiduspider* | |
IgnoreAgent bitlybot |
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
#!/bin/bash | |
if [ -z "$1" -o -z "$2" ]; then | |
echo "Usage: $0 [domain] [path]" | |
exit | |
fi | |
wget \ | |
--domains $1 \ | |
--html-extension \ |
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 hidden characters
{ | |
// To show line endings type on status bar | |
"show_line_endings_on_status_bar": true, | |
// show an alert when the line ending is on the list | |
// eg: "alert_when_line_ending_is": ["Windows","Unix","CR"] | |
"alert_when_line_ending_is": ["Windows"], | |
// auto convert line endings on file open | |
"auto_convert_line_endings_to": "Unix" |
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
// Standalone DOM ready utility function | |
// Parts lifted from the following places: | |
// https://code.jquery.com/jquery-1.9.1.js | |
// https://github.com/ded/domready/blob/master/ready.js | |
// usage: | |
// domReady(function() { console.log('DOM is ready!'); }); | |
// domReady(function() { console.log('Another method called upon DOM being ready'); }); | |
(function(win,doc) { |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
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
// a statement like this... | |
if (fruit == 'apples') fruit = 'bananas'; | |
// is converted to this... | |
'apples'==fruit&&(fruit='bananas'); | |
// next... a statement like this... | |
if (fruit !== undefined) callMe(); |
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
#!/bin/bash | |
SUBLIME_CONFIG_DIR=~/.config/sublime-text-3 | |
find "$SUBLIME_CONFIG_DIR" -type d -name ".git" | while read -r gitRepoDir | |
do | |
gitRepoDir=$(echo $gitRepoDir | sed -e "s/\/\.git$//") | |
echo | |
echo $gitRepoDir |