Skip to content

Instantly share code, notes, and snippets.

@vtsatskin
vtsatskin / PokeMMO.scpt
Created January 28, 2013 16:43
A Mac OS X launcher for the PokeMMO. 1) Open AppleScript Editor, paste the code 2) Export as an Application, and name it "PokeMMO.app" (won't run otherwise) 3) Save it in the root folder of the client, same location as the `.sh` and `.exe`
set mypath to (path to me) as string
tell application "Finder" to set theFilename to name of file mypath
set theName to characters 1 thru ((offset of "." in theFilename) - 1) of theFilename as string
do shell script "cd " & POSIX path of mypath & "/.. && sh " & theName & ".sh"
@vtsatskin
vtsatskin / cell.css
Last active December 11, 2015 08:08
MadeInWaterloo company cell hover animation. Requires jQuery
.cell {
position: relative;
height: 125px;
margin-bottom: 20px;
background: white;
border-top-width: 0.5em;
border-top-style: solid;
text-align: center; }
@media (min-width: 1200px) {
.cell {
@vtsatskin
vtsatskin / UW Residences.js
Created April 3, 2012 22:56
A partial list of University of Waterloo residences in JSON
[
{
residence: "V1",
floors: [
{ id: "0", name: "Basement" },
{ id: "1", name: "1" },
{ id: "2", name: "2" },
{ id: "3", name: "3" },
],
buildings: [
@vtsatskin
vtsatskin / Ubuntu rbenv
Created March 15, 2012 02:49 — forked from HatemMahmoud/Ubuntu rbenv
Installing Ruby 1.9.3 with OpenSSL on Ubuntu 11.04 using ruby-build and rbenv
# for more info: https://gist.github.com/1120938