Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
package main | |
var ( | |
Config config.Config | |
) | |
func init() { | |
yamlString, err := ioutil.ReadFile("./config.yaml") | |
cfg, err := config.ParseYaml(string(yamlString)) |
type publisher struct { | |
connPool redis.Pool | |
} | |
WritePool := &redis.Pool{ | |
MaxIdle: 5000, | |
IdleTimeout: 240 * time.Second, | |
Dial: func() (redis.Conn, error) { | |
c, err := redis.Dial("tcp", ":6379") | |
if err != nil { |
require 'bundler' | |
Bundler.require | |
class Stream < Goliath::API | |
use Goliath::Rack::Params | |
use Goliath::Rack::Render, 'json' | |
use Goliath::Rack::Heartbeat | |
def response(env) |
def response(env) | |
... | |
notify | |
end | |
def notify | |
env.logger.info "Stream connection opened" | |
i = 0 |
#################################### | |
# BASIC REQUIREMENTS | |
# http://graphite.wikidot.com/installation | |
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ | |
# Last tested & updated 10/13/2011 | |
#################################### | |
sudo apt-get update | |
sudo apt-get upgrade |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis. |
brew update | |
brew install ImageMagick | |
cd /usr/local/Cellar/imagemagick/6.8.0-10/lib | |
ln -s libMagick++-Q16.7.dylib libMagick++.dylib | |
ln -s libMagickCore-Q16.7.dylib libMagickCore.dylib | |
ln -s libMagickWand-Q16.7.dylib libMagickWand.dylib | |
gem install rmagick |
:+1: | |
:-1: | |
:airplane: | |
:art: | |
:bear: | |
:beer: | |
:bike: | |
:bomb: | |
:book: | |
:bulb: |