Skip to content

Instantly share code, notes, and snippets.

View mthenw's full-sized avatar
🎯
Focusing

Maciej Winnicki mthenw

🎯
Focusing
View GitHub Profile
@mthenw
mthenw / gist:fe8c0b24876c3df3a258635617e826b8
Created September 22, 2017 08:11
systemd mounting and formatting
systemd:
units:
- name: format-ebs.service
command: start
contents: |
[Unit]
Description=Formats EBS /dev/xvdb volume
After=dev-xvdb.device
Requires=dev-xvdb.device
[Service]
@mthenw
mthenw / README.md
Last active July 4, 2022 16:14
iTerm2 configuration
@mthenw
mthenw / aws_whitelist.json
Last active April 20, 2017 21:12
List of aws-sdk functions tracked by aws-xray-sdk-core's captureAWS
{
"services": {
"dynamodb": {
"operations": {
"batchGetItem": {
"request_descriptors": {
"RequestItems": {
"get_keys": true,
"rename_to": "table_names"
}
@mthenw
mthenw / gist:7114d5e79d2cbd680093
Created January 27, 2015 22:25
nextTick vs microtasks
setTimeout(function () {
Promise.resolve().then(function () {
console.log("Promise");
});
process.nextTick(function () {
console.log("nextTick");
});
}, 1);

Keybase proof

I hereby claim:

  • I am mthenw on github.
  • I am mthenw (https://keybase.io/mthenw) on keybase.
  • I have a public key whose fingerprint is 7043 9B11 68DF 611B CBDA 0615 1DC7 DCCD 88E5 2E02

To claim this, I am signing this object: