Skip to content
View router.js
// micro Router for Front-end
//
// Deps: Require.js
//
// Tries to get the first portion ('folder') of the current location
// using Require.js and evaluate it;
//
// Alex Buznik (shu@buznik.net), 2015
var Router = function() {
this.routes = {
View computer-sale.md

Продаю некогда облюбованный и долгожданный компьютер.

Хотелка 6000 грн. Пока только комплектом.

View debounce.js
/**
* Debounce creates a FUNCTION that when invoked, delays invoking func for wait milliseconds since
* the last time it is called.
*
* Examples of where this may be useful:
*
* // Avoiding repeated costly operations while a window size is in flux
* jQuery(window).on('resize', debounce(calculateLayout, 150));
*
* // Avoiding triggering an event on a double button press
View README.md

This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo's Les Misérables, compiled by Donald Knuth.

Compare this display to a force layout with curved links, a force layout with fisheye distortion and a matrix diagram.

View data.json
{
"nodes": [
{"group":1, "neighbours":[3,7,8,9,10,11],"node_id":1},
{"group":1, "neighbours":[1],"node_id":3},
{"group":1, "neighbours":[1,8,9,10],"node_id":7},
{"group":2, "neighbours":[1,7,10,11],"node_id":8},
{"group":3, "neighbours":[1,7,10],"node_id":9},
{"group":1, "neighbours":[1,7,9,11],"node_id":10},
{"group":1, "neighbours":[1,7,9],"node_id":11}
]
View wp-jouele-2-svn.sh
echo "wp-jouele I don't wanna SVN deploy"
cd ~/work/htdocs/wp-test/wp-content/plugins
cp -R wp-jouele/* ~/work/wp-jouele/trunk
cd ~/work/wp-jouele
rm -rf .git
View popdown.md
View gm-fsdfm.php
<?php namespace GM\FSDFM;
/**
* Plugin Name: Fullscreen Distraction-Free Mode (pre v4.1)
* Description: Allows to use the distraction-free mode that was active pre 4.1 WP version.
* Plugin URI: https://gist.github.com/Giuseppe-Mazzapica/c081ce03a68b00d983d5
* Author: Giuseppe Mazzapica
* Author URI: https://gm.zoomlab.it
* License: MIT
* Version: 1.0.0
*/
View scss.scss
.b_imageload {
&__thumbnail {
color: green;
&--profile & {
color: red;
}
}
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Something went wrong with that request. Please try again.