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
@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
#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
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:
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:
{"links":[{"target":1,"source":0},{"target":2,"source":0},{"target":3,"source":0},{"target":4,"source":0},{"target":5,"source":0},{"target":6,"source":0},{"target":7,"source":0},{"target":8,"source":0},{"target":9,"source":0},{"target":10,"source":0},{"target":11,"source":0},{"target":12,"source":0},{"target":13,"source":0},{"target":14,"source":0},{"target":15,"source":0},{"target":16,"source":0},{"target":17,"value":22,"source":0},{"target":18,"value":24,"source":0},{"target":19,"value":28,"source":0},{"target":20,"value":19,"source":0},{"target":21,"value":19,"source":0},{"target":22,"value":26,"source":0},{"target":23,"value":28,"source":0},{"target":25,"source":24},{"target":26,"source":24},{"target":27,"source":24},{"target":28,"source":24},{"target":29,"source":24},{"target":30,"source":24},{"target":31,"source":24},{"target":32,"source":24},{"target":33,"source":24},{"target":34,"source":24},{"target":35,"value":1,"source":24},{"target":36,"value":12,"source":24},{"target":23,"value":1,"source":24},{"
@ralfschimmel
ralfschimmel / a.a
Last active December 16, 2015 17:08 — forked from d3noob/.block
Test scholen
a
@ralfschimmel
ralfschimmel / gist:1901495
Created February 24, 2012 15:05
Ember double each4
{{#each rows}}
<tr style="background-color: red;">
{{#each this}}
<td>{{this}}</td>
{{/each}}
</tr>
{{/each}}
@ralfschimmel
ralfschimmel / Assetfile
Created February 23, 2012 20:33
ember-skeleton QUnit
#Add this to you asset file
match 'tests/**/*.js' do
filter LoaderFilter,
:module_id_generator => proc { |input|
input.path.sub(/^lib\//, "#{APPNAME}/").sub(/\.js$/, '')
}
concat 'yourlib-tests.js'
end
@ralfschimmel
ralfschimmel / gist:1783252
Created February 9, 2012 21:11
datasource
Bw.ThothDataSourceStaging = ThothSC.DataSource.extend({
connectUsing: ThothSC.SOCKETIO,
ThothHost: 'fungi.no.de',
ThothPort: '9090',
sendComputedProperties: false,
sendProperties : true,
sendRelations: true,
combineReturnCalls: true,
logTraffic:false
});
@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