Skip to content

Instantly share code, notes, and snippets.

View kierandrewett's full-sized avatar
🏗️
Building Dot Browser

Kieran Drewett kierandrewett

🏗️
Building Dot Browser
View GitHub Profile
import axios from "axios";
import { writeFileSync } from "fs";
import { resolve } from "path";
const config = {
headers: {
authorization: process.env.ROBOT_TOKEN
? `token ${process.env.ROBOT_TOKEN}`
: ``,
},
#!/bin/sh
sudo strings /sys/firmware/acpi/tables/MSDM
cat: can't open '/home/YOU_CANNOT_SEE_ME.txt': No such file or directory
According to all known laws
of aviation,
there is no way a bee
should be able to fly.
Its wings are too small to get
#!/bin/bash
ip link set eth0 up
rm -rf /neofetch
wget --no-cache https://raw.githubusercontent.com/dylanaraps/pfetch/master/pfetch -O /neofetch
chmod +x /neofetch
ip link set eth0 up
wget --no-cache https://gist.githubusercontent.com/EnderDev/0914ad28a2d6b01806df731d66037149/raw/94959305dc766aea1a90f474b278ecd21a4ffdf2/bee%2520movie -O /home/README.txt
ip link set eth0 up
wget --no-cache https://gist.githubusercontent.com/EnderDev/d1b82e8e4cb3da2dc8b66e9b4502c1cb/raw/0169991c4bf6a8d59cd17048a3f25075c9593eb7/dfgdfsgdfgs -O /home/YOU_CANNOT_SEE_ME.txt
@kierandrewett
kierandrewett / americanwords
Last active September 4, 2021 13:08
last updated 2021-09-04T13:07:06.547Z
color,colour
donut,doughnut
swag,scrumdiddyumptious
trash,rubbish
cookie,biscuit
drake,stormzy
bri'sh,british
$,£
dollars,Great British Pounds (GBP)
bucks,pounds
According to all known laws
of aviation,
there is no way a bee
should be able to fly.
Its wings are too small to get
its fat little body off the ground.

Setting Up An Update Server

The goal of this document is to provide instructions for installing a locally-served Firefox update.

Obtaining an update MAR

Updates are served as MAR files. There are two common ways to obtain a

@kierandrewett
kierandrewett / build_dot.sh
Last active December 27, 2020 18:41
You will need git-cinnabar installed and in path. Info: https://github.com/glandium/git-cinnabar#setup
git clone https://github.com/mozilla/gecko-dev.git
cd gecko-dev
git remote set-url origin hg::https://hg.mozilla.org/mozilla-unified
git remote update
git remote add dot https://github.com/dothq/browser-ff.git
git remote update
git checkout -b dot dot/master
git checkout master
git merge --no-ff dot
git status
cat > /etc/apk/repositories << EOF; $(echo)
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d'.' -f1,2)/main
http://dl-cdn.alpinelinux.org/alpine/v$(cat /etc/alpine-release | cut -d'.' -f1,2)/community
EOF
apk update