# Install easyengine
curl -sL https://raw.githubusercontent.com/rtCamp/easyengine/stable/install.sh | sudo bash
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/sh | |
# Sending emails using Gmail and msmtp | |
# Author: [Josef Jezek](http://about.me/josefjezek) | |
# Donate: [Gittip](https://www.gittip.com/josefjezek) | |
# Link: [Gist](https://gist.github.com/6194563) | |
# Usage: setup-msmtp-for-gmail.sh | |
sudo apt-get update -q | |
sudo apt-get install msmtp-mta ca-certificates heirloom-mailx -yq |
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
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
#!/usr/bin/python | |
# http://www.packtpub.com/article/python-ldap-applications-ldap-opearations | |
# sudo apt-get install python-ldap | |
import ldap | |
host = 'ldap://example.com:389' | |
dn = 'ldap@example.com' |
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
# Bash Aliases for Ubuntu | |
# Install: curl https://gist.githubusercontent.com/josefjezek/9188977/raw -o ~/.bash_aliases | |
# Enable color support of ls and also add handy aliases | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
alias ls='ls -hF --color=auto' | |
#alias dir='dir --color=auto' | |
#alias vdir='vdir --color=auto' |
Install & Setup WordPress
Author: Josef Jezek
Install LAMP Server
Chrome's address bar doubles as a way to do a quick Google search, but you're not limited to searching Google. In that same bar, you can search any site or app.
This is great if you search specific apps frequently - for example, Gmail, Google Drive, or Twitter.
You can search any site without having to open it first, just like you don't have to go to google.com to search Google.
Type a keyword, hit space
or tab
, and you're good to go.