Skip to content

Instantly share code, notes, and snippets.

p1;p2

-->

fixups(p1);p2;fixups(p1^) ; fixups(p2^);p1;fixups(p2)
@hsenag
hsenag / yield.js
Last active January 18, 2023 08:06
// This code aborts (paste into a shell command-line, or drop the first and last lines and put in a `.js` or `.ts` file):
node << END
console.log("start");
async function throws() {
throw new Error("oops");
}
async function main() {
@hsenag
hsenag / Tax.hs
Last active April 29, 2022 19:09
-- This has dependencies on other code so won't compile, but at least shows the logic.
-- Money "GBP" is just an Int counting the number of pence.
module Records.Tax where
import Money
import Schedule.Variable
import Control.DeepSeq
import Data.Serialize
New patches:
[unrevert
anon**20210521205113
Ignore-this: 8e1c9cacf59ffb571cf239be5c8612958692434926d8bb21fb79f936bc79b4c5a48014f55725925
] hunk ./bar 1
-foo
+food
Context:

Keybase proof

I hereby claim:

  • I am hsenag on github.
  • I am ganesh (https://keybase.io/ganesh) on keybase.
  • I have a public key whose fingerprint is DB6D F9D6 8054 6A23 AC92 93E5 62AB 84AD CCE8 90EE

To claim this, I am signing this object:

ganesh@alaveteli:~/alaveteli$ apt-cache policy bundler
bundler:
Installed: 1.3.5-2
Candidate: 1.3.5-2
Version table:
*** 1.3.5-2 0
50 http://ftp.debian.org/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status
ganesh@alaveteli:~/alaveteli$ less config/packages
# please note that this package list currently forms part of the