View git_export.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Easy Git Export Command | |
# Copyright (C) 2013, Arno Moonen <info@arnom.nl> | |
# | |
# Example usage (from within a Git repository, when using the alias): | |
# git-export ~/Desktop | |
# -> Creates the exported archive on your desktop. | |
# git-export | |
# -> Creates the exported archive one level up in your path. | |
# |
View amnl.simple.crypt.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Easy way to encrypt / decrypt a string. Notice that this is NOT | |
* a very secure encryption. But you can use it to make stuff less | |
* visible for the end user. | |
* | |
* (c) Arno Moonen <info@arnom.nl> | |
* | |
* @author Arno Moonen <info@arnom.nl> |
View form_div_layout.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'Form/form_div_layout.html.twig' %} | |
{# | |
Extends from Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig | |
Overrides the form_errors block so it no longer uses transchoice (which | |
was causing a problem). | |
#} | |
{% block form_errors %} | |
{% spaceless %} |
View am_get_real_ip.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Get the IP address of the client. | |
* | |
* @author Arno Moonen <info@arnom.nl> | |
* @version 0.1-201112231035 | |
* @param boolean $get_all Set to true to get an array containing all the IP addresses found. | |
* @return mixed Depending on the value of $get_all the return value will be either a string or an array | |
*/ |
NewerOlder