Skip to content

Instantly share code, notes, and snippets.

Egbert Verhage EggieCode

Block or report user

Report or block EggieCode

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wireguard-dkms.postinst
set -e
# Message of running rmmod & modprobe need to run after the module has been build.
case "$1" in
View download-normalized-youtube-ogg.php
<form method="post" action=''>
<input name="url" type="text" placeholder="Youtube link" />
<button action="submit">Submit</button>
echo '<pre>';
EggieCode /
Created Oct 18, 2016
Moment in crime watch script to json file.
import requests
import json
import re
import datetime
from html.parser import HTMLParser
DATA = {}
EggieCode /
Created Apr 17, 2016
Bind iommu to vfio-pci
if [ ! -e /sys/kernel/iommu_groups/$1 ]; then
echo "IOMMU group $1 not found"
exit 1
if [ ! -e /sys/bus/pci/drivers/vfio-pci ]; then
sudo modprobe vfio-pci
import re
import os
import sys
import subprocess
try: input = raw_input
except NameError: pass
View oredict.lua
full_process = {
EggieCode /
Created Feb 18, 2016
Finger socket in python3 with asyncio
import asyncio
import ssl
class EchoServerClientProtocol(asyncio.Protocol):
def __init__(self, *args, **kwargs): = bytearray()
self.queue = asyncio.Queue()
EggieCode / gist:e829ea12ad504f104e5b
Created Jun 30, 2015
Bat file FFMPEG (FLV to MP4)
View gist:e829ea12ad504f104e5b
REM Convert with ffmpeg, FLV to MP4
for %%a in ("*.flv") do ffmpeg -i "%%a" -c:v libx264 -crf 23 -c:a libfaac -q:a 100 -b:a 128k "newfiles\%%~na.mp4"
View gist:74b19a6d0dee0b3a5112
### Keybase proof
I hereby claim:
* I am eggiecode on github.
* I am eggiecode ( on keybase.
* I have a public key whose fingerprint is 049C 0B7B 2FCA A922 033F 135B 3ADB F176 B0AE 05D9
To claim this, I am signing this object:
You can’t perform that action at this time.