Skip to content

Instantly share code, notes, and snippets.

@NiDi
NiDi / gist:ea04b8e847e6641c458a
Last active June 28, 2023 08:32
Übersicht der Funktionalitäten von Redis
require "redis"
client = Redis.new
# Basisfunktionen eines Key-Value Stores:
client.set("my_key", "my_value")
=> "OK"
client.get("my_key")
=> "my_value"
@NiDi
NiDi / Gemfile
Created November 22, 2013 14:42
POC: Websockets für Projektseminar
#....
gem 'websocket-rails'
gem 'thin'
#...
@NiDi
NiDi / gist:5028692
Created February 25, 2013 09:23
wkhtmltopdf - build formula for Homebrew supporting 0.9.9, 0.11.0_rc1, and their patched Qt4
require 'formula'
class WkhtmltopdfQt < Formula
head 'https://github.com/jcsalterego/wkhtmltopdf-qt.git', :revision => '0d6bc70388c3ebcf14f74838e67045fa53dbb5de'
end
class Wkhtmltopdf < Formula
url 'http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9.tar.bz2'
homepage 'http://code.google.com/p/wkhtmltopdf/'
sha1 '41f598c0103326e7c13101391447b0284b4ba3cb'