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 os | |
import sys | |
# Install venv by `virtualenv --distribute venv` | |
# Then install depedencies: `source venv/bin/active` | |
# `pip install -r requirements.txt` | |
activate_this = '/var/www/apache/csshat.com/csshat.com/venv/bin/activate_this.py' | |
execfile(activate_this, dict(__file__=activate_this)) | |
path = os.path.join(os.path.dirname(__file__), os.pardir) |
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
Verifying that +mcfate is my blockchain ID. https://onename.com/mcfate |
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
$ youtube-dl http://www.ted.com/talks/barry_schwartz_on_the_paradox_of_choice | |
[ted] barry_schwartz_on_the_paradox_of_choice: Downloading webpage | |
[ted] barry_schwartz_on_the_paradox_of_choice: Extracting information | |
[ted] barry_schwartz_on_the_paradox_of_choice: Downloading m3u8 information | |
Traceback (most recent call last): | |
File "/Users/mcfate/anaconda/lib/python2.7/runpy.py", line 162, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/Users/mcfate/anaconda/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> |
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 | |
# -------------------------------- | |
# Totally Simple Web Server (TSWS) | |
# -------------------------------- | |
# | |
# (c) 2015 Dave Fletcher | |
# All Rights Reserved | |
# | |
# This is free and unencumbered software released into the public domain. |
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
<?php | |
// This example uses a fork of the OAuthSimple library for PHP | |
// found here: https://github.com/tonefolder/oauthsimple/tree/master/php | |
// | |
// For more information about the OAuth process for applications | |
// accessing Discogs API, read: | |
// http://www.discogs.com/developers | |
require 'oauth.php'; | |
$oauthObject = new OAuthSimple(); | |
$scope = 'http://api.discogs.com'; |
NewerOlder