Skip to content

Instantly share code, notes, and snippets.

@karmi
karmi / .gitignore
Last active November 2, 2018 07:48
tmp/
@karmi
karmi / test
Created October 24, 2017 09:11
TEST
@karmi
karmi / __readme.markdown
Last active October 25, 2017 15:38
Materiály pro "Konferenci Elastic" (říjen 2017)

Konference Elastic (Praha, 24.10.2017)

Tento repositář obsahuje zejména konfigurační soubory použité pro přednášku na konferenci Elastic.

Soubor install.sh obsahuje příkazy použité pro instalaci a spuštění jednotlivých nástrojů.

Zdroje k dalšímu studiu

#!/usr/bin/env sh
# I've adapted this from the following, which was in turn adapted from the link
# below it:
# * https://raw.github.com/gist/2108403/hack.sh
# * https://github.com/mathiasbynens/dotfiles/blob/master/.osx
echo "Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)"
# defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
@karmi
karmi / README.markdown
Last active January 9, 2016 17:04
echo 'Přečti mi něco, prosím!' | ruby dictator.rb

A simple dictation robot.

echo 'Přečti mi něco, prosím!' | ruby dictator.rb

cat data.txt | ruby dictator.rb

cat data.txt | SPEED=1.5 ruby dictator.rb
@karmi
karmi / README.markdown
Last active January 9, 2016 18:06
NYT ISIS Attacks Chart
2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014
255917 280111 323343 394345 439498 434600 426423 436319 438076 441536 451923
@karmi
karmi / .gitignore
Last active November 3, 2015 05:02
A tutorial for building an interactive D3.js chart iteratively from scratch
.DS_Store
@karmi
karmi / .gitignore
Last active November 12, 2022 12:11
Example Nginx configurations for Elasticsearch (https://www.elastic.co/blog/playing-http-tricks-nginx)
nginx/
!nginx/.gitkeep
!nginx/logs/.gitkeep
src/
tmp/
@karmi
karmi / .gitignore
Last active August 29, 2015 14:02
Install an Elasticsearch/Redis/Nginx/Rails/Ruby/Sinatra stack
.DS_Store