Skip to content

Instantly share code, notes, and snippets.

View igorshubovych's full-sized avatar
💭
I may be slow to respond.

Igor Shubovych igorshubovych

💭
I may be slow to respond.
View GitHub Profile
@piranha
piranha / пше
Last active January 3, 2025 20:56
пше гит, прошу пана
#!/usr/bin/env python
# -*- mode: python, coding: utf-8 -*-
#
# This incredible piece of code makes git a bit Polish, a bit Western Ukrainian,
# пше прошу пана
# Joke is based on fact that 'git' is 'пше' in qwerty/йцукен layouts
#
# (c) 2013 Alexander Solovyov under terms of WTFPL
import sys
@vanpelt
vanpelt / ruby_engineer.md
Created April 9, 2013 01:32
Ruby Web Engineer

#About Us:

CrowdFlower is changing the way work gets done. We build a quality control system that distributes work to millions of people around the world, and analyzes the results to guarantee the highest possible accuracy. We're 50 people based in the Mission District of San Francisco, have a ton of plants in the office, and a real business model.

#The Job:

We're looking for an engineer that loves the web and has built applications they're proud of using Ruby. At CrowdFlower we're building a number of services backed by Ruby / Rails and Clojure. As a Ruby Web Engineer, you'll be interfacing closely with the rest of our 15 person engineering team to expose new API endpoints for our Ember frontends and developer API.

Our applications are used by thousands of people every hour around the world. Everything our engineers do has real and tangible impacts. You won't be just another cog in the machine.

@nickawalsh
nickawalsh / icons.sass
Last active October 7, 2021 09:38
Auto Hi-res Sprites
@import compass
$icons: sprite-map("icons/*.png")
$icons-hd: sprite-map("icons-hd/*.png")
i
background: $icons
display: inline-block
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)
background: $icons-hd
@jlong
jlong / uri.js
Created April 20, 2012 13:29
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
@erikh
erikh / hack.sh
Created March 31, 2012 07:02 — forked from DAddYE/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
# ~/.gitconfig from @boblet
# initially based on http://rails.wincent.com/wiki/Git_quickstart
[core]
excludesfile = /Users/oli/.gitignore
legacyheaders = false # >git 1.5
quotepath = false
# http://stackoverflow.com/questions/136178/git-diff-handling-long-lines
pager = less -r
# if ↑ doesn’t work, try: pager = less -+$LESS -FRX