Fixed by @williamtsoi1 at: https://gist.github.com/williamtsoi1/104531c65852a852399a3dc1096a2dcc
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
#!/usr/bin/env python | |
# https://gist.github.com/joech4n/1b3d394ceb8b776f06d7 | |
import os | |
import sys | |
import subprocess | |
import argparse | |
import ConfigParser | |
import shlex |
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
#!/usr/bin/env python | |
# Latest copy of this will be found at https://gist.github.com/joech4n/3c2e79b440655e77f692 | |
import argparse | |
import boto | |
import sys | |
parser = argparse.ArgumentParser(description='Generate an S3 signed URL') | |
parser.add_argument('bucket', help='bucket name') | |
parser.add_argument('key', help='prefix/key') |
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
#!/usr/bin/env python | |
import argparse | |
import ConfigParser | |
parser = argparse.ArgumentParser() | |
parser.add_argument("-c", "--conf_file", | |
help="Specify config file", metavar="FILE", default=os.path.expanduser('~') + '/.' + os.path.basename(__file__))) | |
args, remaining_argv = parser.parse_known_args() | |
defaults = { | |
"option1" : "some default", |
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
#!/usr/bin/env python | |
# Requires config file at ~/.burl.py: | |
# [Defaults] | |
# login = MYLOGINNAMEHERE | |
# key = MYTOKENHERE | |
# Shortens URL via Bit.ly | |
# Input: URL from clipboard OR CLI argument | |
# Action: The shortened URL is put on the clipboard, ready for pasting. You'll be notified via growlnotify that your link is ready. |
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
#!/usr/bin/ruby | |
require 'csv' | |
require 'erb' | |
require 'cgi' | |
if ARGV.length == 2 | |
input_csv = ARGV[0] | |
output_te = ARGV[1] | |
unless output_te =~ /\.textexpander$/ | |
puts "Second argument must have a '.textexpander' extension." |
This should work on at least:
- 10.9 Mavericks
- 10.10 Yosemite
Taken from Using MacOSX Lion command line mail with Gmail as SMTP
Edit file /etc/postfix/main.cf
and add this to the bottom:
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
load 'alfred_feedback.rb' | |
require 'logger' | |
require 'uri' | |
# Set up logging | |
file = File.open('/tmp/alfred-workflow-gcalc.log', File::WRONLY | File::APPEND | File::CREAT) | |
logger = Logger.new(file) | |
logger.level = Logger::WARN | |
#logger.level = Logger::DEBUG # Uncomment this for debug output |
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
# Created with the following resources | |
# http://www.alfredforum.com/topic/37-feature-request-run-javascriptnodejs-scripts/#entry2262 | |
# https://github.com/lrrfantasy/alfred-feedback-xml-generation/#nodejs | |
# Bootstrapped workflow here is probably better: https://github.com/giangvo/alfred-workflow-nodejs | |
/usr/local/bin/node <<-'CODE' | |
try { | |
var query = "{query}"; |
This is my constantly updated CS:GO autoexec config.
Put the files autoexec.cfg and video.txt in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg
or take what you want from it and add to your autoexec config!
-novid -high -tickrate 128 -nojoy -nod3d9ex +violence_hblood 0 +exec autoexec.cfg
OlderNewer