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 | |
find . -type f -a \( -name '*.tex' -o -name '*.cmake' -o -name '*.bib' -o -name '*.md' -o -name '*.txt' \) -print -exec ~/clean-endings.sh {} ~/cleaning-log.txt \; |
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 | |
((sed -i .back 's/ *$//' $1 && rm $1.back) || true) | tee -a $2 |
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
$ source .bash_profile | |
-bash: declare: -A: invalid option | |
declare: usage: declare [-afFirtx] [-p] [name[=value] ...] | |
-bash: complete: -D: invalid option | |
complete: usage: complete [-abcdefgjksuv] [-pr] [-o option] [-A action] [-G globpat] [-W wordlist] [-P prefix] [-S suffix] [-X filterpat] [-F function] [-C command] [name ...] |
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: | |
- sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended | |
- sudo apt-get install chktex | |
script: | |
- make | |
- chktex -W # Print version information. | |
- chktex -q -n 6 *.tex chapters.*.tex 2>/dev/null | tee lint.out | |
# If lint output is non-empty report an error. | |
- test ! -s lint.out |
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 | |
# (Replace `$HOME/code` with the location of your projects) | |
for f in $(find /Users/ibeekman -name node_modules -prune -o -follow -maxdepth 3 -name .travis.yml -print 2>/dev/null); do | |
(builtin cd "$(dirname $f)" && /usr/local/bin/update_travis_ci_status) | |
done |
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
#!/usr/local/bin/bash | |
if [ -e ".travis.yml" ]; then | |
if type ruby > /dev/null 2>&1 && type travis > /dev/null 2>&1; then | |
stat_file=".travis_status~" | |
status=$(travis branches 2>&1) | |
echo "$status" > $stat_file | |
# Ignore status file from git repo | |
if ! ([ -e .git/info/exclude ] && grep -q "$stat_file" .git/info/exclude); then | |
[ -d .git/info ] && echo "$stat_file" >> .git/info/exclude | |
fi |
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
#!/usr/local/bin/bash | |
if [ -e ".travis.yml" ]; then | |
if type ruby > /dev/null 2>&1 && type travis > /dev/null 2>&1; then | |
stat_file=".travis_status~" | |
status=$(travis branches 2>&1) | |
echo "$status" > $stat_file | |
# Ignore status file from git repo | |
if ! ([ -e .git/info/exclude ] && grep -q "$stat_file" .git/info/exclude); then | |
[ -d .git/info ] && echo "$stat_file" >> .git/info/exclude | |
fi |
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 | |
# (Replace `$HOME/code` with the location of your projects) | |
for f in $(find /Users/ibeekman -name node_modules -prune -o -follow -maxdepth 3 -name .travis.yml -print 2>/dev/null); do | |
(builtin cd "$(dirname $f)" && /usr/local/bin/update_travis_ci_status) | |
done |
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
$ ./build.sh | |
./build.sh: line 35: -c -O2 -warn -stand f08 -diag-disable 7601 -traceback: command not found | |
Building library... | |
Builder options | |
Building directory: lib/ | |
Compiled-objects .o directory: lib/ | |
Compiled-objects .mod directory: lib/ | |
Compiler class: intel | |
Compiler: ifort |
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
diff --git i/src/json_module.f90 w/src/json_module.f90 | |
index 07aca92..1f704e1 100644 | |
--- i/src/json_module.f90 | |
+++ w/src/json_module.f90 | |
@@ -4285,6 +4285,7 @@ | |
![the line is read in chunks until the end of the line is reached] | |
if (istat==0) then | |
do | |
+ isize = 0 | |
read(iunit,fmt=nfmt,advance='NO',size=isize,iostat=istat) chunk |
OlderNewer