Skip to content

Instantly share code, notes, and snippets.

View jirislav's full-sized avatar

Jiří Kozlovský jirislav

View GitHub Profile
@olejon
olejon / Install Spotify 0.9 on openSUSE 64-bit
Last active September 17, 2022 08:34
Install Spotify 0.9 on openSUSE 64-bit
# NOTES
# Spotify 0.9 vs 1.0 is stable, uses less resources overall and works well with Spotify Connect, SpotCommander, Local Files etc
# The sources of the Dropbox files, which are hosted by me and the latest and greatest available, are listed above each one
# No system files will be overwritten by these or used by other programs since they depend on the later openSUSE versions
# Make sure you copy the whole lines into Terminal
# Each command is on one line and might be long
# START GUIDE
@karmi
karmi / movie-titles.rb
Created January 13, 2013 20:42
Multiple analyzers and query fields in Elasticsearch for auto-completion
require 'tire'
# Tire.configure { logger STDERR, level: 'debug' }
Tire.index('movie-titles') do
delete
create \
settings: {
index: {
analysis: {