Skip to content

Instantly share code, notes, and snippets.

View tedpelas's full-sized avatar

Ted Pelas Johansson tedpelas

  • Arelion
  • Stockholm, Sweden
View GitHub Profile
@tedpelas
tedpelas / python_template.py
Created October 25, 2019 09:04
Skeleton Python3 file template
#!/usr/bin/env python3
"""
Module documentation
"""
# Imports
import sys
import logging
import argparse
@tedpelas
tedpelas / nullfs.log
Last active July 29, 2019 16:38
nullfs is FUSE filesystem driver which discards all files' data written to it.
# apt install make build-essential libfuse-dev fuse
$ git clone https://github.com/xrgtn/nullfs
$ cd nullfs/
$ make clean
rm -f nul1fs nullfs nulnfs *.o
$ make
cc nul1fs.c "-lfuse" -o nul1fs
g++ nullfs.c++ "-lfuse" -o nullfs
cc nulnfs.c "-lfuse" -o nulnfs
$ cc nul1fs.c -o nul1fs -lfuse
@tedpelas
tedpelas / docker-basic-cmds
Created February 23, 2017 15:51 — forked from basharam/docker-basic-cmds
Docker basic setup
Docker-basic-commands on 12.04, Docker installed via mirrors.
@tedpelas
tedpelas / hotfix_SfB2016.cmd
Created December 21, 2016 10:39
Since Skype for Business 2016 is rather unstable the profile needs to be wiped clean from time to time...
REM Since Lync 2016 is rather unstable the profile needs to be wiped clean from time to time...
ECHO ON
DEL /f /s /q "%LOCALAPPDATA%\Microsoft\Office\16.0\Lync\*"
START "" "C:\Program Files\Microsoft Office\Root\Office16\lync.exe"
Verifying that "tedpelas.id" is my Blockstack ID. https://onename.com/tedpelas

Keybase proof

I hereby claim:

  • I am tedpelas on github.
  • I am tedpelas (https://keybase.io/tedpelas) on keybase.
  • I have a public key ASBbsmJ1j6z6FAfiMqsg43VB9Qu2nVM0KC17kxbdUVSp8Ao

To claim this, I am signing this object: