This script will load any stackoverflow site from the XML dump (retrievable at https://archive.org/details/stackexchange via torrent) into Elasticsearch.
To use just call:
python load_stack.py PATH
| #:kivy 1.0 | |
| #:set default_font_size "60dp" | |
| #:import rgb kivy.utils.get_color_from_hex | |
| <HeaderLabel@Label>: | |
| font_size: dp(15) | |
| color: 0,0,0,1 | |
| <JoinMatchScreen>: |
| #:kivy 1.0 | |
| #:set default_font_size "60dp" | |
| #:import rgb kivy.utils.get_color_from_hex | |
| <HeaderLabel@Label>: | |
| font_size: dp(15) | |
| color: 0,0,0,1 | |
| <JoinMatchScreen>: |
| /* | |
| * The author disclaims copyright to this source code. In place of | |
| * a legal notice, here is a blessing: | |
| * | |
| * May you do good and not evil. | |
| * May you find forgiveness for yourself and forgive others. | |
| * May you share freely, never taking more than you give. | |
| * | |
| */ | |
| package org.hibernate.dialect; |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| #!/usr/bin/env python | |
| # | |
| # Based on a script by Donald Feury | |
| # https://gitlab.com/dak425/scripts/-/blob/master/trim_silenceV2 | |
| # https://youtu.be/ak52RXKfDw8 | |
| import math | |
| import sys | |
| import subprocess | |
| import os |
| # Guitar Strumming - by Emlyn (modified by amiika) | |
| # This tries to work out the guitar (or ukulele etc.) fingering for arbitrary chords (and tuning). | |
| # It seems to work reasonably well for basic chords, but is quite naive and probably makes many mistakes. | |
| # Ideas, bug reports, fixes etc. gratefully received, just comment below, or tweet @emlyn77. | |
| # Feel free to make use of this code as you like (with attribution if you feel like it, but you don't have to). | |
| # Thanks to @Project_Hell_CK for fixing the tuning, and spotting that it gets chord(:f, :major) not quite right. | |
| define :next_note do |n, c| | |
| # Make sure n is a number | |
| n = note(n) |
This script will load any stackoverflow site from the XML dump (retrievable at https://archive.org/details/stackexchange via torrent) into Elasticsearch.
To use just call:
python load_stack.py PATH