⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
[supervisord] | |
logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log) | |
logfile_maxbytes=25MB ; (max main logfile bytes b4 rotation;default 50MB) | |
logfile_backups=5 ; (num of main logfile rotation backups;default 10) | |
loglevel=info ; (log level;default info; others: debug,warn,trace) | |
pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid) | |
nodaemon=false ; (start in foreground if true;default false) | |
minfds=1024 ; (min. avail startup file descriptors;default 1024) | |
minprocs=200 ; (min. avail process descriptors;default 200) |
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 | |
INNOBACKUP="/root/percona-xtrabackup/innobackupex" | |
INNOBACKUP_OPTIONS="--defaults-file=/etc/my.cnf --ibbackup=/root/percona-xtrabackup/mysql-5.5/storage/innobase/xtrabackup/xtrabackup_innodb55 --parallel=4 --user=root --password=XXXXXXX" | |
BACKUPDIR="/var/sqlbackup/" | |
S3BUCKET="db_backup" | |
echo "Removing old local backups" | |
cd $BACKUPDIR |
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
This playbook has been removed as it is now very outdated. |
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
name "sshserver" | |
description "Configures SSH and enables SFTP" | |
run_list( | |
"recipe[openssl::default]", | |
"recipe[openssh]", | |
) | |
default_attributes( | |
"openssh" => { | |
"server" => { | |
"subsystem" => "sftp /usr/lib/openssh/sftp-server" # path for Ubuntu; ymmv |
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
# Use PHP 5.4 | |
apt_repository "php54" do | |
uri "http://ppa.launchpad.net/ondrej/php5/ubuntu" | |
distribution node['lsb']['codename'] | |
components ["main"] | |
keyserver "keyserver.ubuntu.com" | |
key "E5267A6C" | |
end |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
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 | |
sudo kextload -r "/Library/Extensions/" "/Library/Extensions/VBoxDrv.kext" | |
sudo kextload -r "/Library/Extensions/" "/Library/Extensions/VBoxNetFlt.kext" | |
sudo kextload -r "/Library/Extensions/" "/Library/Extensions/VBoxNetAdp.kext" | |
sudo kextload -r "/Library/Extensions/" "/Library/Extensions/VBoxUSB.kext" |
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
Show hidden characters
{ | |
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?" | |
} |
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
curl --data "room_id=99999" --data "from=EEWebsiteBot" --data-urlencode "message=Event Espresso staging servers (beta and dev) have been deployed to" --data "message_format=text" --data "notify=1" --data "color=purple" https://api.hipchat.com/v1/rooms/message?auth_token=obsfucated_api_token | |
##So the room_id corresponds to what room you want the notifications go to and the auth token is the api key you generate via the group admin in HipChat (web). |
OlderNewer