Skip to content

Instantly share code, notes, and snippets.

View moul's full-sized avatar
🌸
societal evolution engineer

Manfred Touron moul

🌸
societal evolution engineer
View GitHub Profile
@moul
moul / gist:c90724702e4e876b99ed
Created January 7, 2015 17:31
this is a test

test

  • 1
  • 2
  • 3
@moul
moul / fig.yml
Last active August 29, 2015 14:13
fig pathwar dev
portal:
build: portal.pathwar.net
ports:
- 8090:8090
- 35729:35729
#links:
#- "mock:api"
volumes:
- "portal.pathwar.net:/usr/src/app/"
environment:
@moul
moul / pathwar.json
Last active August 29, 2015 14:16
pathwar.json
➜ ~ clear; time http 'http://root-token:@localdocker.xxx:5000/organization-users?where={"user":"11cade63-e648-4fa2-b780-2597b642029d"}'
HTTP/1.0 200 OK
Content-Length: 1112
Content-Type: application/json
Date: Thu, 26 Feb 2015 18:39:30 GMT
Last-Modified: Tue, 24 Feb 2015 09:33:44 GMT
Server: Eve/0.5.1 Werkzeug/0.9.6 Python/2.7.9
{
"_items": [
@moul
moul / docker-compose.yml
Created April 14, 2015 13:55
docker-compose.yml example for moul/travis-docker
test:
image: busybox
command: /bin/sh -c 'sleep 2; echo "Hello World."'
@moul
moul / node-spawn-stdio.js
Last active August 29, 2015 14:19
node-spawn-stdio.js
process.stdout.isTTY;
require('child_process').spawn('ssh', 'localhost -t -- bash'.split(' '), {stdio: 'inherit'});
@moul
moul / boot-1.txt
Last active August 29, 2015 14:20
c1-bitrig.txt
��l�High speed PHY - Ver 2.0.0 (COM-PHY-V20)
DDR3 Training Sequence - Ver 4.0.0
DDR3 Training Sequence - Ended Successfully
Status = MV_OK
BootROM: Image checksum verification PASSED
U-Boot 2011.12 (Mar 23 2015 - 16:06:25) Marvell version: 2012_Q4.0p16
Board: RD-AXP-CUSTOMER
@moul
moul / 0_README.md
Last active August 29, 2015 14:21
Scaleway - XEN support

I'm trying to boot xen on Scaleway C1

I don't have any output on console after u-boot jumps on xen

The hardware console is ttyS0,9600n8

I'm using a xen image found in ubuntu's xen-hypervisor-4.5-armhf package (/boot/xen-4.5-armhf) converted to uImage using mkimage


@moul
moul / .config
Created May 28, 2015 22:26
Sekexe .config
#
# Automatically generated file; DO NOT EDIT.
# User Mode Linux/x86_64 3.8.13.4 Kernel Configuration
#
CONFIG_DEFCONFIG_LIST="arch/$ARCH/defconfig"
CONFIG_UML=y
CONFIG_MMU=y
CONFIG_NO_IOMEM=y
# CONFIG_TRACE_IRQFLAGS_SUPPORT is not set
CONFIG_LOCKDEP_SUPPORT=y
@moul
moul / 0-run.md
Last active August 29, 2015 14:23
create scaleway server with docker image on 150GB volume
$ scw -D run --name=docker-builder-6 --bootscript=docker --env="boot=live rescue_image=http://test-images.fr-1.storage.online.net/scw-app-docker-latest.tar" 150GB
DEBU[0000] Creating a new server
DEBU[0000] POST https://api.scaleway.com/volumes payload={"name":"150GB","size":150000000000,"volume_type":"l_ssd","organization":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}
DEBU[0000] POST https://api.scaleway.com/servers payload={"name":"docker-builder-6","volumes":{"0":"213efeb2-693e-4b20-8d10-0be5882b2bdc"},"bootscript":"1ee0aadf-fc5a-44fd-a48a-0e9dc4430ffb","tags":["boot=live","rescue_image=http://test-images.fr-1.storage.online.net/scw-app-docker-latest.tar"],"organization":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}
DEBU[0001] Created server: f03a08a8-f264-4135-bf43-3bc511fa7a40
DEBU[0001] Starting server
DEBU[0001] POST https://api.scaleway.com/servers/f03a08a8-f264-4135-bf43-3bc511fa7a40/action payload={"action":"poweron"}
DEBU[0002] Server is booting
DEBU[0002] Waiting for server to be ready