download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
| #!/bin/bash | |
| # | |
| # Generates client and server certificates used to enable HTTPS | |
| # remote authentication to a Docker daemon. | |
| # | |
| # See http://docs.docker.com/articles/https/ | |
| # | |
| # To start the Docker Daemon: | |
| # | |
| # sudo docker -d \ |
download and install Solr from http://lucene.apache.org/solr/.
you can access Solr admin from your browser: http://localhost:8983/solr/
use the port number used in installation.
| #! /bin/bash | |
| set -e | |
| trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
| trap 'echo FAILED COMMAND: $previous_command' EXIT | |
| #------------------------------------------------------------------------------------------- | |
| # This script will download packages for, configure, build and install a GCC cross-compiler. | |
| # Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
| # If you get an error and need to resume the script from some point in the middle, | |
| # just delete/comment the preceding lines before running it again. |
| package main | |
| import ( | |
| "database/sql" | |
| "encoding/json" | |
| "errors" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "time" |
| # Build environment. I use vagrant ubuntu/trusty64 | |
| sudo apt-get install build-essential git-core | |
| sudo git clone https://github.com/raspberrypi/tools.git /opt/tools | |
| export CCPREFIX="/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-" | |
| # Get ffmpeg and x264 repos | |
| git clone git://source.ffmpeg.org/ffmpeg.git |
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| ./bin/turbo rpc Elixir.Ecto.Storage up "['Elixir.Turbo.Repo']." | |
| ./bin/my_app rpc Elixir.Mix.Ecto migrations_path "['Elixir.MyApp.Repo']." | |
| # => <<"/opt/my_app/production/rel/my_app/lib/my_app-0.0.1/priv/repo/migrations">> | |
| ./bin/my_app rpc Elixir.Ecto.Migrator run "['Elixir.MyApp.Repo', <<\"/opt/my_app/production/rel/my_app/lib/my_app-0.0.1/priv/repo/migrations\">>, up, [{all, true}]]." | |
| # => [] |
| dependencies { | |
| compile 'io.reactivex:rxjava:1.0.12' | |
| compile 'com.squareup.okhttp:okhttp:2.5.0' | |
| compile 'com.squareup.retrofit:retrofit:2.0.0-beta1' | |
| compile 'com.squareup.retrofit:converter-gson:2.0.0-beta1' | |
| compile 'com.squareup.retrofit:adapter-rxjava:2.0.0-beta1' | |
| } |
| --- | |
| title: "Sample Equations used in Statistics" | |
| output: html_document | |
| --- | |
| ### Summations | |
| ### Without Indices | |
| $\sum x_{i}$ |
From Stack Overflow.
# Fetch the submodule commits into the main repository
git remote add submodule_origin git://url/to/submodule/origin
git fetch submodule_origin
# Start a fake merge (won't change any files, won't commit anything)
git merge -s ours --no-commit submodule_origin/master