Skip to content

Instantly share code, notes, and snippets.

View citrusui's full-sized avatar
📚
Resist fascism.

Avery citrusui

📚
Resist fascism.
View GitHub Profile
@citrusui
citrusui / comments.txt
Created November 24, 2016 13:02 — forked from turbo/comments.txt
Some comments from some version of the NT <5 kernel. Unaltered.
../w32/ntgdi/fondrv/tt/ttfd/fdfc.c:// apple logo which is not allowed in msft fonts.
../dlc/llcmem.c:// damn! Miscalculated pool usage
../w32/ntgdi/printers/msplot/plotter/enable.c:// fill in the graphics capabilities flags--can't do a damn thing
../w32/ntgdi/gre/fontmap.cxx:// Device font, but the match better be a damn good one!
../w32/ntuser/client/mdiwin.c:// NO -- no bit overloading, damn it. FritzS
../w32/ntuser/client/btnctl.c:// CTLCOLOR_BTN actually set up the damned button colors.
../boot/lib/fatboot.c:// As a safety net we'll flush any dirty fats that we might have cached before...
../ndis/elnk3/receive.c:// to make sure that the fifo is not fucked up...
../ndis/elnk3/receive.c:// It's fucked up. Reset the receiver.
../tdi/tcpip/tcp/tcpsend.c:// STUPID FUCKING COMPILER generates incorrect code for this.
[
{
"id" : "73F3F654-9EC5-4876-8BF6-474E22029A49",
"assets" : [
{
"url" : "http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/comp_GL_G004_C010_v03_6Mbps.mov",
"accessibilityLabel" : "Greenland",
"type" : "video",
"id" : "D388F00A-5A32-4431-A95C-38BF7FF7268D",
"timeOfDay" : "day"
@citrusui
citrusui / dropdown.md
Last active May 10, 2025 18:03
"Dropdowns" in Markdown
How do I dropdown?
This is how you dropdown.

<details>
<summary>How do I dropdown?</summary>
<br>
This is how you dropdown.
@citrusui
citrusui / apps.md
Last active July 27, 2017 22:59
Reference of desktop apps that I frequently use or find interesting.
#!/bin/bash
#
# This script is run by Variety when a new wallpaper is set.
# You can use bash, python or whatever suits you for the script.
# Here you can put custom commands for setting the wallpaper on your specific desktop environment
# or run commands like notify-send to notify you of the change, or you can
# run commands that would theme your browser, login screen or whatever you desire.
#
# PARAMETERS:
# $1: The first passed parameter is the absolute path to the wallpaper image to be set as wallpaper

macOS: ~/Library/Application\ Support/Google/Chrome/Default/File\ System

Windows: %LOCALAPPDATA%\Google\Chrome\User Data\Default\File System\

Linux: ~/.config/google-chrome/Default/File\ System/

javascript: (function() {
d = document;
t = d.querySelector("img");
var s = String.fromCharCode,
c = d.createElement("canvas");
var cs = c.style,
cx = c.getContext("2d"),
w = t.offsetWidth,
h = t.offsetHeight;
c.width = w;
@citrusui
citrusui / stories.md
Last active October 9, 2017 01:07
Feelings of midday solace.

What do we gain from this?

Why waste your life in search of purpose?

When virtual companions satisfy our lust for information.

Where everyone you know lives an exactly identical lie.

While each person feels the same nostalgia toward a false past.

@citrusui
citrusui / login.py
Created February 9, 2017 14:08
Simulates an SSH login session.
"""This script simulates an SSH login."""
import sys
user = None
print("System Login:\n")
def y_n(question):
"""Check for input of yes or no."""