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
`javascript: alert(document.getElementsByTagName('html')[0].innerHTML);` |
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
*#DEVMODE# |
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
for(i=0;++i<101;console.log(i%5?x||i:x+'Buzz'))x=i%3?'':'Fizz' |
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
pip install --no-index -f https://dist.plone.org/thirdparty/ -U PIL |
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
1. Consider following these [committing rules](https://atom.io/docs/latest/contributing#git-commit-messages). I like to use these [emojis](http://www.emoji-cheat-sheet.com/): | |
* :memo: when adding a writeup to the `Write-up` section of a task | |
* :floppy_disk: when adding resources for a task, e.g. files or scripts | |
* :link: when adding a writeup link to the `Other write-ups and resources` section of a task | |
* :pill: when fixing broken or corrupt stuff | |
* :books: when updating the structure of this repo | |
* :fire: when deleting files |
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 very convenient feature of Curl is that if invoked with curl -n, it will try to read credentials | |
of a target service from a local .netrc file, and if found, use them for authentication. The trouble | |
is that these credentials default to being stored in plain text, which is something that we’d like to avoid by using GPG. | |
The first step here is to encrypt your .netrc: | |
$ gpg -r <your email> -e ~/.netrc | |
$ ls ~/.netrc.gpg | |
$ rm ~/.netrc | |
Now we can can pipe the decrypted output of our .netrc file from gpg, and have Curl read it in (this should go in your appropriate *rc file): |
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
domain | name | type | ||
---|---|---|---|---|
katyperry | katyperry.com | KATY PERRY | celebrity | |
justinbieber | smarturl.it | Justin Bieber | celebrity | |
taylorswift13 | grmypro.co | Taylor Swift | celebrity | |
rihanna | rihannanow.com | Rihanna | celebrity | |
ladygaga | The Countess | celebrity | ||
jtimberlake | justintimberlake.com | Justin Timberlake | celebrity | |
TheEllenShow | ellentube.com | Ellen DeGeneres | celebrity | |
britneyspears | britney.lk | Britney Spears | celebrity | |
Cristiano | Cristiano Ronaldo | celebrity |
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
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
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
<# | |
Running this script will make GUIDux (geoducks[gooey-ducks]) haha :/ | |
Last updated: 1984 | |
#> | |
([GUID]::NewGuid()).GUID |
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
/** | |
* Here's a turing machine that fits into a tweet with an example program. | |
* Original tweet: https://twitter.com/mrrrgn/status/630419814666780673 | |
* Gif: http://i.imgur.com/4t31zA2.gif | |
* Turing machines: https://www.youtube.com/watch?v=dNRDvLACg5Q | |
* | |
* Think this is neat? Consider following me for more computer silliness: | |
* twitter.com/mrrrgn or rss my blog linuxpoetry.com | |
**/ |
NewerOlder