Skip to content

Instantly share code, notes, and snippets.

View chrzyki's full-sized avatar
👨‍💻
code data code data code

Christoph Rzymski chrzyki

👨‍💻
code data code data code
View GitHub Profile
--- reftex-parse.old.el 2014-11-05 18:00:04.128132764 +0100
+++ reftex-parse.el 2014-11-05 17:54:52.834802367 +0100
@@ -357,7 +357,7 @@
(member "biblatex" TeX-active-styles)
;; poor-man's check...
(save-excursion
- (re-search-forward "^[^%]*\\\\usepackage.*{biblatex}" nil t))))
+ (re-search-forward "^[^%\n]*\\\\usepackage.*{biblatex}" nil t))))
(defun reftex-locate-bibliography-files (master-dir &optional files)
@chrzyki
chrzyki / iwlwifi-11n.conf
Created December 1, 2014 14:48
Fix for slow network speed with Intel Centrino Advanced-N 6205 and 3.17.* (see http://bernaerts.dyndns.org/linux/74-ubuntu/322-ubuntu-trusty-intel-centrino-6235-slow)
options iwlwifi 11n_disable=8
options iwlwifi bt_coex_active=0
@chrzyki
chrzyki / convert-strip.sh
Created December 16, 2014 07:41
Strip PNGs in PATH of all profiles, comments, etc. See: http://tex.stackexchange.com/a/125746
for i in $(find PATH -type f -name "*.png")
do
convert $i -strip $i
done
above
bad, evil
below
branch
breast
correct, true
dull, blunt
earth/soil
eight
fat/grease
animal
bad
bark
because
bite
blow
breathe
burn
come
count
all
and
ashes
at
back
belly
big
bird
black
blood
breast
fingernail
full
horn
knee
moon
round
----------------------------- Captured stdout call -----------------------------
ERROR:languages:320: non-unique ID: luo
ERROR:languages:323: non-unique ID: laj
ERROR:languages:339: non-unique ID: gmv
ERROR:languages:356: non-unique ID: byn
ERROR:languages:359: non-unique ID: bej
ERROR:languages:360: non-unique ID: dal
ERROR:languages:367: non-unique ID: sid
ERROR:languages:380: non-unique ID: som
ERROR:languages:381: non-unique ID: dsh
Traceback (most recent call last):
File "/.virtualenvs/lexibank/lib/python3.7/site-packages/lingpy/thirdparty/cogent/tree.py", line 543, in iterTips
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Repositories/lexibank/pylexibank/src/pylexibank/commands/curate.py", line 91, in curate
commands[user_input[0]](args)
126 6:makh1264,lobe1242,tswe1238,lozi1239,sout2807,tswa1253,
Fatal exception: 1704
java.lang.ArrayIndexOutOfBoundsException: 1704
at beast.evolution.tree.Tree.storeNodes(Tree.java:819)
at beast.evolution.tree.Tree.store(Tree.java:799)
at beast.evolution.tree.PrunedTree.insureStore(PrunedTree.java:572)
at beast.evolution.tree.PrunedTree.rq(PrunedTree.java:453)
at beast.evolution.tree.PrunedTree.requiresRecalculation(PrunedTree.java:374)
at beast.core.CalculationNode.checkDirtiness(CalculationNode.java:44)
at beast.core.State.checkCalculationNodesDirtiness(State.java:301)