Skip to content

Instantly share code, notes, and snippets.

View ewpratten's full-sized avatar

Evan Pratten ewpratten

View GitHub Profile
@mrlnc
mrlnc / free5gc_wireguard.md
Created February 8, 2021 12:45
Wireguard on Linux 5.0.0-23-generic (for Free5GC)

So you're using free5gc (hence stuck on linux 5.0.0-23-generic) and want to use wireguard VPN.

tl;dr you need wireguard-linux-compat tag v1.0.20200520

git clone https://git.zx2c4.com/wireguard-linux-compat
cd wireguard-linux-compat
git checkout v1.0.20200520
cd ..
make -C wireguard-linux-compat/src -j$(nproc)
make -C wireguard-linux-compat/src -j$(nproc) install
@andreibosco
andreibosco / yubikey-server.md
Last active October 25, 2022 10:09
Configure linux ssh to use yubikey authentication
@John-Paul-R
John-Paul-R / FabricModList.md
Last active October 21, 2024 07:40
A list of (almost all) mods for Fabric

Fabric Mod List

This page contains a list of the current Minecraft Fabric mods. (As of 2021-08-19 08:05:23 Timezone: UTC+0000 (GMT))

To search for mods by name, category, or download count, visit the website, fibermc.com!

Note: You can view a mod's source files by following the "Source" link on its CurseForge page, assuming that the mod's creator has made such files public.

There are currently 2954 mods in this list.

@JasonCC
JasonCC / syntax.s
Created October 21, 2017 03:31 — forked from mishurov/syntax.s
AT&T assembly syntax and IA-32 instructions
# --------
# Hardware
# --------
# Opcode - operational code
# Assebly mnemonic - abbreviation for an operation
# Instruction Code Format (IA-32)
# - Optional instruction prefix
# - Operational code
@Birdie0
Birdie0 / ifttt-webhooks-extended-guide.md
Last active November 1, 2024 08:43
How to use Discord Webhooks

⚠️ This gist is no longer updated! For maintained, improved and even more extended guide click here.


How to use Discord Webhook

It's a JSON

First, learn JSON. It's not programming language, not even close. Just follow syntax rules and you will be fine.

@thedward
thedward / debian-kobo-dev.md
Last active March 11, 2024 01:09
Setting up Kobo Development Tools on Debian Jessie
@mcoffin
mcoffin / reglist-lvbitx.py
Created August 4, 2015 04:32
reglist-lvbitx.py
#!/usr/bin/env python
import argparse
from xml.etree import ElementTree
from operator import attrgetter
import json
import re
class Register:
def __init__(self, name, offset, length, registers=None):
self.name = name
@ewnd9
ewnd9 / install.sh
Last active January 24, 2024 19:38
google's deepdream ubuntu installation
# sources
# http://www.scipy.org/install.html
# http://sohliloquies.blogspot.ru/2015/07/setting-up-deep-dream-google-researchs.html
# https://github.com/BVLC/caffe/wiki/Ubuntu-14.04-VirtualBox-VM
# ~2gb dependencies
mkdir deep-dream && cd deep-dream
sudo apt-get install subversion cmake
@rain1024
rain1024 / tut.md
Last active November 15, 2024 16:03
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@eagleon
eagleon / hircd.py
Created November 24, 2012 10:55
HIrcd – minimal IRC server in Python
#!/usr/bin/python
#
# Very simple hacky ugly IRC server.
#
# Todo:
# - Encode format for each message and reply with ERR_NEEDMOREPARAMS
# - starting server when already started doesn't work properly. PID file is not changed, no error messsage is displayed.
# - Delete channel if last user leaves.
# - [ERROR] <socket.error instance at 0x7f9f203dfb90> (better error msg required)