Skip to content

Instantly share code, notes, and snippets.

View lethee's full-sized avatar

lethee lethee

  • Weaveus
  • Seoul, South Korea
View GitHub Profile
@bmatcuk
bmatcuk / create-usb.sh
Created May 30, 2019 04:38
Creating a Bootable Windows USB from ISO on a Mac
# First, we need to find our device. BEFORE inserting your USB drive, run the
# following:
diskutil list
# This will output a bunch of info about all of the disk drives connected to
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is
# some number starting at 0. Now, insert your USB drive and run the command
# again. You should see a new entry. Make note of the name (ie, /dev/diskX).
diskutil list
@2minchul
2minchul / Dockerfile
Last active February 14, 2019 04:23
ubuntu-kr
FROM ubuntu:16.04
RUN sed -i '[email protected]@kr.archive.ubuntu.com@g' /etc/apt/sources.list
@sixolet
sixolet / execute.js
Created July 26, 2013 18:52
This is a thing that I often use to wrap child_process in Meteor (or variations on it)
Exec = {};
var Fiber = Npm.require('fibers');
var Future = Npm.require('fibers/future');
var Process = Npm.require('child_process');
Exec.spawn = function (command, args, options) {
var out = "";
var err = "";
var ret = new Future;