Skip to content

Instantly share code, notes, and snippets.

View dan-king's full-sized avatar

Dan King dan-king

View GitHub Profile
@dan-king
dan-king / Create iOS Icons 2016 Sizes with 180.jsx
Created April 4, 2020 05:25 — forked from colus001/Create iOS Icons 2016 Sizes with 180.jsx
Photoshop Script to Create iOS Icons from a source image
// Photoshop Script to Create iPhone Icons from iTunesArtwork
//
// WARNING!!! In the rare case that there are name collisions, this script will
// overwrite (delete perminently) files in the same folder in which the selected
// iTunesArtwork file is located. Therefore, to be safe, before running the
// script, it's best to make sure the selected iTuensArtwork file is the only
// file in its containing folder.
//
// Copyright (c) 2010 Matt Di Pasquale
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com
@dan-king
dan-king / mc-server-setup.md
Last active March 31, 2018 23:25 — forked from niksudan/mc-server-setup.md
How to create a new Minecraft Server with DigitalOcean

Creating a new Minecraft Server

Setup

Create a new Ubuntu 16.04 droplet on DigitalOcean. Make sure it has at least 2GB of RAM, and you provide it with your SSH key.

SSH into the server and install Java, which is required for Minecraft to run.

@dan-king
dan-king / node-service-on-windows.md
Created January 22, 2018 19:36
Steps for setting up a Node.js application as a service on Windows

Steps for setting up a Node.js application as a service on Windows

Step 1

Install node-windows:

npm install -g node-windowsremoveNodeWindowsService

Step 2

@dan-king
dan-king / ultimate-ut-cheat-sheet.md
Created August 3, 2017 21:38 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies