Skip to content

Instantly share code, notes, and snippets.

View activescott's full-sized avatar
👋
Working and Playing

Scott Willeke activescott

👋
Working and Playing
View GitHub Profile
@khalidx
khalidx / node-typescript-esm.md
Last active April 22, 2024 15:40
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

@ricardoalcocer
ricardoalcocer / .bashrc
Last active July 19, 2016 06:33
Terminal JSON formatting
# from: http://stackoverflow.com/questions/352098/how-can-i-pretty-print-json
alias json='python -m json.tool'
@a-dma
a-dma / yubitouch.sh
Last active March 10, 2022 14:43
Bash script for setting or clearing touch requirements for cryptographic operations in the OpenPGP application on a YubiKey 4.
#!/bin/bash
# Bash script for setting or clearing touch requirements for
# cryptographic operations the OpenPGP application on a YubiKey 4.
#
# Author: Alessio Di Mauro <alessio@yubico.com>
GCA=$(which gpg-connect-agent)
DO=0
UIF=0
@Azolo
Azolo / Travis-CI-Windows.md
Created May 24, 2012 17:46
Travis-CI on Windows stuff

Travis CI on Windows (Box Building)

Why not use Vagrant?

  • Bare Box takes 20 minutes to Build
  • While licensing itself is not an issue, [activation is][1]
    • Boxes would require maintiance every 30 days and rebuilding every 120 days
  • No easy remote commands
    • ssh is through cygwin and cygwin doesn't present a clean environment
  • winrm is a [HUGE PAIN][2] if you're not on an Active Directory Domain
@coldnebo
coldnebo / Default (Linux).sublime-keymap
Created August 10, 2011 23:20
simple scripts to prettify your xml and json in sublime text 2
[
{ "keys": ["ctrl+shift+x"], "command": "tidy_xml" },
{ "keys": ["ctrl+shift+j"], "command": "prettify_json" }
]