In order to send messages through a Gmail account (also applicable to Google Apps accounts) add the following parts to your config files:
Files:
- config/environments/production.rb
- config/gitlab.yml
<?php | |
// Fix: cURL/Guzzle body parameters may not start with @, see: https://bugs.php.net/bug.php?id=50060 | |
foreach ($body as $key => $value) { | |
if (is_string($value) && substr($value, 0, 1) == '@') { | |
$body[$key] = ' ' . $value; | |
} | |
} |
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleURLName</key> | |
<string>io.pillow.app</string> | |
<key>CFBundleURLSchemes</key> | |
<array> | |
<string>pillowapp</string> | |
</array> | |
</dict> |
alias mysqlstart='mysql.server start' | |
alias mysqlstop='mysql.server stop' | |
alias pyxtra='/Users/peter/projects/github/pyxtra/venv/bin/python /Users/peter/projects/github/pyxtra/pyxtra.py' | |
alias shrt='/Users/peter/projects/github/shrt/venv/bin/python /Users/peter/projects/github/shrt/shrt.py' | |
alias pman='man -t $* | ps2pdf - - | open -g -f -a /Applications/Preview.app' | |
alias mate='subl -w' |
{ | |
"auto_complete": false, | |
"close_windows_when_empty": false, | |
"save_on_focus_lost": true, | |
"color_scheme": "Packages/User/Tomorrow-Night.tmTheme", //https://github.com/chriskempson/tomorrow-theme/tree/master/textmate | |
"draw_white_space": "all", | |
"find_selected_text": true, | |
"fold_buttons": false, | |
"font_options": | |
[ |
# Modify this configs with your credentials. See requirements.txt for required packages | |
DB_PATH = '/path/to/memonic.db' | |
ZT_USER = 'user' | |
ZT_PASS = 'pass' | |
ZT_API_KEY = '8e3f989331c3d687a75b96d9e5505008' | |
from pyzootool import controller | |
import sqlite3 |
# Modify this configs with your credentials. See requirements.txt for required packages | |
DRIBBBLE_USER = 'DRIBBBLE_USERNAME' | |
ZT_USER = 'ZOOTOOL_USERNAME' | |
ZT_PASS = 'ZOOTOOL_PASSWORD' | |
ZT_TAGS = 'dribbble' | |
# Zootool API key | |
ZT_API_KEY = 'cb866ea010a668687ff92cdb4733f161' | |
from pyzootool import controller |
import requests | |
API_KEY = 'key' | |
USER = 'user' | |
PASS = 'pass' | |
params = {'url': 'http://www.google.com', 'title': 'Google', 'apikey': API_KEY, 'login':'true'} | |
r = requests.get('http://zootool.com/api/add/', params=params, auth=(USER, PASS, 'digest')) | |
print r.status_code | |
print r.content |
164 git | |
81 python | |
45 sudo | |
41 ls | |
22 cd | |
20 mate | |
20 brew | |
17 rm | |
11 md5 | |
9 pyxtra |
#!/bin/sh | |
SOURCEDIR="/Volumes" | |
DESTDIR="/Users/peter/Dropbox/HSR" | |
mounts=( | |
"//pmanser@c206.hsr.ch/skripte /Volumes/skripte" | |
"//pmanser@c206.hsr.ch/ebooks /Volumes/ebooks" | |
) |