Skip to content

Instantly share code, notes, and snippets.

View Jacqopb's full-sized avatar

Jacob Tallberg Jacqopb

  • Kalmar, Sweden
  • 16:33 (UTC +02:00)
View GitHub Profile
@Jacqopb
Jacqopb / node-typescript-esm.md
Created November 21, 2023 11:48 — forked from khalidx/node-typescript-esm.md
A Node + TypeScript + ts-node + ESM experience that works.

The experience of using Node.JS with TypeScript, ts-node, and ESM is horrible.

There are countless guides of how to integrate them, but none of them seem to work.

Here's what worked for me.

Just add the following files and run npm run dev. You'll be good to go!

package.json

@Jacqopb
Jacqopb / stage-keys.json
Last active May 11, 2020 07:20
Stage keys
{
"publicKey": {
"09dcb3c3-4a71-41e5-bc66-7c63256972cb": {
"pem": "-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqHOz3ThSXM/k5TCzhrgK
Uqi3YuyqhRwjqd0CDT/5jzX+E5ZeyHpMQCBfBsDw0gL9Sz9OinkQR3m9sj6HamCk
6zgqyu9XTKC0Ou3Nn9ldpO5Pv49+qMIAbJP0xn7ZsghIpoPbBlZxBq7QLpS93xCc
UWUlstol5+ioGf1q1ENRKvOq4PFaCZ0cAb6c0/0qmrQ/Q4UUQHGhBx+zNbY8vCBc
l4s3Xpn9eT1dacc+Me3GCAi19zjcyZQz9f7ezDAK2LDYuYCx7Y10zcDkXJL/jo9z
xdAFozvYXKPSURytr9a5Q06tRNTOW1bKm9/uQnWLHCL/dfmDsxBjLWYBqVlW9gLX

Keybase proof

I hereby claim:

To claim this, I am signing this object:

<html>
<head>
<title>Jacobs jquery demo</title>
<style>
body {
background : #346;
font-family: Georgia;
}
@Jacqopb
Jacqopb / index.html
Created May 10, 2012 06:29
AJAX Twitter client built with jQuery
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
var url='http://search.twitter.com/search.json?callback=?&q=';
var query;