Skip to content

Instantly share code, notes, and snippets.

First thing that Microsoft does when buying Github: Add statuses. Whee.

The Doctor virtadpt

First thing that Microsoft does when buying Github: Add statuses. Whee.
Block or report user

Report or block virtadpt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
virtadpt / gps.xhtml
Created Nov 18, 2019 — forked from Arttumiro/gps.xhtml
PAW-gps Mobile code+application
View gps.xhtml
Originally from:
Systemik made the original code and shaynemk on the pwnagotchi boards added timestamps, altitude, and satellites to the code
You can follow the original guide if you want, this one is just using a bit different code and is typed out a bit better
This is just the android part of the whole guide but the rest can be found here
And just so everyone knows, me (Arttumiro) didnt do anything coding related at all, i just changed up the guide a bit and made it easier to follow.
Site of the app I use : (It needs a lot of permissions but it will not do anything automatically)
Dont worry about incompatibility warnings, the gps code should still work even with that.


@teddyschleifer wrote:

"Bill Gates on a wealth tax:

'I've paid over $10 billion in taxes. I've paid more than anyone in taxes. If I had to pay $20 billion, it's fine.'

'But when you say I should pay $100 billion, then I'm starting to do a little math over what I have left over.'"

virtadpt / links.json
Created Aug 6, 2019 — forked from maxogden/links.json
all wikipedia zim torrent links
View links.json
View noscript-tracking.go
// Tracking cursor position in real-time without JavaScript
// Demo:
package main
import (
virtadpt /
Created Feb 28, 2019 — forked from kylemanna/
Minimal instructions for installing arch linux on an UEFI NVMe system with full system encryption using dm-crypt and luks
virtadpt / arch-linux-install
Created Feb 19, 2019 — forked from mattiaslundberg/arch-linux-install
Minimal instructions for installing arch linux on an UEFI system with full system encryption using dm-crypt and luks
View arch-linux-install
# Install ARCH Linux with encrypted file-system and UEFI
# The official installation guide ( contains a more verbose description.
# Download the archiso image from
# Copy to a usb-drive
dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux
# Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration.
# Set swedish keymap
virtadpt /
Created Jan 21, 2019 — forked from aptgetupgrade/
code to poll emails from an IMAP email server and post these to wallabag
# Read email in inbox, look for any URLs and update them to wallabag, delete email if URLs found in it.
# Built from various internet sources. Final code donated under GPL v3 by Github user aptgetupgrade
# Tested using python 2. Could be run as part of a crontab, e.g. every 5 mins.
import sys
import imaplib
import getpass
import email
import email.header
import datetime
virtadpt /
Created Jan 7, 2019 — forked from grantland/
NextBus API
virtadpt / gist:16db06cb09c9e16c513ecfff9147026a
Created Dec 8, 2018 — forked from datagrok/gist:2199506
Virtualenv's `bin/activate` is Doing It Wrong
View gist:16db06cb09c9e16c513ecfff9147026a

Virtualenv's bin/activate is Doing It Wrong

I'm a Python programmer and frequently work with the excellent [virtualenv][] tool by Ian Bicking.

Virtualenv is a great tool on the whole but there is one glaring problem: the activate script that virtualenv provides as a convenience to enable its functionality requires you to source it with your shell to invoke it. The activate script sets some environment variables in your current environment and defines for you a deactivate shell function which will (attempt to) help you to undo those changes later.

This pattern is abhorrently wrong and un-unix-y. activate should instead do what ssh-agent does, and launch a sub-shell or sub-command with a modified environment.


virtadpt / Instructions.txt
Created Dec 7, 2018 — forked from NotMedic/Instructions.txt
Siri -> HomeBridge -> HomeBridge-ssh -> iptables
View Instructions.txt
This is a pretty simple setup:
Siri is used to control Homebridge using the HomeKit protocol.
Homebridge has a module named Homebridge-ssh that allows you to run commands over ssh.
There is a shell script on an OpenWrt box to enable, disable, and check the status of a MAC Address block in the FORWARD table.
1. Install node on your platform. I went with 8.9 for no specific reason other than I initially had issues with 10 that probably weren't related..
2. Install homebridge and homebridge-ssh. You should probably also put hombridge-config-ui-x on there too... I used the unsafe-perm parameter after getting a significant number of errors:
sudo -i npm install -g homebridge --unsafe-perm
sudo -i npm install -g homebridge-ssh --unsafe-perm
You can’t perform that action at this time.