Skip to content

Instantly share code, notes, and snippets.

View fabienengels's full-sized avatar

Fabien Engels fabienengels

  • Strasbourg, France
View GitHub Profile
@goll
goll / README.md
Last active May 2, 2024 11:59
Docker nftables configuration for Debian 10
@tacofumi
tacofumi / diskripper.sh
Last active December 15, 2023 16:18
This script rips DVD/Blu-ray using makemkvcon. Use udev to invoke this script to auto-rip when disk is inserted. Some variables such as length of string to trim in order to get the title of movie may vary depending on your environment.
#!/bin/bash
{
echo $(date)
echo ">>>Disk found"
echo ">>>Setting the title..."
title=$(makemkvcon -r info)
title=`echo "$title" | grep "DRV:0\+"`
title=${title:53}
@cridenour
cridenour / gist:74e7635275331d5afa6b
Last active August 7, 2023 13:52
Setting up Vim as your Go IDE

Setting up Vim as your Go IDE

The final IDE

Intro

I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.

Getting Started

I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.

@KonradIT
KonradIT / readme.md
Last active September 25, 2023 01:55
GoPro Studio for Linux
@mason-stewart
mason-stewart / gist:998038
Created May 29, 2011 18:52
Automatically show new tweets on Twitter.com
// Sometimes, when I'm in my office but not sitting at my computer, I want to glance over at new tweets
// in my feed at http://twitter.com. I find myself annoyed with having to click "Show X new tweets"
// button that pops up. Running this in the console solves my problem.
setInterval(function(){$("#new-tweets-bar").click()}, 5000);