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
//////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// | |
// Class Dual | |
// tag: template container, bidirectional map | |
// https://gist.github.com/Isaac-Kwon/9c4742f7ef7be49826faf1301aad9d3f | |
// | |
// Developer/Maintainer: "Minjae Isaac Kwon" <minjae.isaac.kwon@gmail.com> | |
// License: MIT | |
// | |
//////////////////////////////////////////////////////////////////////////////////////////////////////// |
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
#include "TROOT.h" | |
#include "TTree.h" | |
#include "iostream" | |
#include "vector" | |
TTree* ascii2treefunc(TString filename){ | |
std::vector<TString> lnames = { | |
"v1","v2","v3","v4","v5" //... | |
}; |
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
from selenium import webdriver | |
from PIL import Image | |
from selenium.webdriver.chrome.options import Options | |
from bs4 import BeautifulSoup | |
from pandas import DataFrame | |
waybills = [1000000000000,2000000000000] #input the list of waybills | |
#run first time to get scrollHeight | |
chrome_options = Options() |
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 | |
MACRO="/path/to/analysis.cpp" | |
INPUTFILE="/path/to/filenames.lst" | |
DATADIR="/path/to/data_directory" | |
######################################### | |
WORKDIR=$(date +%y%m%d%H%M%S) |
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
# in exe directory | |
set(TEST_EXE | |
test_exe1 | |
test_exe2 | |
test_exe3 | |
) | |
# for now put the executables in the build root | |
# for compatibility with existing scripts |
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
# | |
# need "pip install openpyxl | |
# | |
from openpyxl import load_workbook | |
def loadExcel(fname="./fname.xlsx", sname='sheet'): | |
load_wb = load_workbook(fname, data_only=True) | |
load_ws = load_wb['Sheet1'] |
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 | |
index=$(date +%y%m%d%H%M%S) | |
tar -czf ../texbackup_$index.tar.gz * | |
for ext in "blg" "aux" "lot" "synctex.gz" "fls" "bbl" "out" "bcf" "lof" "toc" "fdb_latexmk" "log" "run.xml" "-converted-to.pdf" | |
do | |
find . -name "*.$ext" -delete -print | |
done |
2021년 7월 18일 기준, KISTI-GSDC-KIAF 실행 가능
Jump to Checkpoints
NewerOlder