With Puppet:
puppet module install rtyler-jenkins
puppet apply -v -e "include jenkins"
from redis import Redis | |
import simplejson | |
class Resque(object): | |
"""Dirt simple Resque client in Python. Can be used to create jobs.""" | |
redis_server = 'localhost:6379' | |
def __init__(self): | |
host, port = self.redis_server.split(':') | |
self.redis = Redis(host=host, port=int(port)) |
html, body { | |
background-color: black; | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
} | |
canvas { | |
display: block; | |
margin: 0; |
source :rubygems | |
gem 'sinatra', '~> 1.3.3' | |
gem 'json', '~> 1.7.5' | |
gem 'restforce', '~> 1.0.5' | |
gem 'thin', '~> 1.5.0' | |
group :development do | |
gem 'shotgun', '~> 0.9' | |
gem 'tunnels', '~> 1.2.2' |
import org.apache.poi.ss.usermodel.* | |
import org.apache.poi.hssf.usermodel.* | |
import org.apache.poi.xssf.usermodel.* | |
import org.apache.poi.ss.util.* | |
import org.apache.poi.ss.usermodel.* | |
import java.io.* | |
class GroovyExcelParser { | |
//http://poi.apache.org/spreadsheet/quick-guide.html#Iterator |
This document is a travel guide to RubyMotion's first conference, #inspect 2013.
http://www.rubymotion.com/conference
If you are attending or considering attending the conference, you might find here some handy tips that will answer questions you might have. If you have a question that isn't answered here, feel free to contact us and we will update this document accordingly.
// | |
// StickyHeaderLayout.h | |
// Wombat | |
// | |
// Created by Todd Laney on 1/9/13. | |
// Copyright (c) 2013 ToddLa. All rights reserved. | |
// | |
// Modified from http://blog.radi.ws/post/32905838158/sticky-headers-for-uicollectionview-using THANKS! | |
// |
desc "Create a new version tag and push a new podspec" | |
task :release do | |
require 'cocoapods' | |
require 'colored' | |
version = Pod::Specification.from_file(Pathname.pwd + 'MyLib.podspec').version | |
puts "Releasing version `#{version}'. Is that correct? (y/n)" | |
if $stdin.gets.strip.downcase == 'y' | |
sh "git tag -a #{version} -m 'Release #{version}'" | |
sh "git push --tags" | |
sh "pod lint" |
// | |
// StickyHeaderLayout.h | |
// Wombat | |
// | |
// Created by Todd Laney on 1/9/13. | |
// Copyright (c) 2013 ToddLa. All rights reserved. | |
// | |
// Modified from http://blog.radi.ws/post/32905838158/sticky-headers-for-uicollectionview-using THANKS! | |
// |
_ = require("underscore") | |
Parse.Cloud.beforeSave "Post", (request, response) -> | |
required_fields = [ | |
"title", | |
"author", | |
"body" | |
] | |
errors = [] |