Skip to content

Instantly share code, notes, and snippets.

Working Hard

Vadim Makeev pepelsbey

Working Hard
Block or report user

Report or block pepelsbey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ruario /
Last active Sep 7, 2018
How to install Opera developer for Linux on distributions other than Debian, Ubuntu or derivatives
NV / most_used_css_property_names.js
Created Sep 19, 2012
PhantomJS script to collect most used CSS property names (supported by WebKit)
View most_used_css_property_names.js
// phantomjs --web-security=no most_used_css_property_names.js
var urls = [
paulirish / gist:3098860
Created Jul 12, 2012
Open Conference Expectations
View gist:3098860

Open Conference Expectations

This document lays out some baseline expectations between conference speakers and conference presenters. The general goal is to maximize the value the conference provides to its attendees and community and to let speakers know what they might reasonably expect from a conference.

We believe that all speakers should reasonably expect these things, not just speakers who are known to draw large crowds, because no one is a rockstar but more people should have the chance to be one. We believe that conferences are better -- and, dare we say, more diverse -- when the people speaking are not just the people who can afford to get themselves there, either because their company paid or they foot the bill themselves. Basically, this isn't a rock show rider, it's some ideas that should help get the voices of lesser known folks heard.

These expectations should serve as a starting point for discussion between speaker and organizer. They are not a list of demands; they are a list of rea

chrisguitarguy / force-ie.php
Created May 16, 2012
Add an X-UA-Compatible header to WordPress
View force-ie.php
Plugin Name: Force IE Edge
Description: Add an X-UA-Compatible header to WordPress
Author: Christopher Davis
Author URI:
License: GPL2
Copyright 2012 Christopher Davis
erikh /
Created Mar 31, 2012 — forked from DAddYE/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh

Adaptive Image Element


Mat Marquis

Status of this Document

This is an unofficial draft spec, not formally endorsed by the WHATWG. It is suitable only for reviewing the details of the proposed element.

Table of Contents

View gist:1723959
function resolveURL(baseURL, relativeURL) {
var html = document.implementation.createHTMLDocument("");
var base = html.createElement("base");
base.setAttribute("href", baseURL);
var a = html.createElement("a");
a.setAttribute("href", relativeURL);
return a.href;
topliceanu / micro-mustache.js
Created Dec 30, 2011
John Resig's Micro Template with changed tags from <%=, %> into more mustache-esque {{= and }}
View micro-mustache.js
// Simple JavaScript Templating
// John Resig - - MIT Licensed
var cache = {};
this.tmpl = function tmpl(str, data){
// Figure out if we're getting a template, or if we need to
// load the template - and be sure to cache the result.
var fn = !/\W/.test(str) ?
cache[str] = cache[str] ||
evilmarty / gist:1338499
Created Nov 4, 2011
Mobile Safari form label to input focusing
View gist:1338499
// For use in jQuery
// Some mobile browsers (ie. Mobile Safari) don't focus their associated inputs
// so we force that behavior when possible.
// First we check when a label is touched and is associated with a radio or checkbox input,
// if so then we mark it as having focus.
.live('touchstart', function(event) {
var input = ? $( : $('#' +;
if ('[type=checkbox], [type=radio]'))
View sass_and_less_compared.markdown

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.


You can’t perform that action at this time.