(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| curl -XPUT 'http://localhost:9200/us/user/1?pretty=1' -d ' | |
| { | |
| "email" : "john@smith.com", | |
| "name" : "John Smith", | |
| "username" : "@john" | |
| } | |
| ' | |
| curl -XPUT 'http://localhost:9200/gb/user/2?pretty=1' -d ' | |
| { |
| ### Install OpenJDK | |
| cd ~ | |
| sudo apt-get update | |
| sudo apt-get install openjdk-7-jre-headless -y | |
| ### Download and Install ElasticSearch | |
| ### Check http://www.elasticsearch.org/download/ for latest version of ElasticSearch and replace wget link below | |
| wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.1.deb | |
| sudo dpkg -i elasticsearch-1.3.1.deb |
| $this->Model->getDataSource()->getLog(false, false); |
| git branch --merged master | grep -v 'master$' | xargs git branch -d |
| <html> | |
| <head> | |
| <style type="text/css"> | |
| table table { | |
| width: 600px !important; | |
| } | |
| table div + div { /* main content */ | |
| width: 65%; | |
| float: left; | |
| } |
| git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch reallylargefile.big' --prune-empty --tag-name-filter cat -- --all |
| rds-modify-db-parameter-group {param-group-name} \ | |
| --parameters="name=character_set_server, value=utf8, method=pending-reboot" \ | |
| --parameters="name=collation_server, value=utf8_general_ci, method=pending-reboot" \ | |
| --parameters="name=tmp_table_size, value={DBInstanceClassMemory/16}, method=pending-reboot" \ | |
| --parameters="name=max_heap_table_size, value={DBInstanceClassMemory/16}, method=pending-reboot" \ | |
| --parameters="name=query_cache_type, value=1, method=pending-reboot" \ | |
| --parameters="name=query_cache_size, value=131072, method=pending-reboot" \ | |
| --parameters="name=table_open_cache, value=2500, method=pending-reboot" \ | |
| --parameters="name=join_buffer_size, value={DBInstanceClassMemory/64}, method=pending-reboot" \ | |
| --parameters="name=thread_cache_size, value={DBInstanceClassMemory/12582880}, method=pending-reboot" \ |
| <?php | |
| // Variables used in this script: | |
| // $summary - text title of the event | |
| // $datestart - the starting date (in seconds since unix epoch) | |
| // $dateend - the ending date (in seconds since unix epoch) | |
| // $address - the event's address | |
| // $uri - the URL of the event (add http://) | |
| // $description - text description of the event | |
| // $filename - the name of this file for saving (e.g. my-event-name.ics) | |
| // |