Skip to content

Instantly share code, notes, and snippets.

@veekaybee
veekaybee / normcore-llm.md
Last active July 11, 2025 21:17
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

while true ; do
for nn in `oc get ns | cut -d' ' -f 1` ; do
if `oc get deployments -n $nn | grep -q webserver` ; then
oc patch deployment jobrunner --patch '{"spec":{"template":{"spec":{"containers":[{"name":"jobrunner","resources":{"requests":{"memory":"3G"}} }]}}}}' -n $nn
oc patch deployment hub-scan --patch '{"spec":{"template":{"spec":{"containers":[{"name":"hub-scan","resources":{"requests":{"memory":"2G"}} }]}}}}' -n $nn
echo "now scaling down $nn"
oc scale deployment hub-scan --replicas=0 -n $nn
@ericclemmons
ericclemmons / example.md
Last active September 20, 2024 12:46
HTML5 <details> in GitHub

Using <details> in GitHub

Suppose you're opening an issue and there's a lot noisey logs that may be useful.

Rather than wrecking readability, wrap it in a <details> tag!

<details>
 Summary Goes Here
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@staltz
staltz / introrx.md
Last active July 7, 2025 10:24
The introduction to Reactive Programming you've been missing
@aearly
aearly / Gruntfile.js
Last active June 24, 2016 06:43
Annotated Browserify Gruntfile
/**
* Annotated Gruntfile.
* This builds a Backbone/Marionette application using Dust.js (Linkedin fork) as a
* templating system, as well as some helpers from Foundation, with Browserify.
* It also configures a watcher and static server with live reload.
*/
module.exports = function (grunt) {
// This automatically loads grunt tasks from node_modules
require("load-grunt-tasks")(grunt);
@ArtSabintsev
ArtSabintsev / viewFromBarButtonItem.m
Last active August 31, 2018 16:55
Accessing default view from a UIBarButtonItem
/*
UIBarButtonItem does not subclass UIView.
However, there is a way to access the UIBarButtonItem's default view without breaching
Apple's 'Do not use private APIs' rule.
That's because said view responds to KVO, such as changing the tint-color.
*/
/*
After setting your UIBarButton item inside the UINavigationBar object or UIToolBar object,
access your view in the following fashion:
@bitemyapp
bitemyapp / gist:8739525
Last active May 7, 2021 23:22
Learning Haskell
@OSP123
OSP123 / gist:2417418
Created April 18, 2012 23:48
Typing Almost anything else, besides pushing to origin master, gives me this.
/usr/local/heroku/lib/heroku/updater.rb:33: warning: parenthesize argument(s) for future version
Uploading SSH public key /Users/y/.ssh/heroku_rsa.pub
/usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:79:in `readto': undefined local variable or method `count' for []:Array (NameError)
from /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:85:in `parse'
from /usr/local/heroku/vendor/gems/netrc-0.7.1/lib/netrc.rb:20:in `read'
from /usr/local/heroku/lib/heroku/auth.rb:92:in `netrc'
from /usr/local/heroku/lib/heroku/auth.rb:116:in `read_credentials'
from /usr/local/heroku/lib/heroku/auth.rb:59:in `get_credentials'
from /usr/local/heroku/lib/heroku/auth.rb:47:in `user'
from /usr/local/heroku/lib/heroku/auth.rb:14:in `client'
@lucasrizoli
lucasrizoli / gist:1603274
Created January 12, 2012 21:33
70 Unique Ways to Encode <
<
%3C
&lt
&lt;
&LT
&LT;
&#60
&#060
&#0060
&#00060