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
| help: | |
| @echo "Please use \`make <target>' where <target> is one of" | |
| @echo " screencap To start recording screencaps and clean up yesterday's captures." | |
| @echo " cleanyesterday Just delete yesterday's captures." | |
| @echo " captoday Just start recording screencaps for today." | |
| screencap: | |
| ./remove_yesterday_recording.sh | |
| ./start_recording.sh |
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
| # BEGIN W3TC Browser Cache | |
| <IfModule mod_deflate.c> | |
| <IfModule mod_headers.c> | |
| Header append Vary User-Agent env=!dont-vary | |
| </IfModule> | |
| AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json | |
| <IfModule mod_mime.c> | |
| # DEFLATE by extension | |
| AddOutputFilter DEFLATE js css htm html xml | |
| </IfModule> |
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
| python-wordpress-xmlrpc==2.3 |
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
| # http://www.reddit.com/r/beginnerprojects/comments/19kxre/project_99_bottles_of_beer_on_the_wall_lyrics/ | |
| # GOAL | |
| # Create a program that prints out every line to the song "99 bottles of beer on the wall." This should be a pretty simple | |
| # program, so to make it a bit harder, here are some rules to follow. | |
| # RULES | |
| # If you are going to use a list for all of the numbers, do not manually type them all in. Instead, use a built in function. | |
| # Besides the phrase "take one down," you may not type in any numbers/names of numbers directly into your song lyrics. | |
| # Remember, when you reach 1 bottle left, the word "bottles" becomes singular. | |
| def amount_of_beer_in_words(bottles): | |
| if bottles == 1: |
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
| [ | |
| { | |
| "code": "AF", | |
| "value": 53, | |
| "name": "Afghanistan" | |
| }, | |
| { | |
| "code": "AL", | |
| "value": 117, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| /* | |
| Inject jQuery and animate.css into the current page and make the images bounce. | |
| jQuery: http://jquery.com/ | |
| animate.css: https://daneden.github.io/animate.css/ | |
| Using https://cdnjs.com/ to source scripts. | |
| */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| """ | |
| Exports Issues from a specified repository to a CSV file | |
| Uses basic authentication (Github username + password) to retrieve Issues | |
| from a repository that username has access to. Supports Github API v3. | |
| """ | |
| import csv | |
| import requests |