I hereby claim:
- I am sluther on github.
- I am sluther (https://keybase.io/sluther) on keybase.
- I have a public key ASAC37vOcAZVv-4mURXUf7G4JRY1paHQPEMFy39-DB8Cago
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| 0x9479193B44BA6269A6dD1440422157E60Fae3594 | 
| #!/bin/bash | |
| # from here: http://www.codingsteps.com/install-redis-2-6-on-amazon-ec2-linux-ami-or-centos/ | |
| # and here: https://raw.github.com/gist/257849/9f1e627e0b7dbe68882fa2b7bdb1b2b263522004/redis-server | |
| ############################################### | |
| # To use: | |
| # <<!!!!!!!!!!!!!!!!!!! FIX ME !!!!!!!!!!!!!!!!!!!!!!!!> wget https://gist.github.com/sluther/8811539/raw/29f0fc30550f3522fbaa8217fddd15053a33aaca/install-redis.sh | |
| # chmod 777 install-redis.sh | |
| # ./install-redis.sh | |
| ############################################### | |
| echo "*****************************************" | 
| function send_json_to_node($args) { | |
| $data_string=json_encode($args['postdata']); | |
| $ch = curl_init($args['url']); | |
| curl_setopt($ch, CURLOPT_CUSTOMREQUEST,"POST"); | |
| curl_setopt($ch,CURLOPT_POSTFIELDS,$data_string); | |
| curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); | |
| curl_setopt($ch,CURLOPT_HTTPHEADER,array( | |
| 'Content-Type:application/json','Content-Length:'strlen($data_string))); | |
| $result = curl_exec($ch); | |
| } | 
| <?php | |
| date_default_timezone_set('America/Los_Angeles'); | |
| define('AWS_KEY', ''); | |
| define('AWS_SECRET_KEY', ''); | |
| define('BUCKET', ''); | |
| // MUST have a trailing slash if specified | |
| define('KEY_PREFIX', ''); | 
| <?php | |
| require COREPATH.'classes'.DIRECTORY_SEPARATOR.'autoloader.php'; | |
| class_alias('Fuel\\Core\\Autoloader', 'Autoloader'); | |
| // Bootstrap the framework DO NOT edit this | |
| require_once COREPATH.'bootstrap.php'; | |
| Autoloader::add_classes(array( | 
| $cerb5 = new Cerb5_WebAPI($username, $password); | |
| $postfields = array( | |
| array('message', file_get_contents('restapitestmessage.msg')), // this file should be located in the same directory as parse.php. | |
| ); | |
| $result = $cerb5->post($base_url . 'parser/parse.json', $postfields); | 
| From c3d96a7835637478994963e7187abc00fa0435a5 Mon Sep 17 00:00:00 2001 | |
| From: unknown <Administrator@.(none)> | |
| Date: Mon, 8 Dec 2008 13:33:57 -0800 | |
| Subject: [PATCH] form tag modify | |
| --- | |
| install/step2.php | 2 +- | |
| 1 files changed, 1 insertions(+), 1 deletions(-) | |
| diff --git a/install/step2.php b/install/step2.php |