Skip to content

Instantly share code, notes, and snippets.

@quanticle
quanticle / large_markdown.md
Last active Jun 17, 2020
Large Markdown File
View large_markdown.md
@quanticle
quanticle / the_generals.md
Created May 18, 2020
The Generals Outline
View the_generals.md

The Generals

Prologue: Capt. William Depuy and the 90th Division in Normandy, summer 1944

  • The 90th Division in June 1944 was a killing machine... of its own men
  • Completely stalled out, even in the face of light German opposition
    • Requested replacements totalling > 100% in six weeks of combat operations
    • Average term of service of a lieutenant leading a platoon: two weeks
  • Because of this, Lt. Gen. J. Lawton Collins relieved Brig. Gen. MacKelvie and replaced him with Maj. Gen. Eugene Landrum
    • Also ordered the relief of two of MacKelvie's subordinates:
View evangelion_notes.md

Episode 1: Angel Attack

  • OP is really good; I’d forgotten how good A Cruel Angel’s Thesis was
  • 2015
  • Flooded city (Tokyo?)
  • Row of tanks lined up (against what?)
  • Evacuation order
  • Boy standing at a phone booth – Shinji Ikari
  • Sees a blue-haired girl standing out of the corner of his eye; looks agains and she’s gone
  • Immediately after that – large explosion and we see the giant monster, under attack by a bunch of hover-jets
@quanticle
quanticle / stoned_temple_of_doom.md
Created Aug 26, 2019
Stoned Temple of Doom Albums
View stoned_temple_of_doom.md

Stoned Temple of Doom

  • Coat - Doomsdays (Full Album)
  • Nazca Space Fox - Nazca Space Fox (Full Album)
  • Oblivion Reptilian - Fried On Rock (2019) (New Full Album)
  • El Jefazo - Simbiosis (2019) (New Full Album)
  • Minus Green - Equals Zero (2019) (New Full Album)
  • Comacozer - Mydriasis (2019) (New Full Album)
  • Jesus the Snake - Black Acid, Pink Rain (2019) (New Full Album)
  • Mantra Machine - Heliosphere (2019) (New Full Album)
View kill_buffer_and_frame.el
(defun kill-buffer-and-frame ()
(interactive)
(progn
(kill-buffer)
(delete-frame)))
(global-set-key (kbd "C-x 5 k") 'kill-buffer-and-frame)
View emacs_windows_ssl.el
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t)
(when (< emacs-major-version 24)
;; For important compatibility libraries like cl-lib
(add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/")))))
View cmake_rant.txt
> im going to get blackout drunk this weekend and drop in a generic makefile for this project
> when you invoke cmake it spends like a full minute resolving dependencies
> because it literally scans the source
> cmake encourages you to do things like 'include "myheader.h"' instead of giving the full path to myheader.h
> which is dumb for 2 reasons
> 1: when i look at that line i have no idea where that file is unless i go looking for it
> 2: you literally cant have to files by the same name even if theyre 20 directories apart
> cmake is ~~smart~~ and will find the file for u
> to save you a few keystrokes the literal one time you ever write that include line
> and all the syntax is overly complex and over engineered
@quanticle
quanticle / test.js
Last active May 9, 2019
How do I wait for a promise to resolve?
View test.js
browser.webNavigation.onBeforeNavigate.addListener(e => {
let originalUrl = e.url;
console.log("Original URL: " + originalUrl);
let replaceRe = /(.*)coolSite/(.*)/;
let newUrl = originalUrl.replace(replaceRe, "$1coolerSite$2");
async function checkUrl(){
try {
let response = await fetch(newUrl, {method: "HEAD"});
if(!response.ok){
View fighter_plane_generations.md

First generation

  • Characteristics
    • High-subsonic speeds
    • Straight wings
    • Little difference from the final generation of propeller-driven aircraft
    • Mechanical control systems
    • Optical gunsights
  • Examples:
    • F-80 Shooting Star
@quanticle
quanticle / meeting_notes.md
Created Feb 14, 2019
2019-02-13 Clojure MN Meetup
View meeting_notes.md

AWS API Library from Cognitect: cognitect-labs/aws-api

  • Authentication
  • S3 User
  • IAM user
  • Operations
  • Documentation
  • AWS SDKs often include extra functionality that's not in the library itself
You can’t perform that action at this time.