Skip to content

Instantly share code, notes, and snippets.

Avatar

Markus Bockhacker s1lvester

View GitHub Profile
View esp_nodemcu.md

NodeMCU wiring for Bootloader

MTDO == GPIO15

MTDO GPIO0 GPIO2 Mode Description L L H UART Download code from UART L H H Flash Boot from SPI Flash H x x SDIO Boot from SD-card

@s1lvester
s1lvester / Read-only FS on Arch Linux ARM.md
Created Mar 14, 2017 — forked from yeokm1/Read-only FS on Arch Linux ARM.md
Set up Arch Linux ARM on Raspberry Pi to boot from and use a read-only file-system
View Read-only FS on Arch Linux ARM.md

##Read-only FS on Arch Linux ARM

Unlike your typical computer where you usually shutdown properly, I cannot rely on this during the use of my Raspberry Pi. If the Raspberry Pi is improperly shutdown too many times, data corruption in the file system leading to unbootable SD card may result. So we should use a read-only file system.

Full instructions and explanations are obtained from this link but you can run these commands directly. I modified some of the instructions for personal convenience.

Login with default username: alarm, password: alarm

#Optionally enable root over SSH. The rest of these instructions assume u are in root.
View alarm-scan.md

Write along on how to build an ArchLinuxARM Scan-Server on an RPI.

December 2016

dependencies and software

yaourt -S sane confuse
yaourt -S scanbd

Now manually edit PKGbuild and add: --disable-Werror to ./configure line.

# copy needed config files from sane to scanbd
View docker_tips.md

Docker Tips

As one can guess, just some write-along on things I learned and used while trying to get along with docker. If anything is grossly wrong - feel free to correct me. Markus.

Garbage Collection

# for containers
docker rm $(docker ps -aq)

# for images
docker rmi $(docker images --filter dangling=true --quiet)
@s1lvester
s1lvester / rancheros_howto.md
Last active Mar 17, 2021
Write-up on playing around with RancherOS
View rancheros_howto.md

RancherOS write-along

Date: 2016-10-04 Version: 1
Author: s1lvester@bockhacker.me

I just installed RancherOS on my FreeNAS-Machine See this gist. Afterwards this is a small writeup on what I did next.

First Container

See Quick Start Guide in the Rancher docs.

@s1lvester
s1lvester / rancheros_on_freenas.md
Last active Mar 23, 2021
Installing RancherOS on FreeNAS using iohyve
View rancheros_on_freenas.md

RancherOS on FreeNAS

Date: 2016-10-04 Version: 1.2
Author: s1lvester@bockhacker.me

This is my short documentation on how to install RancherOS on FreeNAS.

Versions used:
- RancherOS v.0.6.1
- FreeNAS 9.10-stable
@s1lvester
s1lvester / keybase.md
Created Jun 19, 2015
keybase.io verification
View keybase.md

Keybase proof

I hereby claim:

  • I am s1lvester on github.
  • I am s1lvester (https://keybase.io/s1lvester) on keybase.
  • I have a public key whose fingerprint is 79C9 1825 D17F 7C50 8C94 7B90 B532 5C6A 27EF 7C41

To claim this, I am signing this object:

@s1lvester
s1lvester / jolla-photoupload.py
Last active Aug 29, 2015
Jolla Photouploader. Requires pyinotify (pyhton3)
View jolla-photoupload.py
#!/usr/bin/env python
"""
jolla-photoupload
@license: MIT Licence
@contact: s1lvester@bockhacker.me
"""
import pyinotify