Current

Python Snippets

Basic setup codeSetup Snippets$ sudo apt-get install python sudo apt-get install python3 sudo apt-get install python-pip sudo apt-get install python3-pip # PIP with easy install (sudo) # Suitable for PI's, but not Ardunio Yun. apt-get install curl curl -O...

Twig Snippets

This is a collection of my most used Twig snippets, developed with Twig 1.8. // Urlify simple filter for Twig $filter = new Twig_SimpleFilter('urlify', function ($string) { return URLify::filter($string); }); $twig->addFilter($filter); // Example: {{...

Share This