Skip to content

Instantly share code, notes, and snippets.

task abc (type:Exec) {
String clientDir = project.buildscript.sourceFile.getParent()
String version = new File("${clientDir}/Assets/Resources/version.txt").text
String buildDir = "${clientDir}/Build/${version}"
commandLine "/bin/customtool", "${buildDir}/artifact"
}
#!/usr/bin/perl
# cribbed from the iTunes 9 installer, with some modifications
# TODO: localize (somehow)
###################################################################################################
my $SYSTEM_VERS = "/System/Library/CoreServices/SystemVersion.plist";
my $EXIT_VALUE = 0;
###################################################################################################
@implementation NSString (HexStuff)
- (NSUInteger)hexValue
{
NSUInteger i = 0;
// -- strip leading #
if( [self hasPrefix:@"#"] )
i++;
amrox$ ssh git@github.com
PTY allocation request failed on channel 0
ERROR: Hi amrox! You've successfully authenticated, but GitHub does not provide shell access
amrox$ git pull origin master
Permission denied (publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedl
amrox$ nanoc2 create_page --template=article 2010-12-7
+----------------------------------------------------------------------------+
| WARNING: nanoc 2.x has been superseded by nanoc 3.x and is no longer main- |
| tained. There will be no future updates to nanoc 2.x. Consider upgrading |
| to nanoc 3.x. For more information, see the nanoc 2.x-to-3.x migration |
| guide at <http://nanoc.stoneship.org/migrating/>. |
+----------------------------------------------------------------------------+
ERROR: An exception occured while loading this site.
hi
ModelRemoteAdaptor.h
rights
scheduledTimerWithTimeInterval