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
<searchComponent name="spellcheck" class="solr.SpellCheckComponent"> | |
<str name="queryAnalyzerFieldType">text_general</str> | |
<lst name="spellchecker"> | |
<str name="name">default</str> | |
<str name="field">text</str> | |
<str name="classname">solr.DirectSolrSpellChecker</str> | |
<str name="distanceMeasure">internal</str> |
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
trialist vhost: | |
Listen 9303 | |
<VirtualHost *:9303> | |
DocumentRoot /vagrant/codebase/trialist | |
</VirtualHost> | |
ohmage vhost: |
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
apt-get update | |
GIT | |
apt-get install git | |
JAVA | |
apt-get install software-properties-common python-software-properties | |
add-apt-repository ppa:webupd8team/java |
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
#limit imagemagick convert to 40% cpu | |
cpulimit -l 40 -e convert.im6 | |
#limit avconv to 40% cpu | |
cpulimit -l 40 -e avconv | |
#build transition images. nice -n to ensure nothing stalls because of it | |
nice -n 19 convert img1.jpg img2.jpg -delay 10 -morph 200 tmp_zl.png | |
#build video from transition images. again note "nice -n" |