Skip to content

Instantly share code, notes, and snippets.

Felipe Chagas FeChagas

Block or report user

Report or block FeChagas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
faniska /
Last active Nov 14, 2019
Install wkhtmltopdf with patched QT on Ubuntu Linux
# Uncomment the next line if you have installed wkhtmltopdf
# sudo apt remove wkhtmltopdf
cd ~
# Select an appropriate link for your system (32 or 64 bit) from the page and past to the next line
tar xvf wkhtmltox*.tar.xz
sudo mv wkhtmltox/bin/wkhtmlto* /usr/bin
sudo apt-get install -y openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig
amnuts / osort.php
Last active Jul 24, 2018
Sort array of objects by one or more properties of the object.
View osort.php
* Sort an array of objects.
* Requires PHP 5.3+ to be installed.
* Will use the Intl extension to normalize characters if it's
* available.
meSingh / make_slug.php
Created Jul 1, 2013
Create WordPress like slugs from any string in php.
View make_slug.php
* Genrate Slugs from Title or any given string
* @param string $str
* @return Slug
You can’t perform that action at this time.