Skip to content

Instantly share code, notes, and snippets.

View wille-io's full-sized avatar

Mike Wille wille-io

  • binfx.io
  • Lower Saxony, Germany
  • 07:16 (UTC +01:00)
View GitHub Profile
@ericoporto
ericoporto / 1.Instructions.md
Created October 19, 2020 02:10 — forked from WesThorburn/1.Instructions.md
Linux: Compile C++ to WebAssembly and JavaScript using Emscripten and CMake

Linux: Compile C++ to WebAssembly and JavaScript using Emscripten and CMake

Download and Install Emscripten

  • My preferred installation location is /home/user
  • Get the latest sdk: git clone https://github.com/emscripten-core/emsdk.git
  • Enter the cloned directory: cd emsdk
  • Install the lastest sdk tools: ./emsdk install latest
  • Activate the latest sdk tools: ./emsdk activate latest
  • Activate path variables: source ./emsdk_env.sh
  • Configure emsdk in your bash profile by running: echo 'source "/home/user/emsdk/emsdk_env.sh"' >> $HOME/.bash_profile
@fnky
fnky / ANSI.md
Last active March 6, 2026 09:18
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@afiestas
afiestas / ddns.service
Last active July 3, 2022 20:04
systemd timer for ddns/dyndns/dynamic dns or any other http request
# /etc/systemd/system/ddns.service
[Unit]
Description=Updates ddns via curl
[Service]
Type=oneshot
ExecStart=/usr/bin/curl "https://your request goes here"
#You might have or want to change user/group
#User=nobody
#Group=nogroup
@robertpainsi
robertpainsi / README.md
Last active February 24, 2026 11:29
How to reopen a pull-request after a force-push?

How to reopen a pull-request after a force-push?

Precodinitions

  • You need the rights to reopen pull requests on the repository.
  • The pull request hasn't been merged, just closed.

Instructions

  1. Write down the current commit hash of your PR-branch git log --oneline -1 <PR-BRANCH>
  2. Write down the latest commit hash on github before the PR has been closed.
  3. git push -f origin :
@bjoern-r
bjoern-r / Huawei_E3372_openwrt.md
Last active February 16, 2026 15:58
How to use a Huawei E3372 on OpenWRT

HOWTO use a Huawei E3372 on OpenWRT

This modem is also sold as a MegaFon M150-2 USB dongle

Needed Software

Install the needed packages via opkg tool

opkg update
@steinwaywhw
steinwaywhw / One Liner to Download the Latest Release from Github Repo.md
Last active February 15, 2026 15:00
One Liner to Download the Latest Release from Github Repo
  • Use curl to get the JSON response for the latest release
  • Use grep to find the line containing file URL
  • Use cut and tr to extract the URL
  • Use wget to download it
curl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \