Taken from Using MacOSX Lion command line mail with Gmail as SMTP
Edit file /etc/postfix/main.cf
sudo vim /etc/postfix/main.cf
<?php | |
interface Request1 extends BaseRequest | |
{ | |
function getParam10(); | |
function getParam11(); | |
} | |
interface Request2 extends BaseRequest | |
{ | |
function getParam20(); | |
function getParam21(); |
var i = 0; | |
var a = document.getElementsByClassName('dob_saver'); | |
for (var i = 0; i < a.length; i++) { | |
(function(ii) { | |
setTimeout(function() { a[ii].click(); console.log(ii); }, ii * 2000); | |
})(i); | |
} |
Taken from Using MacOSX Lion command line mail with Gmail as SMTP
Edit file /etc/postfix/main.cf
sudo vim /etc/postfix/main.cf
-- tell application "System Events" | |
-- set position of front window of application process "iTerm" to {590, 290} | |
-- end tell | |
tell application "iTerm" | |
activate | |
tell current terminal | |
set number of columns to 120 | |
set number of rows to 30 | |
interface "enp0s20u2" { | |
send dhcp-client-identifier ac:7f:3e:e6:76:55; | |
} | |
inteface "secondary" "enp0s20u2" { | |
send dhcp-client-identifier ac:7f:3e:e6:76:55:01; | |
} |
sudo route -n add 172.17.0.0/16 `boot2docker ip` |
### transport/30_exim4-config_remote_smtp | |
################################# | |
# This transport is used for delivering messages over SMTP connections. | |
DKIM_DB_FILE = /etc/exim4/dkim_lookup.db | |
DKIM_DOMAIN = ${lc:${domain:$h_from:}} | |
DKIM_FILE = /etc/exim4/dkim/${lookup{DKIM_DOMAIN_key}lsearch{DKIM_DB_FILE}} | |
DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}} | |
DKIM_SELECTOR = ${lookup{DKIM_DOMAIN_selector}lsearch{DKIM_DB_FILE}} |
find ./ -name "*.php" -exec php -l {} \; | grep -v "No syntax" |
<?php | |
// class User.php | |
namespace Billing; | |
class User { | |
... | |
} |
$ convert f4cf6efd198523859819d78c333b63d7.jpg -bordercolor white -border 1x1 -alpha set -channel RGBA -fuzz 1% -fill none -floodfill +0+0 white -shave 1x1 coin.png | |
$ convert coin.png \( +clone -background black -shadow 80x3+5+5 \) +swap -background none -layers merge +repage coin.png |