Skip to content

Instantly share code, notes, and snippets.

View oktapodia's full-sized avatar
🎯
Focusing

BRAMILLE Sébastien oktapodia

🎯
Focusing
View GitHub Profile
@afternoon
afternoon / rename_js_files.sh
Created February 15, 2014 18:04
Rename .js files to .ts
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
@mikelfo
mikelfo / ReCaptcha.php
Last active July 17, 2018 13:17
a simple service to use Google reCaptcha on Symfony 2.8
<?php
/**
* Description of recaptcha service which uses the ReCaptcha API by Google
* @see https://www.google.com/recaptcha
* @important Requires a Google account @see https://www.google.com/recaptcha/admin - property "Your property"
*
* @version 1.0.3
*
* @requires Buzz HTTP library. https://github.com/sensiolabs/SensioBuzzBundle
* and cUrl (php5-curl), etc.