This file contains hidden or 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
[blocked] The page at 'https://schema.org/address' was loaded over HTTPS, but ran insecure content from 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js': this content should also be loaded over HTTPS. | |
address:1 | |
[blocked] The page at 'https://schema.org/address' was loaded over HTTPS, but ran insecure content from 'http://www.google.com/jsapi': this content should also be loaded over HTTPS. | |
address:1 | |
[blocked] The page at 'https://schema.org/address' was loaded over HTTPS, but ran insecure content from 'http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js': this content should also be loaded over HTTPS. | |
address:1 | |
Uncaught ReferenceError: $ is not defined address:18 | |
[blocked] The page at 'https://schema.org/address' was loaded over HTTPS, but ran insecure content from 'http://www.google.com/jsapi': this content should also be loaded over HTTPS. | |
address:1 | |
Uncaught ReferenceError: google is not defined address:67 |
This file contains hidden or 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
function o() { | |
result=${PWD##*/} | |
open 'http://'$result | |
} |
This file contains hidden or 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
function tip(){ | |
host -t a $1 | awk '{print $4}' | egrep ^[1-9] | pbcopy | |
} |
This file contains hidden or 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
Simple JS Bookmarket to let you quicly copy just the hostname of a url. Chrome hides http:// in the url which makes it hard to easily copy and paste a hostname. If you use a shell or ftp client a lot you know what I am talking about. Here is the script: | |
javascript:void( | |
function(){var u = window.location.hostname.replace(/^www\./,''); | |
window.prompt('Copy URL to Clipboard CMD/CTRL + C',u); | |
}() | |
); |
This file contains hidden or 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
#add alias | |
function newalias() { | |
echo alias $1=\"$2\" >> ~/.aliases | |
source ~/.bash_profile | |
} |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder