Skip to content

Instantly share code, notes, and snippets.

View goldmann's full-sized avatar
🤔
Ctrl+C Ctrl+V

Marek Goldmann goldmann

🤔
Ctrl+C Ctrl+V
View GitHub Profile
@xero
xero / irc.md
Last active May 3, 2024 23:19
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.
@HelloGrayson
HelloGrayson / fig.yml
Last active August 29, 2015 14:06
Run Mesos on Docker with Fig!
# This has since been improved and moved to: https://github.com/breerly/fig-mesos
# Cheers :)
#!/bin/bash
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"
exit 1
fi
# Make sure you have all dependencies:
# yum -y install libguestfs-tools virt-install
config_opts['root'] = 'fedora-rawhide-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'fc13' # only useful for --resultdir variable subst
#config_opts['createrepo_on_rpms'] = True
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
frontend-64 1.2.final: d4df29bd
frontend-32: 1.2.final: d8df29b1
appserver-64 1.2.final: a8df29c1
appserver-32: 1.2.final: c4df29ad
postgresql-64 1.2.final: d6df29bf
postgresql-32: 1.2.final: c2df29ab
developer-standalone-64 1.2.final: d2df29bb
@lance
lance / steamcannon-amis.txt
Created November 16, 2010 23:17
SteamCannon 1.2 AMIs
frontend-64 1.2.final: 0606f16f
frontend-32: 1.2.final: 6e05f207
appserver-64 1.2.final: ec06f185
appserver-32: 1.2.final: 7005f219
postgresql-64 1.2.final: ee06f187
postgresql-32: 1.2.final: 4c05f225
developer-standalone-64 1.2.final: f206f19b
@goldmann
goldmann / gist:651548
Created October 28, 2010 15:12
Ephemeral storage on EC2 instances running Fedora 13+
t1.micro:
Nothing
m1.small:
/dev/xvda3: 1GB
/dev/xvdb: 160GB
c1.medium:
[user]
email = tcrawley@gmail.com
name = Tobias Crawley
[push]
default = tracking
[github]
user = tobias
token = <redacted>
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
21:01 bobmcw: git fetch origin
21:01 bobmcw: git rebase origin/master
21:01 bobmcw: # test
21:01 bobmcw: git push origin master
21:01 bobmcw: avoids a merge commit
21:02 tcrawley: or add an alias to ~/.gitconfig: frebase = !git fetch && git rebase origin
# Auto-op
/msg chanserv flags #channel nick +O
# Register channel
/msg chanserv REGISTER #channel password description
# Add chanserv to channel
/msg chanserv set #channel guard on