Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| <?php | |
| // ... | |
| protected $middleware = [ | |
| // ... | |
| 'App\Http\Middleware\CloudFlareProxies', | |
| ]; | |
| // ... |
| $base-font-size: 16px; | |
| $base-line-height: 1.5; | |
| // this value may vary for each font | |
| // unitless value relative to 1em | |
| $cap-height: 0.68; | |
| @mixin baseline($font-size, $scale: 2) { |
| function money($amount){ | |
| setlocale(LC_MONETARY, 'el_GR.UTF-8'); | |
| return money_format("%!n",$amount); | |
| } |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| function heidiDecode(hex) { | |
| var str = ''; | |
| var shift = parseInt(hex.substr(-1)); | |
| hex = hex.substr(0, hex.length - 1); | |
| for (var i = 0; i < hex.length; i += 2) | |
| str += String.fromCharCode(parseInt(hex.substr(i, 2), 16) - shift); | |
| return str; | |
| } | |
| document.write(heidiDecode('755A5A585C3D8141786B3C385E3A393')); |
this sucks, but it works. centos should really just build the damn ca-certificates package for centos5 found on centos6
cp /etc/pki/tls/certs/ca-bundle.crt /root/ca-bundle.crt-old
curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
| <?php | |
| # ------------------------------ | |
| # START CONFIGURATION SECTION | |
| # | |
| $launch_url = "https://lti.tools/test/tp.php"; | |
| $key = "12345"; | |
| $secret = "secret"; | |
| $launch_data = array( |