Skip to content

Instantly share code, notes, and snippets.

Ming Zhou zhouming

Block or report user

Report or block zhouming

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zhouming
zhouming / MY_Session.php
Created Sep 8, 2012
Use redis in Codeigniter Session.
View MY_Session.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Session extends CI_Session{
private $sess_use_redis = TRUE;
private $redis = '';
public function __construct($params = array()) {
//parent::__construct();
$this->CI =& get_instance();
View gist:2275127
console.log('文艺青年');
alert('Hello World');
String.prototype.trim = function(){}
View gist:2262185
var a = 1;
ar b = 2;
console.log(a+b);
You can’t perform that action at this time.