Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
#!/usr/bin/env ruby | |
require "redis" | |
redis = Redis.new | |
redis.keys("*").each do |key| | |
val = case redis.type(key) | |
when "string" | |
redis.get key | |
when "list" |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
-module(elasticsearch). | |
-export([autocomplete/1, autocomplete/0, | |
search/1, search/0, | |
start/0, | |
stop/0, | |
loop/1]). | |
-on_load(start/0). | |
%% Return an autocomplete request | |
autocomplete() -> |
#!/bin/bash | |
# | |
BACKUPDEST="$1" | |
DOMAIN="$2" | |
MAXBACKUPS="$3" | |
if [ -z "$BACKUPDEST" -o -z "$DOMAIN" ]; then | |
echo "Usage: ./vm-backup <backup-folder> <domain> [max-backups]" | |
exit 1 |
# ~/.atom/init.coffee | |
atom.commands.add 'atom-text-editor', 'elixir:pipeline': -> | |
editor = atom.workspace.getActiveTextEditor() | |
editor.moveToEndOfLine() | |
editor.insertNewline() | |
editor.insertText("|> ") |
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"reflect" | |
) | |
type Something interface{} |
forked from https://gist.github.com/chetan/1827484 which is from early 2012 and contains outdated information.
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.