Skip to content

Instantly share code, notes, and snippets.

View tinkertim's full-sized avatar

Tim Post tinkertim

View GitHub Profile
@tinkertim
tinkertim / simple-egg-pasta.md
Last active December 30, 2023 10:13
Simple yet semi-foolproof egg pasta dough

Description

This is a simple egg pasta recipe that I've been refining over the years of making fresh pasta for my family. It's based on a recipe I picked up while I was a line cook at a family Italian place about 20 years ago that has long since gone out of business; I've put it back together and adjusted it so it scales down as easily as it does up. Originally, this was made in 10kg (20+ pound) batches.

This dough isn't suitable for extruders, it is intended for rolling and cutting. That means you can make pretty much any kind of noodle, or lasagna sheet out of it. If you want to make ravioli or other stuffed pasta, you want to use a recipe with quite a bit more egg in it, and more steps for drying. If you want to make shaped pasta, such as shells, you probably want a durum wheat & water (eggless) dough recipe instead.

Yield

The flow below illustrates a workflow where all social accounts are polled, then fed into a system that helps surface the best 5% of things to publish in the main feed. We then take a portion of that, remove anything linking to Twitter, give Videos around two minutes long more weight (pulling in more if needed), and publish to Mastodon, just as an example of how we might use multiple outputs.

Here's the flow:

flowchart TD
    sTwitter[Twitter] --> cli{Fetcher};
    sBlog[Blog] --> cli{Fetcher};
@tinkertim
tinkertim / iowait.c
Last active September 28, 2022 18:18
Determine the average time a system spends iobound from boot (useful for seeing how stacked & oversold low-cost VMs are)
/* See how much time a system spends in iowait since boot (as a percentage)
* Useful to alert on iobound processes
* Written by Tim Post, March 2008
* Hereby donated to the public domain, or use under the terms of the MIT license.
*/
#include <stdio.h>
#include <time.h>
#include <string.h>
#ifndef USER_HZ
@tinkertim
tinkertim / grawk.c
Last active September 28, 2022 18:17
Grep + Awk in super small memory footprint form factor for use as a log saw on embedded systems.
/* Copyright (c) 2008, Tim Post <tinkertim@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright notice,
@tinkertim
tinkertim / tim.5.md
Last active September 28, 2022 17:05
Useful Things To Know About Tim Post

I'm really humbled that you're reading this, because it means that you care enough about including me in something that you came here to find out how to do that. Normally, I get a chance to let people know these things in person, but lists like this can be helpful when we're trying to arrange getting together.

What are your travel needs?

I'm able to travel overnight to most states in the US, and longer to others, depending on local regulations when it comes to medications that I take. International travel is possible, depending on length, and the same concerns regarding medications.

I'm in pretty great shape, so most people are surprised when I suddenly run out of spoons. I need to be able to rest every few hours, and know about any walks over 2 kilometers well in advance.

Where can you eat?

@tinkertim
tinkertim / fakeigniter.php
Created May 3, 2012 13:37
A fake Codeigniter framework for testing codeigniter-redis
<?php
error_reporting(E_ALL);
/**
* A 'fake' Codeigniter framework for testing codeigniter-redis
* I seriously wrote this because it was faster than setting up another CI install, so I can
* work on it without breaking stuff that other people are using.
* Written by Tim Post <tpost@ezp.net> I take no responsibility for what comes below!
**/
/* Provide some of the CI common functions */
@tinkertim
tinkertim / SoyaRoastChicken.md
Last active February 5, 2019 02:59
Recipe for Tim's "soya" roast chicken.

Sweet & Spicy Soya Roast Chicken

A twist on a comfort dish that's popular around S.E. Asia, Hong Kong & Macau. I've enjoyed this dish many times in The Philippines and Hong Kong, it really brings back memories. I've done my own thing with it, but left it mostly as I found it, and I hope that you enjoy it and do your own thing with it too.

Soy Garlic Chicken

This is a semi-traditional "soya" roast chicken recpipe that's relatively common in many parts of S.E. Asia as well as Hong Kong and Macau. It's juicy, delectable, and with a combination of sweet, spicy, salty, sour & savory, it's hard to stop eating.

You'll find it chopped on the bone and served in bite-sized pieces with fragrant rice, or de-boned, sliced, and served with egg noodles in soup.

Keybase proof

I hereby claim:

  • I am tinkertim on github.
  • I am tpost (https://keybase.io/tpost) on keybase.
  • I have a public key whose fingerprint is E67A 7FBA A831 D6FD 8355 18C2 136C 2D94 857F 2BB0

To claim this, I am signing this object: