Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am blat on github.
  • I am blat (https://keybase.io/blat) on keybase.
  • I have a public key whose fingerprint is 04F8 9FCD B549 DE01 375F AE80 35C3 AD4A 7D23 46C9

To claim this, I am signing this object:

var founded = false;
var checkFavicon = function(url) {
var image = new Image()
image.onload = function() {
if (!founded) {
founded = true;
alert(url);
}
#!/usr/bin/env ruby
require "RMagick"
ARGV.each do |file|
image = Magick::Image.read(file).first
image = image.resize_to_fit(996, 996)
#!/usr/bin/env ruby
require "RMagick"
ARGV.each do |file|
image = Magick::Image.read(file).first
image = image.resize_to_fit(996, 996)
@blat
blat / .vimrc
Created September 28, 2010 07:48
set nocompatible " get out of horrible vi-compatible mode
set backspace=2 " make backspace work normal
set whichwrap+=<,>,[,],h,l " backspace and cursor keys wrap to
set lazyredraw " do not redraw while running macros (much faster) (LazyRedraw)
set backup " make backup file
set backupdir=~/.vim/backup " where to put backup file
set directory=~/.vim/temp " directory is the directory for temp file
set noswapfile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>{Title}{block:SearchPage} &ndash; {SearchQuery}{/block:SearchPage}{block:PostSummary} | {PostSummary}{/block:PostSummary}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
<meta name="text:Disqus Shortname" content="" />
<link rel="shortcut icon" href="{Favicon}" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}"/>
<style type="text/css">