curl -i -XPUT http://localhost:8098/search/index/my_index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Our yachts are toy boats, the glint on a lovely brief bubble of time. A boat's importance as an escape from reality, as a change of pace, as a theme for reflection and as an art form gives it worth or value. | |
--William Garden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# pdfScale.sh | |
# | |
# Scale PDF to specified percentage of original size. | |
# Ref: http://ma.juii.net/blog/scale-page-content-of-pdf-files. | |
echo "This script doesn't handle files with spaces in them." | |
SCALE=0.95 # scaling factor (0.95 = 95%, e.g.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yield | variety | year | site | |
---|---|---|---|---|
27 | Manchuria | 1931 | University Farm | |
48.86667 | Manchuria | 1931 | Waseca | |
27.43334 | Manchuria | 1931 | Morris | |
39.93333 | Manchuria | 1931 | Crookston | |
32.96667 | Manchuria | 1931 | Grand Rapids | |
28.96667 | Manchuria | 1931 | Duluth | |
43.06666 | Glabron | 1931 | University Farm | |
55.2 | Glabron | 1931 | Waseca | |
28.76667 | Glabron | 1931 | Morris |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Transaction tx = neo.beginTx(); | |
try | |
{ | |
final Node emil = neo.createNode(); | |
emil.setProperty( "name", "Emil Eifrém" ); | |
emil.setProperty( "age", 30 ); | |
final Node tobias = neo.createNode(); | |
tobias.setProperty( "name", "Tobias \"thobe\" Ivarsson" ); | |
tobias.setProperty( "age", 23 ); | |
tobias.setProperty( "hours", new int[] { 10, 10, 4, 4, 0 } ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## install Catalyst proprietary | |
sudo ntfsfix /dev/sda2 | |
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.BAK | |
sudo apt-get remove --purge fglrx* | |
sudo apt-get install linux-headers-generic | |
sudo apt-get install fglrx xvba-va-driver libva-glx1 libva-egl1 vainfo | |
sudo amdconfig --initial | |
## install build essentials | |
sudo apt-get install cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author | |
# Linwood Creekmore III | |
# April 8 2017 | |
# heavy input from http://socialmedia-class.org/twittertutorial.html | |
# valinvescap@gmail.com | |
import re | |
import copy | |
import numpy as np | |
import pandas as pd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########loading the Titanic Train Data Set | |
TitanicTrain<-train1 | |
######Checking Missing Values in the Train Data Set | |
sapply(TitanicTrain, function(x)sum(is.na(x))) | |
#######Loading the Titanic Test Data Set | |
TitanicTest<-test11 | |
#######Checking Missing Values in the Test Data Set |
Apache Arrow is an in-memory data structure used in several projects. It's python module can be used to save what's on the memory to the disk via python code, commonly used in the Machine Learning projects. With low RAM, ARM devices can make use of it but there seems to be an configuration error with the packaged binaries as of version 0.15.1 and so we're forced to build and install from the source.
The installation build steps are based on official guidelines but modified for ARM and has taken clues from building Ray for ARM.
I'm using Nvidia Jetson nano.
Quad-core ARM® Cortex®-A57 MPCore processor
OlderNewer