Skip to content

Instantly share code, notes, and snippets.

View codyzu's full-sized avatar

Cody Zuschlag codyzu

View GitHub Profile
@codyzu
codyzu / TFTP factory reset TP-Link TL-WR820N V1.md
Last active January 2, 2024 20:50
Procedure to restore the factory firmware on a TL-WR810N v1 rotuer (restoring from openWRT or dd-wrt)
@codyzu
codyzu / 2022-macbook-air-m2.md
Last active August 26, 2022 08:13
2022 macbook air m2
@codyzu
codyzu / darter-pro-tips-and-tricks.md
Last active May 25, 2022 14:01
Linux Tips and Tricks

PopOS (System76 Darter Pro)

Broken emojis in chrome

sudo apt remove fonts-noto-color-emoji
sudo apt install fonts-noto-color-emoji

reference

@codyzu
codyzu / notes.md
Last active February 1, 2022 12:00
Profalux volets / ConBee II / deCONZ / Phoscon / Homebridge / Homekit

Profalux Volets (shutters) with Homekit

Setup

  • 2 Profalux volets
  • 2 dedicated profalux remotes (1 for each volet) + 1 "global" remote that controls them simultaneously
  • Raspberry pi
  • ConBee II
  • deCONZ
  • Phoscon App
@codyzu
codyzu / index.js
Created November 30, 2020 20:34
Exam 1 Express Server
const express = require('express')
const app = express()
app.get('/', function (req, res) {
res.send('Hello World!')
})
// 👉👉 ADD YOUR ROUTE HERE! 👈👈
const functions = require("firebase-functions");
const admin = require("firebase-admin");
const {nanoid} = require('nanoid');
admin.initializeApp();
exports.withLock = functions.pubsub
.schedule("0 * * * *")
.onRun((context) => {
const { eventId, timestamp } = context;
@codyzu
codyzu / hp-pavillion-gaming-17-cd0002nf-tips-and-tricks.md
Last active March 23, 2020 08:47
Tips and tricks for HP Pavillion Gaming 17 cd0002nf
@codyzu
codyzu / dell-xps-9560-ubuntu.md
Last active December 6, 2019 15:08
Dell XPS 9560 Ubuntu 18.04+ Changes

Installation

Sometimes the installer crashes. With 19.10, this happened when trying to connect to the wifi. The solution is to set the kernel parameters when starting the installer or live environment.

  1. Press e when the grub boot menu is displayed (the menu that lets you "Try Ubuntu" or "Install Ubuntu")
  2. On the line containing the kernel parameters, add the following (to the same line) after quiet splash:
    acpi_rev_override i915.modeset=1 nouveau.modeset=0
    

Note: I'm not sure if they are all needed, but it fixed the installer from crashing when connecting to the wifi.

R.pipeWith(R.then, [getUserFromDatabase, replyOk, sendMessageToUser])(ctx);
const R = require('ramda');
const ctx = {
// ...
};
R.pipeWith(R.then, [getUserFromDatabase, sendMessageToUser, replyOk])(ctx);