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 should work on at least:
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 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
In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel
console.log('Loading event'); | |
var aws = require('aws-sdk'); | |
var s3 = new aws.S3({apiVersion: '2006-03-01'}); | |
exports.handler = function(event, context) { | |
// uses s3.listBuckets to fetch the canonical ID of the AWS account | |
s3.listBuckets(function(err,data) { | |
if (err) { | |
console.log(err, err.stack); | |
} else { |
#!/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." |
$ curl -s -H "X-Something: yeah" localhost:8000 > /dev/null
$ python serv.py
ERROR:root:User-Agent: curl/7.37.1
Host: localhost:8000
Accept: */*
X-Something: yeah
#!/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", |