Skip to content

Instantly share code, notes, and snippets.

package main
import (
"crypto/hmac"
"crypto/sha1"
"time"
"encoding/hex"
"fmt"
"io/ioutil"
package main
import (
"crypto/hmac"
"crypto/sha256"
"encoding/base64"
"encoding/hex"
"fmt"
"io/ioutil"
"log"
@rakd
rakd / template.go
Created December 6, 2017 05:20
template inheritance for echo/golang
package main
import (
"fmt"
"html/template"
"io"
"log"
"os"
"path/filepath"
"strings"
asdfasdfasdf
asdfa
asdfasdfsa
a
sdfadsfa
asdfasfdadfafaf
<?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();
@rakd
rakd / gist:1113240
Created July 29, 2011 06:06
あsdふぁsdふぁdふぁd
<?php
echo "-----";
@rakd
rakd / asdfasdf
Created March 18, 2011 00:57
asdfasd
adfadfasdfsa
@rakd
rakd / te
Created March 17, 2011 09:55
test
tetstes
@rakd
rakd / aaaatttttt
Created January 18, 2011 10:37 — forked from rakd/aaaa
ttttttasfasdfa
asdfsadfadfasdfasfa
@rakd
rakd / aaaa
Created January 18, 2011 10:36
eeee
ttttt