- $ conda -V
- $ conda update conda
- $ conda search “^python$”
- $ conda create -n <envname> python=x.x anaconda
- $ conda activate <envname> (old version: source activate <envname>)
- $ conda info -e
- $ conda install -n envname [package]
- $ conda deactivate (old version: source deactivate)
- $ conda remove -n <envname> -all
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Outlier detection based on modified tau | |
author: khan | |
""" | |
import numpy as np | |
from scipy.stats import t |
This file contains hidden or 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
FROM ubuntu:18.04 | |
ENV TZ=Europe/Paris | |
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone | |
RUN apt-get update\ | |
&& apt-get install -y mercurial wget make automake cmake g++ gfortran pkg-config python hwloc\ | |
&& apt-get install -y liblapack-dev libsuitesparse-dev libopenmpi-dev\ | |
&& apt-get install -y libscotch-dev petsc-dev libmetis-dev libarpack2-dev libparpack2-dev\ | |
&& apt-get install -y libnetcdf-dev libshp-dev flex bison libproj-dev libgsl-dev |
This file contains hidden or 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
% DATA_EXTRACTOR is a piece of program to extract data from netCDF file | |
% with CF convention. | |
% DATA_EXTRACTOR takes the location of the netCDF file graphically and then | |
% ask the user for bounding box of the data extraction. It also shows basic | |
% information from first file in the directory to input the to be extracted | |
% variable name. | |
% When giving input Numbers are input as it is. However variable name must | |
% be enclosed in a 'singleQuote'. | |
% Author: Jamal Uddin Khan | |
% IWFM, BUET - 2015. |
This file contains hidden or 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
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=1.0 | |
Name=MATLAB2017a | |
Comment=Language of Scientific Computing | |
Exec=/home/durand/.local/MATLAB/R2017a/bin/matlab -desktop | |
Icon=matlab | |
Terminal=false | |
StartupWMClass=MATLAB | |
Type=Application |
This file contains hidden or 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
[Desktop Entry] | |
Encoding=UTF-8 | |
Version=1.0 | |
Name=Jupyter | |
Comment=IPython Notebook Interface | |
Exec=env PROJ_LIB=/home/durand/.anaconda3/share/proj /home/durand/.anaconda3/bin/jupyter-notebook | |
Icon=jupyter | |
Terminal=true | |
Type=Application | |
Categories=Programming; |
This file contains hidden or 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 | |
## WRF installation with parallel process. | |
# Download and install required library and data files for WRF. | |
# License: LGPL | |
# Jamal Khan <[email protected]> | |
# Tested in Ubuntu 18.04 LTS | |
# basic package managment | |
sudo apt update | |
sudo apt upgrade |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
<?xml version='1.0' encoding='utf-8'?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<alias> | |
<family>cursive</family> | |
<prefer> | |
<family>ITC Zapf Chancery Std</family> | |
<family>Zapfino</family> | |
<family>Comic Sans MS</family> | |
</prefer> |
This file contains hidden or 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
<?xml version='1.0' encoding='utf-8'?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<dir>/usr/share/fonts</dir> | |
<dir>/usr/local/share/fonts</dir> | |
<dir>~/.fonts</dir> | |
<dir>~/.local/share/fonts</dir> | |
<dir>/usr/X11R6/lib/X11/fonts</dir> | |
<dir prefix="xdg">fonts</dir> | |
<alias> |
NewerOlder