This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
colorscheme:symfony | |
cs_re:cyan:^\[....-..-.. ..:..:..\] | |
cs_re:blue: .*\.(INFO|NOTICE).* | |
cs_re:red: .*\.(ERROR|CRITICAL).* | |
cs_re:blue: \{[^}]+\} |
Verifying that +borisschapira is my blockchain ID. https://onename.com/borisschapira |
#!/usr/bin/php | |
<?php | |
$repos = array(); | |
exec("find -type d -name .git -not -path '*/node_modules/*' -not -path '*/vendor/*' | sed -e 's/\.git//'", $repos); | |
foreach ($repos as $repo) { | |
$status = shell_exec("cd $repo && git status"); | |
if (false == strpos($status, 'nothing to commit (working directory clean)')) { | |
echo "$repo\n" . str_repeat('-', strlen($repo)) . "\n$status\n\n"; | |
} | |
} |
@echo off | |
setLocal EnableDelayedExpansion | |
GOTO checkvars | |
:checkvars | |
IF "%1"=="" GOTO syntaxerror | |
IF NOT "%1"=="-f" GOTO syntaxerror | |
IF %2=="" GOTO syntaxerror | |
IF NOT EXIST %2 GOTO nofile | |
IF "%3"=="" GOTO syntaxerror |
@ECHO OFF | |
IF "%1"=="" GOTO HAVE_0 | |
:Loop | |
IF "%1"=="" GOTO Continue | |
set "template=%1\.*" | |
ECHO."Hiding 'dot directories' in folder %1" | |
ATTRIB +H /s /d %template% | |
SHIFT | |
GOTO Loop | |
GOTO Continue |
(function () { | |
function shuffle(array) { | |
var currentIndex = array.length, | |
temporaryValue, | |
randomIndex | |
; | |
// While there remain elements to shuffle... | |
while (0 !== currentIndex) { | |
// Pick a remaining element... | |
randomIndex = Math.floor(Math.random() * currentIndex); |
(function () { | |
var verb = prompt("Verbe à chercher sur LeConjugueur.com :", ""); | |
var openWindow = window.open("http://leconjugueur.lefigaro.fr/php5/index.php?verbe=" + verb); | |
})() |
(function () { | |
// The Unicode keys | |
var characterKeys = { | |
u: 38, | |
d: 40, | |
l: 37, | |
r: 39, | |
a: 65, | |
b: 66 | |
}; |
if (!premiers) | |
var premiers = []; | |
function PremiersInferieursA(maxNumber, fromNumber) { | |
if (!fromNumber) | |
fromNumber = 0; | |
function estPremierSachantInferieursTestes(n) { | |
// Si on l'a déjà testé, on sait |