Skip to content

Instantly share code, notes, and snippets.

View ralfschimmel's full-sized avatar
:octocat:

Ralf Schimmel ralfschimmel

:octocat:
  • Gynzy
  • Nijmegen, the Netherlands
View GitHub Profile
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from https://discovery.etcd.io/new
discovery: https://discovery.etcd.io/5177ad19e40c9ea1321a89cd5960ee11
# multi-region and multi-cloud deployments need to use $public_ipv4
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
units:
SYSLINUX 6.03 6.03-pre9 Copyright (C) 1994-2014 H. Peter Anvin et al
boot:
Loading vmlinuz-boot_kernel... ok
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.1+ (buildbot@ip-10-221-137-94) (gcc version 4.6.3 (Gentoo Hardened 4.6.3 p1.13, pie-0.5.2) ) #2 SMP Wed May 7 22:37:05 UTC 2014
[ 0.000000] Command line: BOOT_IMAGE=vmlinuz-boot_kernel console=ttyS0,115200n8 console=tty0 ro noswap cros_legacy root=LABEL=ROOT rootflags=subvol=root usr=gptprio:
[ 0.000000] e820: BIOS-provided physical RAM map:
#cloud-config
coreos:
update:
group: onderwijs
server: https://topicus.update.core-os.net/v1/update/
fleet:
metadata: host=MSJL007
etcd2:
discovery: https://discovery.etcd.io/e275fbabe45188f1246d8fc16282cc39
@ralfschimmel
ralfschimmel / cloud-init.yml
Last active August 29, 2015 14:22
Cloud-Init
#cloud-config
coreos:
update:
group: onderwijs
server: https://topicus.update.core-os.net/v1/update/
fleet:
metadata: host=MSJL007
etcd2:
discovery: https://discovery.etcd.io/e275fbabe45188f1246d8fc16282cc39
@ralfschimmel
ralfschimmel / gist:1080339
Created July 13, 2011 13:59
Make a scrollview draggable to left and right
/*globals App */
App.DragView = SC.ScrollView.extend({
backgroundColor: 'black',
touchStart: function(touch) {
var f = this.get("frame");
this._touch = {
start: {
x: touch.pageX,
@ralfschimmel
ralfschimmel / collection_view_should_respond_to_test_event.js
Created November 24, 2011 11:39
Failtest sproutcore childview in collectionview
require('sproutcore');
require('sproutcore-touch');
var set = SC.set, get = SC.get;
var tapEndWasCalled = true;
module("Touching handlebars tests", {
setup: function() {
console.group(' - Setup for new test');
@ralfschimmel
ralfschimmel / addActor.js
Created November 28, 2011 10:05
saving newly created nested records to a relation
addActor: function() {
........
var actor = this.actorNestedStore.createRecord(Bw.AssignmentActor, {});
this.newActors.pushObject(actor);
............
}
{{#view Luh.Ui.TabMainView currentView="pane1"}}
{{#view Luh.Ui.TabPaneView id="pane1" class="content" viewName="pane1"}}
{{/view}}
{{#view Luh.Ui.TabPaneView id="pane2" class="content" viewName="pane2"}}
{{/view}}
@ralfschimmel
ralfschimmel / carousel_view.js
Created January 16, 2012 16:10 — forked from ppcano/carousel_view.js
Ember Touch ScrollView without iScroll, and using movejs for transfomations.
@ralfschimmel
ralfschimmel / gist:1783247
Created February 9, 2012 21:10
Buildfile Thoth-client
config :all, :required => [:sproutcore,"sproutcore/animation", "sproutcore/datastore", :ThothSC]
proxy "/thoth",
:to => "fungi.no.de:9090",
# :secure => true, # Use https
:timeout => 25 # Longer timeout for polling transports