Skip to content

Instantly share code, notes, and snippets.

View wolfhesse's full-sized avatar

wolf hesse wolfhesse

  • andel systems engineering
  • vienna, at
View GitHub Profile
<template id="template-connect">
<div class="connect">
<div class="connect__searchPanel">
<div class="connect__speciesSelect">
<button @click="handleDogs">Dogs</button>
<button @click="handleCats">Cats</button>
</div>
<div class="connect__search">
<input type="text"
  • title: readme for gist-based frontentd
  • author: @wolfhesse

project in a file

operations

rsync -rvzP --size-only rogera@core.wolfspool.chickenkiller.com:/extdisker/extdisk/infopool.d/gists.d/0ca6729d9544ff5de9193ee8e913bc9b/backup.local.d/ ./backup.local.d/

@wolfhesse
wolfhesse / gist:3af93a6d50565c98c400
Created March 22, 2016 16:35 — forked from bkimble/gist:1365005
List local memcached keys using Ruby
#!/usr/bin/env ruby
# List all keys stored in memcache.
# Credit to Graham King at http://www.darkcoding.net/software/memcached-list-all-keys/ for the original article on how to get the data from memcache in the first place.
require 'net/telnet'
headings = %w(id expires bytes cache_key)
rows = []
#!/bin/bash
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3"
# this script will display the current version, automatically
# suggest a "minor" version update, and ask for input to use
# the suggestion, or a newly entered value.
@wolfhesse
wolfhesse / a.sh
Created March 6, 2014 09:20 — forked from varavut/a.sh
mongo elasticsearch linux64 install
sudo apt-get update
sudo apt-get install openjdk-6-jre-headless -f
sudo apt-get install curl
sudo apt-get install unzip
sudo apt-get install openssh-server
sudo curl -OL http://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.8.zip
sudo unzip elasticsearch-* && rm elasticsearch-*.zip
cd elasticsearch-0.19.8
sudo mkdir /usr/local/elasticsearch