Skip to content

Instantly share code, notes, and snippets.

@s1lvester
s1lvester / jolla-photoupload.py
Last active August 29, 2015 14:23
Jolla Photouploader. Requires pyinotify (pyhton3)
#!/usr/bin/env python
"""
jolla-photoupload
@license: MIT Licence
@contact: [email protected]
"""
import pyinotify
@s1lvester
s1lvester / keybase.md
Created June 19, 2015 07:59
keybase.io verification

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 / rancheros_on_freenas.md
Last active March 23, 2021 08:36
Installing RancherOS on FreeNAS using iohyve

RancherOS on FreeNAS

Date: 2016-10-04 Version: 1.2
Author: [email protected]

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 / rancheros_howto.md
Last active March 17, 2021 02:47
Write-up on playing around with RancherOS

RancherOS write-along

Date: 2016-10-04 Version: 1
Author: [email protected]

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 / docker_tips.md
Last active October 26, 2016 06:52
Docker hints

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)

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

@s1lvester
s1lvester / Read-only FS on Arch Linux ARM.md
Created March 14, 2017 16:10 — 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

##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.

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.