Skip to content

Instantly share code, notes, and snippets.


netop://ウエハ NetOperatorWibby

View GitHub Profile
NetOperatorWibby / patch-svelte-compiler.js
Created May 27, 2021
An excellent fix for Svelte not liking a lot of syntax
View patch-svelte-compiler.js
replace push with reassign
this is a fork of the excellent code by milahu (
all i did was clean the code to my liking, consistency and whatnot
NetOperatorWibby / names.mjs
Created Apr 24, 2021
Get the value of your Handshake names (obtained on Namebase), in HNS.
View names.mjs
/// N A T I V E
import fs from "fs";
import https from "https";
import { join } from "path";
/// U T I L
NetOperatorWibby / tracker_blocking.rb
Created Jul 30, 2020 — forked from dhh/tracker_blocking.rb
Current list of spy pixels named'n'shamed in HEY, as of April 23, 2020
View tracker_blocking.rb
module Entry::TrackerBlocking
extend ActiveSupport::Concern
included do
has_many :blocked_trackers
email_service_blockers = {
"ActiveCampaign" => /lt\.php(.*)?l\=open/,
"AWeber" => "",
NetOperatorWibby / TurnipPrices.cpp
Created Apr 7, 2020 — forked from Treeki/TurnipPrices.cpp
AC:NH turnip price calculator
View TurnipPrices.cpp
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from
namespace sead
class Random
NetOperatorWibby /
Created Feb 20, 2020 — forked from miku/
git --track vs --set-upstream vs --set-upstream-to


Short excursion into git --track, --set-upstream and --set-upstream-to.

All examples use the aliases co for checkout and br for branch.


$ git clone
View prettySortByKeys.js
const sortByKeysLegibly = maybeObject => {
// presumably we want the array to stay ordered. Possibly not, but if there is
// anything that should preserve order, it's an array
if (maybeObject instanceof Array) {
return maybeObject;
// don't sort strings etc
if (typeof maybeObject !== 'object') {
return maybeObject;
NetOperatorWibby / nationwide.ipynb
Created Feb 4, 2020 — forked from willettk/nationwide.ipynb
Make a list of all the (English) Wikipedia page titles that can be sung to the tune of the Nationwide jingle.
View nationwide.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NetOperatorWibby / index.html
Created Jan 30, 2020 — forked from wmhilton/index.html
magic portal (isomorphic-git)
View index.html
<input id="repository" type="text" style="width: 50em" title="Tip: enter a private repo URL to see the credentialManager plugin prompt for a password.">
<button type="button" id="cloneButton">Clone</button>
<output id="log" style="white-space: pre; font-family: monospace;"></output>
<script src=""></script>
let worker = new Worker("./worker.js")

Setup a simple GIT server for testing on RHEL7

Prepare and setup a simple git server to be used over ssh

  1. Prepare remote server

    # yum -y install git
    # useradd -c "GIT User" -s /usr/bin/git-shell git
    # mkdir ~git/.ssh
    # touch ~git/.ssh/authorized_keys
NetOperatorWibby / git-daemon
Created Jan 29, 2020 — forked from jeremiah/git-daemon
systemd-unit for git-daemon
View git-daemon
# conf.d file for git-daemon
# Please check man 1 git-daemon for more information about the options
# git-daemon accepts. You MUST edit this to include your repositories you wish
# to serve.
# Some of the meaningful options are:
# --syslog --- Enables syslog logging
# --verbose --- Enables verbose logging
# --export-all --- Exports all repositories