Skip to content

Instantly share code, notes, and snippets.

@tkphd
tkphd / bite-size.tex
Created March 8, 2019 01:16
Modifications for @B0rk's excellent Bite Size Networking to get a proper 2-sided booklet
% Modifications for @b0rk's excellent Bite Size Networking
% to get a proper 2-sided booklet
\documentclass[12pt]{article}
\usepackage{graphicx,pdfpages}
\usepackage[paperheight=11in,paperwidth=8.5in,margin=0in]{geometry}
\pagestyle{empty}
\begin{document}
\begin{figure}\centering
\vskip-1cm
\includegraphics[page=24,width=8.25in,angle=180]{bite-size-networking.pdf}
@ES-Alexander
ES-Alexander / mavactive.py
Last active May 11, 2024 16:55
An example of using `RC_OVERRIDE`s for basic vehicle control with Pymavlink. Includes a variety of other convenience functions.
from builtins import object
import weakref
from time import sleep
from threading import Thread, Event, Lock
from pymavlink import mavutil
import pymavlink.dialects.v20.ardupilotmega as mavlink
class WriteLockedFile(object):
@willnode
willnode / gemastik-0.md
Last active May 11, 2024 16:55
Soal Penyisihan Competitive Programming - Gemastik 11

1. Urutan Aneh

Deskripsi

Buatlah program yang melakukan pengurutan N (2≤N≤1000) buah bilangan seperti pada contoh kasus di bawah ini.

Format Masukan

  • Baris pertama berisi satu buah bilangan N.
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 11, 2024 16:52
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

@bmaupin
bmaupin / free-backend-hosting.md
Last active May 11, 2024 16:49
Free backend hosting
@bmaupin
bmaupin / free-database-hosting.md
Last active May 11, 2024 16:49
Free database hosting
@turtlemonvh
turtlemonvh / README.md
Created April 7, 2022 22:49
bookmark_file_parser

Scripts and functions for handling parsing of bookmark files into more friendly formats.

From some work I was doing in parsing bookmarks back in ~2016, for deduplication and finding similar bookmarks in a collection of 30K+ bookmarks I have accumulated over 15+ years.

The goal was to make this approx constant memory so parsing can happen quickly in very resource constrained environments. Hence the custom streaming XML and JSON parsing.

Now that tools like browser-history exist I'll likely revisit this project in the next couple years since I'll be able to make a lot of progress in just a few hours. At that time I'll likely convert all this into a more public repository.

Import

@eigengrau
eigengrau / firefox-to-org.py
Last active May 11, 2024 16:48
Export Firefox bookmarks to org-mode
#!/usr/bin/env python
# Read a Mozilla places JSON-structure from STDIN and create a directory
# hierarchy of org-mode files containing bookmarks.
# Copyright (c) 2014 Alexey Kutepov a.k.a. rexim
# Copyright (c) 2016 Sebastian Reuße
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
@edokeh
edokeh / index.js
Last active May 11, 2024 16:46
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \