#elasticsearch Crash Course!
- A way to search... things
- A way to search your data in terms of natural language, and so much more
- A distributed version of lucene with a JSON API.
- A fancy clustered database
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| Exception in filterworker {"exception"=>#<NoMethodError: undefined method `[]=' for nil:NilClass>, "backtrace"=>["file:/opt/logstash/logstash.jar!/logstash/event.rb:135:in `[]='", "org/jruby/RubyProc.java:255:in `call'", "(eval):9:in `exec'", "org/jruby/RubyProc.java:255:in `call'", "file:/opt/logstash/logstash.jar!/logstash/util/fieldreference.rb:44:in `exec'", "file:/opt/logstash/logstash.jar!/logstash/event.rb:134:in `[]='", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:234:in `rename'", "org/jruby/RubyHash.java:1332:in `each'", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:232:in `rename'", "file:/opt/logstash/logstash.jar!/logstash/filters/mutate.rb:205:in `filter'", "(eval):127:in `initialize'", "org/jruby/RubyProc.java:255:in `call'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:243:in `filter'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:191:in `filterworker'", "file:/opt/logstash/logstash.jar!/logstash/pipeline.rb:134:in `start_filters'"], :level=>: |
| #!/usr/bin/perl | |
| # | |
| # http://www.voidynullness.net/blog/2012/03/03/generate-amibroker-watchlist-indexes-from-spreadsheet/ | |
| # | |
| use strict; | |
| use warnings; | |
| use Spreadsheet::ParseExcel; | |
| # | |
| # Check and extract command line arguments -- or setup OS-specific defaults. |
| Covers configuration for NXLog installed on Windows, transfering to NXLog installed on Linux to LogStash. | |
| NXLog is used for IIS logs. (http://nxlog-ce.sourceforge.net/) | |
| Snare is used for Windows Event Logs. (http://www.intersectalliance.com/projects/SnareWindows/index.html#Download) |
| /* | |
| * Name: Automatic Trend Lines | |
| * This Amibroker script is designed to automate the process of drawing: | |
| * 1. Trend lines (sloping) | |
| * 2. Support & resistance lines (horizontal) | |
| * 3. Channel lines (parallel lines to trend lines & horizontal lines) | |
| * This script is not a recommendation to buy or sell anything. It's to be | |
| * used as is without any guarantees or warranties on its reliability. | |
| * Author: Ryan Sheehy | |
| * Version: v2.0.2 (20160816) |
master branch is always production-ready, deployable, 100% green test suitegit pull is configured to automatically rebase)| #!/bin/bash | |
| set -e | |
| function stash_create_repo() | |
| { | |
| local username="$1" | |
| local password="$2" | |
| local hostname="$3" | |
| local port="$4" | |
| local project="$5" |
| using System; | |
| using System.Diagnostics; | |
| using System.Web; | |
| using metrics; | |
| using metrics.Core; | |
| using ServiceStack; | |
| [Route("/admin/metrics/all")] | |
| class GetAllMetrics { } | |
| class MetricsService : IService |
| using ServiceStack.Common; | |
| using ServiceStack.OrmLite; | |
| using ServiceStack.ServiceInterface; | |
| using ServiceStack.ServiceInterface.Auth; | |
| using ServiceStack.WebHost.Endpoints; | |
| using System; | |
| using System.Data; | |
| using System.Globalization; | |
| using System.Security.Cryptography; | |
| using System.Text; |