This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
#DEBHELPER# | |
# Message of running rmmod & modprobe need to run after the module has been build. | |
case "$1" in | |
install) | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action=''> | |
<input name="url" type="text" placeholder="Youtube link" /> | |
<button action="submit">Submit</button> | |
</form> | |
<?php | |
if($_SERVER['REQUEST_METHOD'] == 'GET') { | |
exit; | |
} | |
echo '<pre>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import requests | |
import json | |
import re | |
import datetime | |
from html.parser import HTMLParser | |
DATA = {} | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ ! -e /sys/kernel/iommu_groups/$1 ]; then | |
echo "IOMMU group $1 not found" | |
exit 1 | |
fi | |
if [ ! -e /sys/bus/pci/drivers/vfio-pci ]; then | |
sudo modprobe vfio-pci | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import re | |
import os | |
import sys | |
import subprocess | |
try: input = raw_input | |
except NameError: pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
full_process = { | |
"oreAluminum", | |
"oreArdite", | |
"oreCobalt", | |
"oreCopper", | |
"oreDraconium", | |
"oreEndium", | |
"oreGold", | |
"oreIron", | |
"oreLead", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
#SERVER | |
import asyncio | |
import ssl | |
class EchoServerClientProtocol(asyncio.Protocol): | |
def __init__(self, *args, **kwargs): | |
self.data = bytearray() | |
self.queue = asyncio.Queue() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am eggiecode on github. | |
* I am eggiecode (https://keybase.io/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: |