sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminatorTerminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Zabbix SMTP Alert script for gmail. | |
| """ | |
| import sys | |
| import smtplib | |
| from email.MIMEText import MIMEText | |
| from email.Header import Header |
| #!/usr/bin/env sh | |
| for p in $(opkg list-upgradable); do | |
| if [ "$p" != "-" ]; then | |
| if [ "$(echo ${p:0:1} | sed -e 's/[0-9]//')" != "" ]; then | |
| echo "upgrading $p" | |
| opkg upgrade $p | |
| fi | |
| fi | |
| done |
| #!/bin/sh | |
| # EDIT this | |
| [email protected] | |
| PASSWORD=yoursecret | |
| DOMAIN=example.dnsd.me | |
| IP=`curl --silent http://myip.dnsdynamic.com/` | |
| curl --silent --user "$EMAIL:$PASSWORD" -k "https://www.dnsdynamic.org/api/?hostname=$DOMAIN&myip=$IP" |
| # Install tmux on Centos release 6.5 | |
| # http://superuser.com/questions/738829/attempting-to-install-tmux-on-centos-6-4-or-centos-6-5-fails-with-error-evbuff | |
| # | |
| # READ THIS FIRST!!! | |
| # MAKE SURE YOU HAVE BUILD TOOLS/COMPILERS TO BUILD STUFF FROM SOURCES | |
| # yum groupinstall "Development Tools" | |
| # CD TO TEMPORARY DIRECTORY |
| KEY=XXXXXXXXXXXX | |
| HOST="https://metrics.crisidev.org" | |
| mkdir -p dashboards && for dash in $(curl -k -H "Authorization: Bearer $KEY" $HOST/api/search\?query\=\& |tr ']' '\n' |cut -d "," -f 5 |grep slug |cut -d\" -f 4); do | |
| curl -k -H "Authorization: Bearer $KEY" $HOST/api/dashboards/db/$dash > dashboards/$dash.json | |
| done |
| ./configure --with-features=huge \ | |
| --enable-multibyte \ | |
| --enable-python3interp=yes \ | |
| --with-python3-config-dir=/usr/bin/python3-config \ | |
| --enable-gui=gtk2 \ | |
| --enable-cscope \ | |
| --enable-fail-if-missing \ | |
| --prefix=/usr/local |
| { | |
| "globals" : | |
| { | |
| "alwaysShowTabs" : true, | |
| "copyOnSelect" : false, | |
| "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", | |
| "initialCols" : 120, | |
| "initialRows" : 30, | |
| "keybindings" : | |
| [ |
| #!/usr/bin/env python | |
| """ | |
| Django SECRET_KEY generator. | |
| """ | |
| from django.utils.crypto import get_random_string | |
| chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)' |