Skip to content

Instantly share code, notes, and snippets.

Avatar

Oddur Magnusson oddurmagg

  • Klang Games
  • Berlin
View GitHub Profile
View config-my-mac.sh
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
View keybase.md

Keybase proof

I hereby claim:

  • I am oddurmagg on github.
  • I am oddur (https://keybase.io/oddur) on keybase.
  • I have a public key whose fingerprint is 3A6D C64C 1AB6 BB0F 0368 DA02 08D6 6984 0961 BAAD

To claim this, I am signing this object:

@oddurmagg
oddurmagg / p4backup.sh
Last active Aug 29, 2015
Backup Perforce Server To Amazon S3
View p4backup.sh
#!/bin/bash
BACKUP_DIR=/home/perforce/backup
DEPOT_DIR=/perforce_depot
P4=/usr/local/bin/p4
HOST=localhost:1666
USER=root
S3BUCKET=s3://your-perforce-backups
export P4PASSWD=XXXX