Courtesy: [email protected]
$ sudo apt-get install dmg2img
/* | |
BoxBlur - a fast almost Box Blur For Canvas | |
Edited by Yorick to make it faster in modern browsers | |
Version: 0.3 | |
Author: Mario Klingemann | |
Contact: [email protected] | |
Website: http://www.quasimondo.com/ |
<?php | |
/** | |
* Adding Custom post type counts in 'Right now' Dashboard widget. | |
* Acording this changes : | |
* - https://core.trac.wordpress.org/ticket/26571 | |
* - https://core.trac.wordpress.org/ticket/26495 | |
* now you can't use 'right_now_*' action API to show your custom post type count from your Dashboard. | |
* But if you running WP 3.8 or above, you can use 'dashboard_glance_items' instead. | |
* | |
* @package Wordpress |
<?php | |
$colors = array(); | |
for ($i = 0; $i <= 256; $i++) { | |
$colors[] = $i; | |
} | |
?> |
Courtesy: [email protected]
$ sudo apt-get install dmg2img
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# Start the old vagrant | |
vagrant@host:~$ sudo su | |
root@host:/home/vagrant# sudo wget -c http://download.virtualbox.org/virtualbox/4.3.10/VBoxGuestAdditions_4.3.10.iso -O VBoxGuestAdditions_4.3.10.iso | |
root@host:/home/vagrant# mount VBoxGuestAdditions_4.3.10.iso -o loop /mnt | |
mount: block device /home/vagrant/VBoxGuestAdditions_4.3.10.iso is write-protected, mounting read-only | |
root@host:/home/vagrant# cd /mnt | |
root@host:/mnt# sh VBoxLinuxAdditions.run --nox11 | |
root@host:/mnt# cd ~ | |
root@host:/mnt# VBoxGuestAdditions_4.3.10.iso | |
root@host:/mnt# ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions |
#!/bin/bash | |
# Based on https://gist.github.com/edouard-lopez/503d40a5c1a49cf8ae87 | |
set -e | |
# Installing dependencies | |
apt-get -q -y install build-essential automake libtool git | |
buildDir="/tmp/sass-build" |