Skip to content

Instantly share code, notes, and snippets.

@vifo
vifo / go.sh
Created April 13, 2012 18:01
Configure, build and install ImageMagick 6.7.6.5 + PHP Imagick 2.3.0 under Ubuntu 10.04.4 LTS (with VPS OpenMP performance workaround)
#!/bin/sh
# ------------------------------------------------------------------------
# Configure, build and install ImageMagick 6.7.6.5 and PHP Imagick 2.3.0
# under Ubuntu 10.04.4 LTS.
#
# This script will automatically download, configure and build both
# software packages mentioned above and install them in /usr/local.
#
# In order to address performance problems with VPS systems and OpenMP,
# OpenMP will be dissabled. See following links for more information:
@vifo
vifo / gist:1722379
Created February 2, 2012 08:37
Perl File::Find example
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
use Data::Dumper;
use File::Find;
sub wanted {
@vifo
vifo / gist:1709257
Created January 31, 2012 06:38
ExtJS 3.4.0 suspend event handlers.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Hello world</title>
<link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-3.4.0/resources/css/ext-all.css" />
<style type="text/css">
html,body {
font-family: Verdana, Arial, Helvetica, sans-serif;