Skip to content

Instantly share code, notes, and snippets.

View VergeDX's full-sized avatar

Vanilla VergeDX

View GitHub Profile
@shanselman
shanselman / ohmyposhv3-v2.json
Last active August 8, 2025 23:19
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@ZipFile
ZipFile / README.md
Last active August 5, 2025 09:08
Pixiv OAuth Flow

Retrieving Auth Token

  1. Run the command:

    python pixiv_auth.py login

    This will open the browser with Pixiv login page.

@shanselman
shanselman / ohmyposhv3.json
Created December 23, 2020 03:48
My ohMyPoshv3 json
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@lynzrand
lynzrand / readme.md
Last active December 8, 2020 17:44
Github Contribution Renderer

Dependencies

drawsvg
colormath

Usage

  1. Download
#!/bin/sh
/Applications/Discord.app/Contents/MacOS/Discord --proxy-server=http://po.cc.ibaraki-ct.ac.jp:3128
@tomac4t
tomac4t / cernet2-v6.csv
Last active April 29, 2025 12:40
中国教育网学校 IPv6 地址段
IPv6 国家 省份 城市 学校/教育机构
2001:da8:0200::/48 中国 北京 北京 清华大学
2001:da8:0201::/48 中国 北京 北京 北京大学
2001:da8:0202::/48 中国 北京 北京 北京邮电大学
2001:da8:0203::/48 中国 北京 北京 北京航空航天大学
2001:da8:0204::/48 中国 北京 北京 北京理工大学
2001:da8:0205::/48 中国 北京 北京 北京交通大学
2001:da8:0206::/48 中国 北京 北京 北京城市学院
2001:da8:0207::/48 中国 北京 北京 北京师范大学
2001:da8:0208::/48 中国 北京 北京 北京科技大学
  1. Install package libstdc++6 (Ubuntu 16.04)
  2. Add following to ~/.gdbinit
python
import sys 
sys.path.insert(0, '/usr/share/gcc-9/python')
from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)
end
@kotritrona
kotritrona / rabi_saves.txt
Created December 18, 2019 22:32
Rabi-Ribi Save File Format
cicini needs 7a80h, 79c8h
memory 0E59E81C char -> 0E59E344 variation
0004h - 4650h (7080h): map display
actually has 16 maps, last 6 unused
0004h - 0708h: southern woodland [25x18x4]
070ch - 0e10h: western coast [25x18x4]
0e14h - 1518h: island core [25x18x4]
151ch - 1c20h: northern tundra [25x18x4]
1c24h - 2328h: eastern highlands [25x18x4]
@adamelliotfields
adamelliotfields / index.js
Last active August 11, 2023 16:17
Grafana Dashboard Screenshot using Puppeteer
#!/usr/bin/env node
/**
* Grafana Dashboard Screenshot
*
* Derived from https://github.com/sindresorhus/capture-website/blob/v0.8.0/index.js
* by @sindresorhus (MIT).
*/
const fs = require('fs');

Okay, I've got a need to build Firefox from source, and I'd like to do that on a remote machine, and then copy build result back to my laptop. With Nix, using bastion host. I'll note details of my successful adventure.

Setup & Sources of knowledge

Here's the list of resources I've used actively:

Here's my setup: