I hereby claim:
- I am peterfox on github.
- I am peterfox (https://keybase.io/peterfox) on keybase.
- I have a public key whose fingerprint is A902 1061 A14C C4C8 54DA FAA2 A63D 4815 39E1 1F00
To claim this, I am signing this object:
| <?php | |
| $URL = "mailto:?subject=Is this a test message!"; | |
| $url_var = $URL; | |
| //explode it and if it has a '?' it means it must have URL Parameters | |
| if(count($mail_split = explode('?', $URL))>1) | |
| { | |
| //if for some reason there's more than one '?' then we'll just add the exploded parts to the second part | |
| $mail_params = $mail_split[1]; | |
| for($i=2; $i<count($mail_split); $i++) |
| if ( ! function_exists('element')) | |
| { | |
| function element($item, $array, $default = FALSE) | |
| { | |
| if ( ! isset($array[$item]) OR $array[$item] == "") | |
| { | |
| return $default; | |
| } | |
| return $array[$item]; |
| <?php | |
| if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| //Load this class with $this->load->library('CI_Something', $data, 'something'); | |
| require_once dir(__FILE__).'/Something/Something.php'; | |
| class CI_Something extends Something | |
| { | |
| public function __construct($config) |
| <?php | |
| if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| //Load this class with $this->load->library('CI_Something', $data, 'something'); | |
| require_once dir(__FILE__).'/Something/Something.php'; | |
| class CI_Something | |
| { | |
| /** | |
| * __get | |
| * | |
| * Allows models to access CI's loaded classes using the same | |
| * syntax as controllers. | |
| * | |
| * @param string | |
| * @access private | |
| */ | |
| function __get($key) |
| <?php | |
| if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| /* | |
| *defining a config with groups should look like | |
| * | |
| * $config['default']['hostname'] = '127.0.0.1' | |
| * $config['default']['port'] = '1234' | |
| * | |
| *the constructor should then be able to load it by either taking a group name 'default' always being the option without |
| /* | |
| |-------------------------------------------------------------------------- | |
| | LogEntries Error Logger | |
| |-------------------------------------------------------------------------- | |
| | | |
| | This adds a handler to Monolog which will send logging data to the cloud service | |
| | log entries. Make sure there is a logentries.php in your config folder with | |
| | an array key defined as 'token'. The format of the messages will be the same | |
| | minus the time and date as the service itself will record that. | |
| | |
| var gulp = require('gulp'), | |
| awspublish = require('gulp-awspublish'), | |
| rename = require('gulp-rename'); | |
| var publisher = awspublish.create({ key: '...', secret: '...', bucket: '...' }); | |
| gulp.task('publish', function() { | |
| gulp.src('public/assets/**') | |
| .pipe(rename(function (path) { | |
| path.dirname = 'assets/' + path.dirname; |
I hereby claim:
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am peterfox on github. | |
| * I am peterfox (https://keybase.io/peterfox) on keybase. | |
| * I have a public key whose fingerprint is B0F7 1B02 236A B65E C5F2 B732 750F 23D9 60D3 8FA6 | |
| To claim this, I am signing this object: |