Skip to content

Instantly share code, notes, and snippets.

<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightDefault.html">
<link rel="import" href="../../salesforce/s1-elements/s1ListWithLabels.html">
<link rel="import" href="../../salesforce/s1-elements/s1CardEvent.html">
<link rel="import" href="../../salesforce/s1-elements/s1CardRelatedList.html">
<link rel="import" href="../../salesforce/s1-elements/s1CardTask.html">
<link rel="import" href="../../salesforce/s1-elements/s1CommentPublisherDefault.html">
#!/bin/sh
cat $1 | ssh <username>@i08fs1.ira.uka.de lpr -P pool-sw1
@Jupiterrr
Jupiterrr / heroku_deploy.rake
Created September 27, 2012 19:29 — forked from michaeldwan/heroku_deploy.rake
Simple Rake task for customizing deployment to Heroku
# List of environments and their heroku git remotes
ENVIRONMENTS = {
:staging => 'myapp-staging',
:production => 'myapp-production'
}
namespace :deploy do
ENVIRONMENTS.keys.each do |env|
desc "Deploy to #{env}"
task env do
@Jupiterrr
Jupiterrr / gist:2329193
Created April 7, 2012 14:01 — forked from sowenjub/gist:1033876
Quickly dump your heroku production database and load it locally
#!/bin/bash
# This script does the following:
# 1/ capture and download the latest backup
# 2/ load it to your local database
# 3/ run your app and open Safari
# Just replace any uppercase string with your own data
#
module Watchable
def events
@events ||= Hash.new { |h,k| h[k] = [] }
end
def fire event, *args
events[event].each { |e| e[*args] }
end
def on event, &block
@Jupiterrr
Jupiterrr / LICENSE.txt
Created August 22, 2011 15:51 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
[
{
_id: 15,
result: [
{
name: ["Berlin", "Deutschland"],
latlng: [50, 48]
},
...
]