start new:
tmux
start new with session name:
tmux new -s myname
| :80 | |
| root /usr/src/wordpress | |
| gzip | |
| fastcgi / wordpress:9000 php | |
| rewrite { | |
| if {path} not_match ^\/wp-admin | |
| to {path} {path}/ /index.php?_url={uri} | |
| } | |
| log stdout | |
| errors stderr |
| !! Appearance | |
| urxvt.termName: rxvt-unicode | |
| urxvt.scrollBar: false | |
| urxvt.background: black | |
| urxvt.foreground: gray | |
| !! Font prefferenes | |
| urxvt.font: xft:DejaVu Sans Mono:pixelsize=13 | |
| urxvt.boldFont: xft:DejaVu Sans Mono:pixelsize=13:weight=bold | |
| urxvt.letterSpace: -1 | |
| !! Larger history limit |
| console.log('Loading function'); | |
| const https = require('https'); | |
| const url = require('url'); | |
| // to get the slack hook url, go into slack admin and create a new "Incoming Webhook" integration | |
| const slack_url = 'https://hooks.slack.com/services/...'; | |
| const slack_req_opts = url.parse(slack_url); | |
| slack_req_opts.method = 'POST'; | |
| slack_req_opts.headers = {'Content-Type': 'application/json'}; |
| Host * | |
| ServerAliveInterval 60 #Avoid disconnection | |
| StrictHostKeyChecking no #Disable SSH Host Key Checking | |
| UserKnownHostsFile /dev/null #avoid create the ssh/known_hosts file | |
| Host prod | |
| HostName xx.xx.xx.xx | |
| User root | |
| Host qa |
| ... | |
| TASK: [debug var=mydate] ****************************************************** | |
| ok: [localhost] => { | |
| "mydate": "20140605101824" | |
| } | |
| ... |
| echo 0 > /sys/fs/selinux/enforce | |
| #checking the status | |
| sestatus |
| stop all containers: | |
| sudo docker kill $(sudo docker ps -q) | |
| remove all containers | |
| sudo docker rm $(sudo docker ps -a -q) | |
| remove all docker images | |
| sudo docker rmi $(sudo docker images -q) | |
| remove all dangling (unused) images |
| FROM centos:7 | |
| MAINTAINER Ricardson Williams <[email protected]> | |
| RUN \ | |
| yum -y update \ | |
| && yum -y install \ | |
| tar \ | |
| which \ | |
| && yum clean all \ |
I use most Google Apps like Drive, Docs, Gmail...
1 - Install epel and nux repositories
sudo yum -y install epel-release && sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
1.1 Update the whole system