Skip to content

Instantly share code, notes, and snippets.

@t0mab
t0mab / check_ip.py
Created June 29, 2012 11:33 — forked from Morrolan/check_ip.py
RaspberryPi IP address emailer
#!/usr/bin/python
# The idea behind this script is if plugging a RaspberryPi into a foreign network whilst running it headless
# (i.e. without a monitor/TV), you need to know what the IP address is to SSH into it.
#
# This script emails you the IP address if it detects an ethernet address other than it's usual address
# that it normally has, i.e. on your home network.
import subprocess
import smtplib

Keybase proof

I hereby claim:

  • I am t0mab on github.
  • I am thomasbaguet (https://keybase.io/thomasbaguet) on keybase.
  • I have a public key whose fingerprint is DACE A588 57C7 C475 7A70 FBC4 5DFF 7270 86CB FE18

To claim this, I am signing this object:

@t0mab
t0mab / cvimrc
Last active August 29, 2015 14:20
cvimrc dotfile
" Settings
set nosmoothscroll
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set typelinkhints
let searchlimit = 30
let scrollstep = 70
@t0mab
t0mab / gist:00d4d47b7702db487ce8
Created September 11, 2015 22:53
arch linux installation cheat-sheet
# simple arch linux installation cheat-sheet
# written by armin <armin@mutt.email>
# pre installation steps
wifi-menu
lsblk
fdisk /dev/sdX
o
n
p

Install osxfuse

brew cask install osxfuse

Install ntfs-3g

brew install homebrew/fuse/ntfs-3g
@t0mab
t0mab / arch-linux-install.md
Last active October 24, 2016 09:34 — forked from Thrilleratplay/arch-linux-install.md
Installing Arch Linux on an LUKS Encrpyted root and booting from UEFI
# Stolen from https://adrhc.go.ro/wordpress/ thanks man !!!!!
See also
# https://doc.ubuntu-fr.org/optimisation
Check ubuntu startup times
systemd-analyze blame
/etc/fstab
# http://www.lgqyc.com/move-tmp-to-ram/
@t0mab
t0mab / README.md
Created July 31, 2016 16:38 — forked from KonradIT/readme.md
GoPro Studio for Linux

####GoPro Protune correction, timelapse assembling, fisheye removal, slow motion, 4:3 to 16:9 and motion blur in Linux OS - GoPro Studio for Linux - KDEnlive, FFMPEG, ImageMagick, Mencoder and Python!

GoPro Studio has been tremendously useful for GoPro users, but not all GoPro users can enjoy the tool, there is no GoPro Studio for Linux. So some users made their ways to emulate GoPro Studio on Linux.

This guide is more than GoPro Studio, is a must read guide for Linux and GoPro users.

The main features of GoPro Studio are:

  • Convert and edit Protune footage and apply Protune effect.
  • Convert 4:3 footage to 16:9
  • Slow motion
@t0mab
t0mab / README.md
Created July 31, 2016 16:40 — forked from KonradIT/README.md
HERO+LCD hacking (Ambarella A7)

#HERO+ LCD hacking

#####All in one awesome

###Out of the box features:

  • Video:
  • Single video, Resolutions: 1080p 60/30, 720p 60/30 w/ SuperView
  • Looping
  • Photo:
@t0mab
t0mab / autoexec.ash
Created July 31, 2016 16:40 — forked from KonradIT/autoexec.ash
GoPro HERO4 Session improvement hack (makes MSC USB connection and enables 10 second OLED screen timeout to save battery)
#Hack for hero4 session, makes it even more stoked and versatile.
t app usb msc
sleep 10
t app test oled brightness 0