start new:
tmux
start new with session name:
tmux new -s myname
Preferences -> tools -> File watchers | |
// Program | |
vendor/path/to/phpcs | |
// Arguments | |
--standard=phpcs.xml --encoding=utf-8 $FilePath$ | |
// Working directory and environments variables | |
/path/to/your/project/dir |
// Chat server code from this blog post http://www.badgerr.co.uk/2011/06/20/golang-away-tcp-chat-server/ | |
package main | |
// Imports required packages | |
import "fmt" | |
import "net" | |
import "container/list" | |
import "bytes" | |
// Defines a Client with a name and connection object, and |
--- | |
- name: Load NRPE variables from Hiera | |
connection: local | |
hiera: path=lib/hiera/bin/hiera key="{{ item.value }}" fact="{{ item.key }}" source=hiera.yaml | |
args: | |
context: | |
environment: "{{ environment }}" | |
sitecode_lc: "{{ sitecode_lc }}" | |
with_dictionary: | |
nrpe_server_port: "nrpe_server_port" |
This playbook has been removed as it is now very outdated. |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
[ | |
{ "keys": ["ctrl+shift+x"], "command": "tidy_xml" }, | |
{ "keys": ["ctrl+shift+j"], "command": "prettify_json" } | |
] |
# Run me with: | |
# | |
# $ nginx -p /path/to/this/file/ -c nginx.conf | |
# | |
# All requests are then routed to authenticated user's index, so | |
# | |
# GET http://user:password@localhost:8080/_search?q=* | |
# | |
# is rewritten to: | |
# |