Skip to content

Instantly share code, notes, and snippets.


Jens Kristian Villadsen jkiddo

View GitHub Profile
View ICPC-2DK-2-IDC10-DK
"text":"Hjertesygdom IKA",
jkiddo / ICPC-2DK
Last active Aug 14, 2017
A30 Komplet helbredsvurdering (A97)
A31 Delvis helbredsundersøgelse (A97)
A62 Administrativ procedure (A97)
A43 Anden diagnostisk procedure (A98)
A44 Vaccination (A98)
A45 Sundhedsoplysning (A98)

Hacking the SamKnows Whitebox

The SamKnows Whitebox is a free router (TP-Link TL-WDR3600) provided by SamKnows to gather internet speed statistics. Ok that's great, but any person with a small amount of hacker's spirit will want to hack it to install some custom firmware to take advantage of the two gigantic antennas on the back, the USB ports and everything else.

Step 1 : Debug mode

Root access can be obtained via a "debug mode" on the router giving you a direct root shell via telnet, amazingly simple.

  • Disconnect the Whitebox from the internet.
  • Connect your computer directly to the Whitebox via Ethernet to one of the four ethernet ports on the Whitebox.
  • Configure your computer's IP settings to "Manual" setting the computer's IP address to, the Subnet Mask to and the Gateway to
  • Turn off the Whitebox.
View cecsimple
# Execute some fairly simple CEC commands
# Can use the "server" if its already running for faster execution
# or will fall back to starting the cec-client in "single pass" mode.
# Another terrible hack from Will Cooke.
# Handy site:
jkiddo /
Created Jun 29, 2017 — forked from staltz/
The introduction to Reactive Programming you've been missing
View UUIDv5
package cda.uuid.generator;
import java.nio.charset.Charset;
import java.util.Objects;
import java.util.UUID;
public class UUIDType5 {
private static final Charset UTF8 = Charset.forName("UTF-8");
View c# client
private async Task doPostAsync(byte[] document)
var someUrl = "http://localhost:4567";
var parametersToAdd = new Dictionary<string, string> { { "resource", "foo" } };
var newUri = QueryHelpers.AddQueryString(someUrl, parametersToAdd);
View Saxon.Java
public static void run(String sourceDoc, String xslDoc, String resultDoc,
Boolean dtdValidation) throws SaxonApiException {
Processor proc = new Processor(false);
View cda scorecard
View tiobe.txt
You can’t perform that action at this time.