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 / 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.
[
{
"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 / 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.
git config --global user.email [email protected]
git config --global user.name "Avery Magnotti"
@citrusui
citrusui / gitio.rb
Created July 23, 2016 19:48
Customized URLs for https://git.io
#!/usr/bin/env ruby
print "URL: "
ENV["url"] = gets.chomp
print "Code: "
ENV["code"] = gets.chomp
system 'curl -i https://git.io -F "url=$url" -F "code=$code"'
#!/bin/bash
### run.sh - citrusui CSS
git clone [email protected]:ce3564c1de08d12b56bf
git clone [email protected]:twbs/bootstrap-sass
cd ce3564c1de08d12b56bf
git pull
cd ..
cd bootstrap-sass
@citrusui
citrusui / twbs3.sh
Created April 21, 2016 21:48
Grab Bootstrap 3 (Sass), and compile just the minified CSS
#!/bin/bash
if [ -d "bootstrap-sass" ]; then
cd bootstrap-sass
git pull
cd assets/stylesheets
sass -t compressed _bootstrap.scss bootstrap.min.css
mv bootstrap.min.css ../../../bootstrap.min.css
exit 0
fi
git clone git://github.com/twbs/bootstrap-sass
@citrusui
citrusui / fancybutton.md
Last active September 30, 2024 08:04
How to add a fancy Direct Message button to your Tweets https://twitter.com/citrusui/status/719279185123012609

How to add a fancy Direct Message button to your Tweets

Step 1: Go to tweeterid.com and enter your username.

Step 2: Copy your user ID from the previous website.

Step 3: Copy the following URL:

@citrusui
citrusui / _variables.scss
Created March 13, 2016 03:54
The Bootstrap configurations behind citrusui.github.io.
$bootstrap-sass-asset-helper: false !default;
//
// Variables
// --------------------------------------------------
//== Colors
//
//## Gray and brand colors for use across Bootstrap.