Skip to content

Instantly share code, notes, and snippets.

indexer
{
}
searchd
{
listen = 127.0.0.1:9312:mysql41
log = /home/declan/Sites/purplebinder/log/development.searchd.log
query_log = /home/declan/Sites/purplebinder/log/development.searchd.query.log
@declan
declan / pbkdf2_test_vectors.rb
Last active March 30, 2016 21:40
PBKDF2-HMAC test cases
# This file prints out the test cases for PBKDF2-HMAC-SHA1
# listed in RFC 6070, and similar test cases using SHA256
# listed in this StackOverflow thread:
# http://stackoverflow.com/questions/5130513/pbkdf2-hmac-sha2-test-vectors?rq=1
#
#
require 'openssl'
SHA1_TEST_VECTORS = [
{
@declan
declan / thinking_sphinx
Last active December 2, 2015 16:53
ThinkingSphinx start-up script for Ubuntu 14.04
#! /bin/bash
#
# This script goes in /etc/init.d/thinking_sphinx
# Make sure the file is executable:
#
# chmod 755 /etc/init.d/thinking_sphinx
#
#
# Once the file is in place, you need to add it to the list
# of scripts that get executed when the system comes up or