Skip to content

Instantly share code, notes, and snippets.

View adnaan's full-sized avatar
🎯
Focusing

Adnaan Badr adnaan

🎯
Focusing
View GitHub Profile
@adnaan
adnaan / cpuinfo
Created February 3, 2015 06:01
cpu info
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
stepping : 7
cpu MHz : 1258.375
cache size : 12288 KB
physical id : 0
siblings : 12
@adnaan
adnaan / mywebframework.go
Last active December 23, 2015 09:59
mywebframework
package mywebframework
import (
"bytes"
"fmt"
"github.com/garyburd/redigo/redis"
"html/template"
"io/ioutil"
"labix.org/v2/mgo"
"net"
// THIS IS A BETA! I DON'T RECOMMEND USING IT IN PRODUCTION CODE JUST YET
/*
* Copyright 2012 Roman Nurik
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0