Skip to content

Instantly share code, notes, and snippets.

View jwrb's full-sized avatar
🏠
Working from home

Joshua Baldwin jwrb

🏠
Working from home
View GitHub Profile
@jwrb
jwrb / GetShapeArea.jsx
Last active August 30, 2016 08:34 — forked from bryanbuchanan/GetShapeArea.jsx
Script to find the area of shapes in Adobe Illustrator
/* Save this file with a jsx extension and place in your
Illustrator/Presets/en_US/Scripts folder. You can then
access it from the File > Scripts menu */
if (app.documents.length > 0) {
if (app.activeDocument.selection.length < 1) {
alert('Select a path first');
} else if (app.activeDocument.selection[0].area) {
// Individual Items
@jwrb
jwrb / osx-for-hackers.sh
Last active August 29, 2015 14:26 — forked from matthewmueller/osx-for-hackers.sh
OSX for Hackers (Mavericks/Yosemite)
# OSX for Hackers (Mavericks/Yosemite)
#
# Source: https://gist.github.com/brandonb927/3195465
# Modified for Joshua Baldwin
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
@jwrb
jwrb / Tutorial.md
Last active August 29, 2015 14:15 — forked from vemacs/Tutorial.md

Prerequisites

  • a vswap OpenVZ VPS or a KVM/Xen/VMware VPS with Ubuntu Server 14.04 LTS installed (architecture doesn't matter), or a dedicated server
  • patience and a willingness to learn
  • approximately 10 minutes of time

Why Ubuntu LTS?

#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
#!/usr/bin/python
'''
CubeWorld Server Port Changer
By island219
Version 1.0
'''
import os
if not os.path.isfile("Server.exe"):
raise Exception("Couldn't find server binary!")