Skip to content

Instantly share code, notes, and snippets.

View Simon-Tang's full-sized avatar

Simon Tang Simon-Tang

View GitHub Profile
@RedstoneWizard22
RedstoneWizard22 / README.md
Last active June 5, 2024 12:45
Make web workers fun! A tiny library allowing you to use web workers via asynchronous proxy functions!

promise-worker.ts

Make web workers fun!

This tiny library allows you use web workers via asynchronous proxy functions! No more struggling with mesages and event handlers - all this is done automatically. Exposed worker functions return promises resolving with their results.

  • Full typescript support
  • Bundler independent
  • Perfect with async/await
  • Tiny size
2070 Paradigm Shift Transcript
Transcribed by Edwin Finch
Sam, you're a legend. Enjoy
==============================
Whew.
Hey.
@arr2036
arr2036 / big_red_button.c
Last active March 15, 2019 16:02
Simple program for interfacing with the Dream Cheeky Big Red Button, on any Linux/BSD type OS
/* (The MIT License)
*
* Copyright (c) 2014 Arran Cudbard-Bell <a.cudbardb@freeradius.org>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the 'Software'), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions: