Skip to content

Instantly share code, notes, and snippets.

View typon's full-sized avatar

Hassan Farooq typon

  • Toronto
View GitHub Profile
@typon
typon / pet-snippet.toml
Last active April 2, 2024 21:20
description
[[snippets]]
description = "Run jupyter notebook in lab42"
command = "bb covariant/dev_tools/jupyter notebook --allow-root --NotebookApp.ip=0.0.0.0 --NotebookApp.allow_origin='*' --NotebookApp.token='' --NotebookApp.password=''"
tag = ["", "jupyter", "python"]
output = ""
[[snippets]]
description = "Tail the latest modified file that ends with .log"
command = "tail -f `ls -t *.log | head -n1`"
tag = ["", "bash"]
@typon
typon / run_script.sh
Created February 27, 2019 15:33
Atomistix 2014 transistor analysis script
#Si nanowire
#bulk
atkpython transistor_analysis_DOS.py --ifile=nanowires/Si/si_bulk.py --analysis=bulk --model=dft --dos_energy_range=-1,1,40 --calcs=Bands --k_points=5,5,5 --band_dims=3 >& logs/si_bulk_bands_0_VG_3d.log &
atkpython transistor_analysis_DOS.py --ifile=nanowires/Si/si_bulk.py --analysis=bulk --model=dft --dos_energy_range=-1,1,40 --calcs=Bands --k_points=5,5,5 --band_dims=2 >& logs/si_bulk_bands_0_VG_2d.log &
atkpython transistor_analysis_DOS.py --ifile=nanowires/Si/si_bulk.py --analysis=bulk --model=dft --dos_energy_range=-1,1,40 --calcs=Bands --k_points=5,5,5 --band_dims=2 --band_route=G,X,W,K,G >& logs/si_bulk_bands_0_VG_2d.log &
#100
atkpython transistor_analysis_DOS.py --ifile=nanowires/Si/si_100_5A_6.25Ax6.25A_gated.py --analysis=gate_sweep --gate_v=-1,-1,1,0 --model=dft --dos_energy_range=-1,1,40 --calcs=Bands >& logs/si_100_5A_6.25Ax6.25A_gated_bands_-4_0_VG.log &
atkpython transistor_analysis_DOS.py --ifile=nanowires/Si/si_100_5A_6.25Ax6.25A_gated.py --analysis=gate_sweep --gate_v