create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
SSH_ENV="$HOME/.ssh/environment" | |
# start the ssh-agent | |
function start_agent { | |
echo "Initializing new SSH agent..." | |
# spawn ssh-agent | |
ssh-agent | sed 's/^echo/#echo/' > "$SSH_ENV" | |
echo succeeded | |
chmod 600 "$SSH_ENV" | |
. "$SSH_ENV" > /dev/null |
#!/bin/bash | |
#### | |
# Split MySQL dump SQL file into one file per table | |
# based on http://blog.tty.nl/2011/12/28/splitting-a-database-dump | |
#### | |
if [ $# -lt 1 ] ; then | |
echo "USAGE $0 DUMP_FILE [TABLE]" | |
exit |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
NB: The following examples where done on Puppet Enterprise 3.0 running on Centos 6. Should be similar for open source versions, except for some file locations.
The easiest way to snoop around in de actual PuppetDB postgres database is using the command prompt. You have to be the peadmin user though. Couldn't get it working just under root.
[root@master bin]# sudo su - pe-postgres -s /bin/bash
-bash-4.1$ /opt/puppet/bin/psql
psql (9.2.4)
Type "help" for help.
#!/usr/bin/python | |
from variety.plugins.IQuoteSource import IQuoteSource | |
import subprocess, re | |
from locale import gettext as _ | |
class FortuneSource(IQuoteSource): | |
@classmethod | |
def get_info(cls): | |
return { |
[ssh_connection] | |
ssh_args = -F ssh.cfg | |
control_path = ~/.ssh/mux-%r@%h:%p |
# i3status configuration file. | |
# see "man i3status" for documentation. | |
# It is important that this file is edited as UTF-8. | |
# The following line should contain a sharp s: | |
# ß | |
# If the above line is not correctly displayed, fix your editor first! | |
general { |
domain | name | type | ||
---|---|---|---|---|
katyperry | katyperry.com | KATY PERRY | celebrity | |
justinbieber | smarturl.it | Justin Bieber | celebrity | |
taylorswift13 | grmypro.co | Taylor Swift | celebrity | |
rihanna | rihannanow.com | Rihanna | celebrity | |
ladygaga | The Countess | celebrity | ||
jtimberlake | justintimberlake.com | Justin Timberlake | celebrity | |
TheEllenShow | ellentube.com | Ellen DeGeneres | celebrity | |
britneyspears | britney.lk | Britney Spears | celebrity | |
Cristiano | Cristiano Ronaldo | celebrity |
Using Apple’s Aerial Screensavers on Ubuntu After coming across the [Aerial] (https://github.com/JohnCoates/Aerial) screensavers for Mac, and installing them, I decided that I had had enough of the graphics-demos of my Ubuntu Precise system. I hope to provide a simple guide on how to add them to your setup as well.
First, you need to install xscreensaver (for example with aptitude, but your distro should have it):
sudo aptitude install xscreensaver
$ uname -r