Skip to content

Instantly share code, notes, and snippets.

@aler
aler / xcoderake.rb
Created March 6, 2009 16:04
rake file to build iPhone Xcode project using CruiseControl.rb
# rake file to build iPhone Xcode project using CruiseControl.rb
require 'rubygems'
require 'rake'
class FailedTestsException < Exception;end
class FailedBuildException < Exception;end
class FailedCleanException < Exception;end
task :default => 'test:all'
# isurvey simple server
require 'rubygems'
require 'sinatra'
require 'activerecord'
configure do
ActiveRecord::Base.establish_connection(
:adapter => 'sqlite3',
:database => 'isurvey.sqlite3')
#git ignore for XCode iPhone project
.DS_Store
*.swp
*~.nib
build/
*.pbxuser
*.perspective
@aler
aler / gist:583813
Created September 17, 2010 06:21
Run NUnit from VS.NET
' How to run NUnit inside visual studio on each successful build
' Go Tools -> Macros -> Macro IDE -> Project Explorer/EnvironmentEvents module
' Paste text bello
' see how to setup NUnit external command http://blog.rwendi.com/CategoryView,category,NUnit.aspx
Dim WasSuccess = True
Private Sub BuildEvents_OnBuildDone(ByVal Scope As EnvDTE.vsBuildScope, ByVal Action As EnvDTE.vsBuildAction) Handles BuildEvents.OnBuildDone
If WasSuccess = True Then
DTE.ExecuteCommand("Tools.ExternalCommand1")
@aler
aler / spec
Created November 27, 2010 22:51
node jasmine spec runner and watchr config file
#!/usr/bin/env node
// make it chmod +x and put it into ~/bin dir
require('jasmine');
var target = "";
if(process.argv[2]) {
target = process.argv[2]
@aler
aler / hello.md
Last active December 19, 2018 04:43

hello, Lera

hello, Lera

hello, Lera

hello, Lera

hello, Lera