Skip to content

Instantly share code, notes, and snippets.

@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
@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 / 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 / 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 / doge-term.sh
Last active December 29, 2015 05:58
Doges your terminal up
# Doges your terminal up
# Requires Mac OS X, lolcat, and thinderman's doge
# Doge: https://github.com/thiderman/doge
# lolcat: https://github.com/busyloop/lolcat
# Display a lovely doge
doge
# Alias for periodic pretty doge lines
@vtsatskin
vtsatskin / .gitignore
Last active December 30, 2015 16:09
Python global and user config variables + git. The idea behind this is that you have one central place to keep config variables with the option of having user-specific variables outside of user control. Useful for working with API keys and other sensitive data. Simply put user-specific variables in config_user.py.
config_user.py
<html>
<head>
<meta http-equiv="refresh" content="0;URL=redirect.loop.a.html">
</head>
<body>
</body>
</html>
@vtsatskin
vtsatskin / README.md
Created March 4, 2014 00:06
Firefox Network Error Message Rate of Occurances

Firefox Network Error Message Rate of Occurances

A quick and dirty analysis of the rate of the occurances of different network errors. The data source used was from testpilot.

Results

output.english.only.json contains each error message with their rate of occurances.

Notes

@vtsatskin
vtsatskin / gist:11158053
Created April 21, 2014 22:00
Setup instructions to use jknielse/WorkReport on Mac OS X

Install MacTex

LaTeX is distributed on Mac OS X via MacTex. As of this wriiting the installer is 2.3 GB. It's pretty large so it'll take some time to download.

You can find the latest version on their website.

(Optional) Add /usr/texbin to your PATH

You can skip this section if you don't use a different system shell (i.e. you use bash).

@vtsatskin
vtsatskin / status.md
Last active August 29, 2015 14:00
Firefox UX Internship Exit Status

Firefox UX Internship Exit Status

An overview of the various projects I've worked on and their statuses.

Network Error Pages

  • Status: active
    • Needs review (visual style changes bug 982347)
    • Lots of other bugs to be done that bug 982347 blocks.
  • Meta bug