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 / 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
@moul
moul / gist:5f05470d3295c9e1c832
Created July 31, 2015 10:52
systemd debian jessie
[ 35.668159] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 35.828042] systemd[1]: Detected architecture 'arm'.
[ 35.890074] systemd[1]: Failed to insert module 'autofs4'
Welcome to D[ 35.955940] systemd[1]: Failed to insert module 'ipv6'
ebian GNU/Linux [ 36.034481] systemd[1]: Set hostname to <kickass-galileo>.
8 (jessie)!
[ 36.255114] systemd[1]: Starting Network is Online.
[ OK [ 36.313936] systemd[1]: Reached target Network is Online.
@moul
moul / alpine.md
Last active August 29, 2015 14:28
initrd buffering issue ?
Welcome to Scaleway' initrd            http://j.mp/scw-initrd-linux

███████╗ ██████╗ █████╗ ██╗     ███████╗██╗    ██╗ █████╗ ██╗   ██╗
██╔════╝██╔════╝██╔══██╗██║     ██╔════╝██║    ██║██╔══██╗╚██╗ ██╔╝
███████╗██║     ███████║██║     █████╗  ██║ █╗ ██║███████║ ╚████╔╝
╚════██║██║     ██╔══██║██║     ██╔══╝  ██║███╗██║██╔══██║  ╚██╔╝
███████║╚██████╗██║  ██║███████╗███████╗╚███╔███╔╝██║  ██║   ██║
╚══════╝ ╚═════╝╚═╝  ╚═╝╚══════╝╚══════╝ ╚══╝╚══╝ ╚═╝  ╚═╝   ╚═╝
@moul
moul / main.go
Created August 24, 2015 19:38
ssh2docker tmp
package main
import (
"net"
"github.com/Sirupsen/logrus"
"github.com/moul/ssh2docker"
)
func main() {
@moul
moul / gentoo failed build.txt
Created September 2, 2015 13:56
gentoo failed build.txt
root@docker-builder-6:~/docker-gentoo-stage3# ./update.sh
+ wget -N http://distfiles.gentoo.org/releases/arm/autobuilds/20150730/stage3-armv7a_hardfp-20150730.tar.bz2
--2015-09-02 13:09:17-- http://distfiles.gentoo.org/releases/arm/autobuilds/20150730/stage3-armv7a_hardfp-20150730.tar.bz2
Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 137.226.34.42, 140.211.166.134, 216.165.129.135, ...
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|137.226.34.42|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 201848883 (192M) [application/octet-stream]
Server file no newer than local file ‘stage3-armv7a_hardfp-20150730.tar.bz2’ -- not retrieving.
+ cat stage3-armv7a_hardfp-20150730.tar.bz2