Skip to content

Instantly share code, notes, and snippets.

View h4xnoodle's full-sized avatar
🏕️

rebecca h4xnoodle

🏕️
View GitHub Profile
@h4xnoodle
h4xnoodle / gist:5605673
Created May 18, 2013 20:25
Cool links from LLC mobile web in Ottawa!
Jazz up your websites:
Insert placeholder images (also placedog.com)
http://placekitten.com
Fake text (others: hipster ipsum)
http://baconipsum.com
Colours and patterns for backgrounds
http://colourlovers.com
@h4xnoodle
h4xnoodle / chicken-pot-pie
Last active December 27, 2015 08:29
Chicken Pot Pie - Nov 3 dinner Makes two 4" pies + a bunch of leftover filling. Will probably make 1 giant 9" pie
* Ingredients *
Crusts for pans of some sort; I used 4" dollarama pot pie pans
Crust recipe: https://gist.github.com/h4xnoodle/7296343
~2 cups frozen mixed veggies
Almost all of a grocery rotisserie chicken, shredded
1 red potato, cubed
2+ tbsp butter -- don't go beyond 1/3 cup, fatty
one medium cooking onion, diced
as much garlic as you want, minced
@h4xnoodle
h4xnoodle / pie-crust-and-usage
Created November 4, 2013 00:19
General purpose pie crust + using it for a pie
* Tips *
For optimal crusts, the ratio of flour:fat:water is 3:2:1.
Recommended fats: lard, vegetable shortening, the former(s) mixed with equal parts butter. However, using some butter usually means to lessen the water content: butter contains more water than lard/shortening. Just bring back the water a little bit for if butter is 1/2 of the fat.
Flour is cake/pastry flour. Lower protein and adds more levening.
Water needs to be ice cold. This keeps the fat separated from the flour and causes awesome flakiness when baking. The layers of fats pressed together expand causing the flaky crust.
Don't overmix or over knead. This works against the above. When rolling or mixing, dough should be kept as cold as possible. It will not stick to your rolling pin as much if it's cold.
@h4xnoodle
h4xnoodle / gist:dff65de9712d8ff03d91
Created April 11, 2015 21:23
Buttermilk vanilla cake
3 cups sifted cake flour
2 cups sugar
1 tablespoon + 1 teaspoon baking powder
3/4 teaspoon salt
1 cup cold unsalted butter, cut into pieces
1 cup buttermilk, room temp**
2 teaspoons high quality vanill extract
5 large eggs, room temp
Oven at 350F. Makes enough for 3 8" layers
@h4xnoodle
h4xnoodle / bosh-certs-rotate.txt
Last active October 12, 2021 17:32
Bosh system certificate rotation
On director
Task kick off to rotate some certs
nats, blobstore, system ones
shows 'updating instance' calls but it's not a deploy
maybe say 'configuring instance blah/xxx'
Applying instance configuration acb/123
-- Generating: exchange key pair, new certificates
-- Encrypting and sending certificates
@h4xnoodle
h4xnoodle / bosh-faster-prepare-diff.txt
Created November 8, 2019 03:59
bosh faster prepare deployment diff
does the unrendered template have a fingerprint?
can i build list of template's used properties? probably with ruby magic
can also warn about unused properties here as a bonus side-effect feature
inputs to final template
template itself (fingerprint unrendered)
job property values from manifest directly (ordered & hashed?)
credhub variables (version ids)
@h4xnoodle
h4xnoodle / shittytimers.html
Created April 26, 2020 19:43
quarantine timers
<html>
<head>
<style rel='stylesheet'>
body {
text-align: center;
padding: 130px 0 0 0;
}
div {
text-align: center;
font-family: 'Roboto', sans-serif;
@h4xnoodle
h4xnoodle / gist:fe3b0178d34f45a67b18215e104880e5
Last active February 14, 2023 01:23
Delete soundcloud likes
# Auth flow to get token
# Get likes in batch of 100 with pagination
# curl -X GET "https://api.soundcloud.com/me/likes/tracks?limit=100&access=&linked_partitioning=true" -H "Bearer: <TOKEN>" -H "accept: application/json; charset=utf-8"
# Delete all in batch
# each ID of above
# curl -X DELETE "https://api.soundcloud.com/likes/tracks/<ID>" -H "Bearer: <TOKEN>" -H "accept: application/json; charset=utf-8"