Using Mate DE and i3-gaps WM
May 4th 2017
Use Debian Stretch RC3 Installer: https://www.debian.org/devel/debian-installer/
- Non-graphical install
- Ignore warning about firmware not found for wireless card
Using Mate DE and i3-gaps WM
May 4th 2017
Use Debian Stretch RC3 Installer: https://www.debian.org/devel/debian-installer/
J-Link>device nrf51822_xxAA | |
J-Link>speed 1000 | |
J-Link>if SWD | |
J-Link>connect | |
J-Link>r | |
# erase the entire flash | |
J-Link>w4 4001e504 2 | |
J-Link>w4 4001e50c 1 | |
J-Link>w4 4001e514 1 | |
J-Link>r |
This following instructions install Arch Linux on a GPD Pocket 2. This installation uses systemd for boot. It sets up a 30GB root partition and an encrypted user partition that is decrypted and mounted on login. Let's get started.
Download and write the Arch Linux installation ISO to a flash drive. Insert flash drive, press power, hold F12, and select flash drive to boot.
Rotate console:
echo 1 > /sys/class/graphics/fbconv/rotate_all
Connect to Wi-Fi:
unmap("b"); | |
map("b", "S"); | |
map("m", "d"); | |
map(",", "e"); | |
map("H", "E"); | |
map("L", "R"); |
#!/usr/bin/env python3 | |
import requests | |
import sys | |
import re | |
# parse command line arguements | |
if len(sys.argv) != 3: | |
print("Usage: {} latitude longitude".format(sys.argv[0])) | |
sys.exit() |
This following instructions install Arch Linux on a Dell 5530 laptop. This installation uses systemd for boot. It sets up a 30GB root partition and an encrypted user partition that is decrypted and mounted on login. Let's get started.
Download and write the Arch Linux installation ISO to a flash drive. Insert flash drive, press power, hold F12, and select flash drive to boot.
Set system clock:
timedatectl set-ntp true
class EnumType { | |
static const int one = 1; | |
} | |
void printEnum(EnumType number) { | |
print(number); | |
} | |
void main() { | |
printEnum(EnumType.one); |
/* Copyright (c) 2019 Michael Mogenson | |
* MIT license https://opensource.org/licenses/MIT | |
*/ | |
/* This contrived example demonstrates the use of the comma operator and | |
* variadic arguments to create a function-like macro that accepts an optional | |
* argument and provides a default value when no argument is supplied. | |
* | |
* C's comma operator will evaluate the statement to the left of the comma and | |
* return the value of the statement to the right. The line `if (i++, true)` is |
#!/bin/bash | |
IP=192.168.86.24 | |
PORT=38899 | |
while : | |
do | |
HOURS=$(date +"%-H") | |
MINUTES=$(date +"%-M") | |
MINUTES=$(($HOURS * 60 + $MINUTES)) |
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/tags/21.05.tar.gz") { } | |
, pkgs_x86_64 ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/refs/tags/21.05.tar.gz") { localSystem = "x86_64-darwin"; } | |
}: | |
with pkgs.python38Packages; | |
let | |
cascadetoml = buildPythonPackage rec { | |
pname = "cascadetoml"; | |
version = "0.3.0"; | |
src = fetchPypi { |