Skip to content

Instantly share code, notes, and snippets.

View Hegz's full-sized avatar

Adam Fairbrother Hegz

  • School District No. 73
  • Kamloops
View GitHub Profile
U-Boot SPL 2013.07 (Jun 17 2024 - 19:22:26)
Board info: T23N
apll_freq = 1200000000
mpll_freq = 1176000000
sdram init start
DDR clk rate 588000000
DDR_PAR of eFuse: 00000000 00000000
#!/sbin/openrc-run
description="Starts InkBox GUI"
depend() {
after update_inkbox
keyword -prefix -lxc
}
start() {
@Hegz
Hegz / keybase.md
Created October 7, 2023 16:01
keybase.md

Keybase proof

I hereby claim:

  • I am hegz on github.
  • I am hegzdesimal (https://keybase.io/hegzdesimal) on keybase.
  • I have a public key ASBUezbvaWxHvXh_fPmrU0ao4kCzLKjo_m9LL3LrCiv-FAo

To claim this, I am signing this object:

@Hegz
Hegz / chitubox.nix
Created August 30, 2023 19:22
Working chitubox 1.9.5 derevation
{ stdenv
, lib
, fetchzip
, alsa-lib
, autoPatchelfHook
, gst_all_1
, libpulseaudio
, qtbase
, pkgs
, openssl_1_1
{ pkgs ? import <nixpkgs> { }, qtbase, wrapQtAppsHook }:
with pkgs;
stdenv.mkDerivation rec {
pname = "chitubox";
version = "1.9.5";
src = fetchzip {
url = "https://sac.chitubox.com/software/download.do?softwareId=17839&softwareVersionId=v${version}&fileName=CHITUBOX_V${version}.tar.gz";
@Hegz
Hegz / configuration.nix
Created August 29, 2023 05:19
nixos configuration
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@Hegz
Hegz / chitubox.nix
Created August 29, 2023 03:39
Attempt to get chitubox running on nix
{ stdenv, lib, autoPatchelfHook, qtbase, wrapQtAppsHook, pkgs}:
with pkgs;
pkgs.libsForQt5.callPackage({mkDerivation}: mkDerivation) {} rec {
#mkDerivation rec {
pname = "chitubox";
version = "1.9.5";
src = /home/adam/Downloads/CHITUBOX_V${version}.tar.gz;
@Hegz
Hegz / nmap.output
Created March 27, 2019 06:55
nmap 80.211.167.123
Starting Nmap 7.70 ( https://nmap.org ) at 2019-03-26 23:54 PDT
Nmap scan report for host123-167-211-80.serverdedicati.aruba.it (80.211.167.123)
Host is up (0.18s latency).
Not shown: 994 filtered ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
70/tcp open gopher
80/tcp open http
110/tcp open pop3
@Hegz
Hegz / nestmap.html
Last active September 19, 2016 06:05
Spawn points with time markers
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pokemon Heatmap</title>
<style>
html, body {
height: 100%;
margin: 0;
padding: 0;
@Hegz
Hegz / Apache config
Last active September 16, 2016 18:53
Pokemongomap wsgi setup
WSGIDaemonProcess pogomap display-name=pogomap user=SOMEUSER group=SOMEGROUP processes=3 threads=1
<VirtualHost *:80>
ServerName YOURSITE
Redirect "/" "https://YOURSITE/"
</VirtualHost>
<VirtualHost *:443>
ServerName YOURSITE