Responsive photo grid with rowspan
Demo:
.test { | |
height: 139px; | |
width: 96px | |
} |
// ==UserScript== | |
// @name EmbedGithubFile | |
// @description Add an embed action on github repository. Like gist | |
// @id me.zilliox.EmbedGithubFile | |
// @homepageURL http://userscripts.org/scripts/show/121119 | |
// @supportURL http://userscripts.org/scripts/discuss/121119 | |
// @updateURL http://userscripts.org/scripts/source/121119.meta.js | |
// @version 2012.02.27 | |
// @author tzilliox | |
// @namespace http://zilliox.me |
sudo apt-get install libxml2-dev libxslt-dev libffi-dev libcairo2-dev libpango1.0-dev python-dev python-pip | |
sudo pip install WeasyPrint |
function debounce(func, wait) { | |
var timeout; | |
return function() { | |
var context = this, args = arguments; | |
var later = function() { | |
timeout = null; | |
func.apply(context, args); | |
}; | |
clearTimeout(timeout); | |
timeout = setTimeout(later, wait); |
(function(){ | |
var current_question = 1; | |
var questions = document.getElementById( 'questions' ); | |
var question1 = document.getElementById( 'question1' ); | |
var question2 = document.getElementById( 'question2' ); | |
var answer = document.getElementById( 'answer' ); | |
document.converter.onsubmit = function(){ | |
if ( current_question == 1 ) { | |
var origin = document.converter.value.value; | |
if ( document.converter.unit.value == 'm' ) { |
Demo:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>PrintPreview - A bookmarklet to preview the print version of a web page</title> | |
<meta name="viewport" content="initial-scale=1.0"> | |
<link rel="stylesheet" href="style.css" > | |
</head> | |
<body> | |
<h1>PrintPreview</h1> |
You can find the name / alais of every emojis in this gist
This script check domains availability of links from an HTML file
# Usage
$ ./check-domains.sh ./bookmarks.html
aslibrary.org is available
<?php | |
function usage( $argv ) { | |
echo PHP_EOL . | |
'Pidoa' . PHP_EOL . | |
'------------' . PHP_EOL . | |
'This script allow you to rename tv shows easily' . PHP_EOL . | |
PHP_EOL . | |
'Usage: php ' . $argv[ 0 ] . ' <folder_path> <pattern>' . PHP_EOL . | |
'Example: php ' . $argv[ 0 ] . ' ./ "Babylon 5 S%Sx%E %V"' . PHP_EOL . |