HuidaeCho/peakfq-linux|its GitHub repository]].
<file bash compile_peakfq.sh>
#!/bin/sh
# download sou... q
rm -rf PeakFQ_7.5.1.src
cd peakfq
# rename all filenames to lowercase
for i in *.*; do
j=$(echo $i ... done
# rename include and module names in source files to lowercase
for i in *.*; do
grep -q ".*.INC'... ndows functions
sed -Ei 's/^(.*(PeekNamedPipe|ReadFile|WriteFile))/!\1/' scenmod.f90
# fix disclaimer l
====== How to merge CSV files in the current directory ======
<code bash>
# set a variable to know if a file is the first one
# because we don't want to skip the head line from the first file
first=1
# for each of *.csv file names, assign it to i
for i in *.csv; do
# if you repeat this script
pt requires [[https://jqlang.github.io/jq/|jq]].
<file bash download_arcgis_rest_features.sh>
#!/bin/sh
... URL for an ArcGIS REST API
rest_url=$1
# output filename
output=$2
# prefix
prefix=$(echo $output | s... is infinite loop
while :; do
# generate a filename
fn=${prefix}_$offset.geojson
... err=$?
# if there was a wget error or the filesize is zero
if [ $err -ne 0 -o ! -s $fn ]
add paths to TeX Live
cat << 'EOT' >> ~/.bash_profile
# TeX Live
export PATH="$HOME/usr/local/opt/texl... # read them into the current session
. ~/.bash_profile
</code>
For other users,
<code bash>
# create th... add paths to TeX Live
cat << 'EOT' >> ~/.bash_profile
# TeX Live
export PATH="$HOME/usr/local/opt/texl... # read them into the current session
. ~/.bash_profile
</code>
===== Per-user installation =====
The i
requires python3-numpy and OpenBLAS;
# build queuefiles, not packages, to automatically build any other ... l/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile
. ~/.bash_profile
fi
cd ..
# build modflow6
cd modflow6
meson setup builddir -Ddebug=false -Dparalle... ; then
echo 'export PATH="$HOME/usr/local/bin:$PATH"' > ~/.bash_profile
. ~/.bash_profile
fi
</code>
l/share/pkgconfig:$PKG_CONFIG_PATH"' > ~/.bash_profile
. ~/.bash_profile
fi
echo 'export LD_LIBRARY_PATH="$HOME/usr/local/src/grass/dist.x86_64-pc-linux-gnu/lib:$LD_LIBRARY_PATH"' > ~/.bash_profile
. ~/.bash_profile
# create postgres group and user, which are required by postgresql
groupadd -g 209 p
<code batch>
rem install micromamba
mkdir %USERPROFILE%\local\bin
curl -L https://github.com/mamba-org/m... /latest/download/micromamba-win-64.exe -o %USERPROFILE%\local\bin\micromamba.exe
rem if %USERPROFILE%\local\bin is not in PATH
set PATH=%USERPROFILE%\local\bin;%PATH%
setx PATH %PATH%
rem set the root pr