I hereby claim:
- I am gabriel-v on github.
- I am gabrielv (https://keybase.io/gabrielv) on keybase.
- I have a public key ASCSPPmcUOg5VSI_YOxFhboqeiCFju45cTDVnbcrdkMAlAo
To claim this, I am signing this object:
/** | |
* Autor: Gabriel V. - 312CC | |
* 2 noiembrie 2015 | |
* Pentru partialul de la PL cu domnul profesor S. Petrescu. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> |
#!/bin/sh | |
echo "Installing basic stuff" | |
sudo apt-get install git zsh build-essential vim cifs-utils | |
echo "Installing oh-my-zsh" | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
echo "Installing everything else - JDK, OpenGL, OpenCL, CMake, clang, latex etc" | |
sudo apt-get install openjdk-9-jdk openjdk-9-doc openjdk-8-jdk openjdk-8-doc libglfw3 libglfw3-dev pkg-config glew-utils libglew-dev cmake cmake-data opencl-headers clinfo ocl-icd-libopencl1 mesa-opencl-icd octave racket ipython3 python3-pip clang valgrind wxmaxima owncloud-client nautilus-owncloud texlive-latex-extra texlive-full |
I hereby claim:
To claim this, I am signing this object:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIhO6MpIaOpVSiQ4NLfVgHgvJSqoqDow3ZaD7uaOYX2c03aKOMmPAyOMGdaETQ0J2TB0vT04bao7zFyuAbOsORLNzeSXTqRNycu66ckRGTe+fDBLi5S91IEIiHbjLSNpsbOBhiMCbiPvT3FWYutaU1o9QJS638WIzgtAbNshRfoW11m2SEJnrDDEII6QkEl+tRNKDOBzygVCPZv2urcSsP5j1quBGhgCmlQaUrRc8t/QjJzhjSlO2x28b1fGM0HPfAcXnW8pw+J296rma6TElVZ9Gg/wjMBjKdFYH5aic5r0bUAjGCBO9E+/6cNx1uglsP/vbLmM5cQMKe9R8s3Fbt gabriel@static |
#!/bin/bash | |
set -e | |
ES_HOME=/installation/dir/for/elasticsearch | |
ES_HEAP_SIZE=1g exec $ES_HOME/bin/elasticsearch |
The idea is to facilitate searching for a large number of terms without hitting the rate limiter and with a decent accuracy.
The solution is to use the Elasticsearch _msearch
endpoint with count
operations, so the query will only return the hit count for each individual
query, along with any aggregations that were requested.
QEMU version: 2.2.0
HDD init:
qemu-img create -f qcow debian8-arm64.img 10G
Netinstall initrd:
wget ftp://ftp.ru.debian.org/debian/dists/jessie/main/installer-arm64/20150422/images/netboot/debian-installer/arm64/initrd.gz
#!/bin/bash | |
( ls ~/bin/flake8-venv || virtualenv -p python3 ~/bin/flake8-venv ) &> /dev/null | |
~/bin/flake8-venv/bin/pip install flake8 &> /dev/null | |
exec ~/bin/flake8-venv/bin/python -m flake8 "$@" |
+ /opt/hoover/bin/hoover snoop walk testdata | |
Traceback (most recent call last): | |
File "/opt/hoover/snoop/manage.py", line 8, in <module> | |
execute_from_command_line(sys.argv) | |
File "/opt/hoover/venvs/snoop/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line | |
utility.execute() | |
File "/opt/hoover/venvs/snoop/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/opt/hoover/venvs/snoop/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv | |
self.execute(*args, **cmd_options) |