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 | |
# | |
# This code is free software; you can redistribute it and/or modify it under | |
# the terms of the new BSD License. | |
# | |
# Copyright (c) 2010, Sebastian Staudt | |
# | |
# This is a simple example to demonstrate continuous integration on top of | |
# Git. | |
# |
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
# This code is free software; you can redistribute it and/or modify it under | |
# the terms of the new BSD License. | |
# | |
# Copyright (c) 2010, Sebastian Staudt | |
# A nano configuration file to enable syntax highlighting of some Git specific | |
# files with the GNU nano text editor (http://www.nano-editor.org) | |
# | |
# Save this file to a directory of your choice and add it to your nanorc using | |
# include ${PATH_TO_THE_FILE}/git.nanorc |
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
==> Build Environment | |
CC: /usr/bin/cc | |
CXX: /usr/bin/c++ | |
LD: /usr/bin/cc | |
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
MAKEFLAGS: -j2 | |
PATH: /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin | |
==> Downloading http://image_magick.veidrodis.com/image_magick/ImageMagick-6.6.1-5.tar.bz2 | |
File already downloaded and cached to /Users/koraktor/Library/Caches/Homebrew |
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/bash | |
# | |
# This code is free software; you can redistribute it and/or modify it under the | |
# terms of the new BSD License. | |
# | |
# Copyright (c) 2009, Sebastian Staudt | |
# | |
# This script takes all Git tags and displays them in a nicely ordered list with | |
# all changes between tags. | |
# If you do version bumping inside your code (e.g. Rakefile, pom.xml or |
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
<?php | |
// Be sure that the path is correct | |
require_once "/path/to/steam-condenser/lib/steam-condenser.php"; | |
// Add your server's IP address here ... | |
$ipAddress = new InetAddress("x.x.x.x"); | |
// ... and port number here | |
$portNumber = yyyyy; | |
$server = new GoldSrcServer($ipAddress, $portNumber); |
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
require 'converts_addresses' | |
class Host < ActiveRecord::Base | |
belongs_to :subnet | |
converts_addresses :ip | |
validates_presence_of :ip | |
validates_uniqueness_of :ip |
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
git stash # Stash changes if any | |
git symbolic-ref HEAD refs/heads/${NEW_BRANCH} # Change head to a new, non-existing ref | |
git rm -rf . # Delete files from version control and working directory | |
rm -r . # Delete files from file system | |
git commit --allow-empty -m "Created new branch ${NEW_BRANCH}" # Commit changes in the new branch |
NewerOlder