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
<div id="header"> | |
<a href="javascript:reset();">reset</a> | |
<a id="run" href="javascript:run();">run</a> | |
</div> | |
<div id="gel"></div> |
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
<div id="wrap"> | |
<h1>Inline Frame Height Adjustment</h1> | |
<iframe id="frame" src="/"></iframe> | |
</div> |
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
""" | |
Usage: python csv2wikitable.py csv_file | |
----- | |
input: csv format | |
output: wiki table format | |
""" | |
import sys | |
if __name__ == '__main__': |
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
$ python test.py 2> /dev/null | |
update: 1.04434204102 [sec] | |
save: 0.781103849411 [sec] | |
load: 0.143770933151 [sec] |
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 | |
IFS=$'\t' | |
awk -F '\t' '{print $1 "\t" $4}' | while read -r line; do | |
set -- $line | |
id=$1 | |
json=$2 | |
metanetx=$(echo $json | jq -rM --unbuffered 'try (."MetaNetX (MNX) Equation" | .[] | .id) catch ""') | |
kegg=$(echo $json | jq -rM --unbuffered 'try (."KEGG Reaction" | .[] | .id) catch ""') |
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
FC = gfortran | |
%.mod: %.f90 %.o | |
@: | |
%.o: %.f90 | |
$(COMPILE.f) $< | |
### PROJECT UNIQUE ### |
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/sh | |
# | |
# Usage: | |
# source entrance "arg1 arg2 arg3" $* | |
# | |
readonly program=$(basename $0) | |
readonly args=($1) | |
shift 1 |