Ctrl キーは、Emacs 的なキーバインド。
Windows キーは、オリジナルの Windows での Ctrl キーのように振舞う。
Windows キーと Ctrl キーを区別するために、 Ctrl キーについては mod0 という新しいモディファイアとして扱うようにして、 emacsedit.nodoka ファイルを修正して、C- となっている部分をすべて M0- に置き換えた。
export GENOME=hg19 | |
export SNPBUILD=131 | |
curl -s http://hgdownload.cse.ucsc.edu/goldenPath/$GENOME/database/snp$SNPBUILD.txt.gz | \ | |
zcat | \ | |
cut -f 2,3,4,5,6,7,10,16 > dbsnp.$SNPBUILD.$GENOME.bed | |
head dbsnp.$SNPBUILD.$GENOME.bed | |
chr1 10433 10433 rs56289060 0 + -/C near-gene-5 | |
chr1 10491 10492 rs55998931 0 + C/T near-gene-5 | |
chr1 10518 10519 rs62636508 0 + C/G near-gene-5 |
#!/bin/bash | |
#$ -S /bin/bash | |
#$ -cwd | |
job_id=$(qsub $@ | ruby -ane 'print $F[2]') | |
while true | |
do | |
is_exist=$(qstat | ruby -ane "print 1 if \$F.first == '$job_id'") | |
if [ -z "$is_exist" ];then | |
break |
; Autohotkey Capslock Remapping Script | |
; Danik | |
; More info at http://danikgames.com/blog/?p=714 | |
; danikgames.com | |
; | |
; Functionality: | |
; - Deactivates capslock for normal (accidental) use. | |
; - Hold Capslock and drag anywhere in a window to move it (not just the title bar). | |
; - Access the following functions when pressing Capslock: | |
; Cursor keys - J, K, L, I |
""" | |
required packages: | |
numpy | |
matplotlib | |
basemap: http://matplotlib.org/basemap/users/installing.html | |
shapely: https://pypi.python.org/pypi/Shapely | |
descartes: https://pypi.python.org/pypi/descartes | |
random | |
# | |
# Licensed to the Apache Software Foundation (ASF) under one or more | |
# contributor license agreements. See the NOTICE file distributed with | |
# this work for additional information regarding copyright ownership. | |
# The ASF licenses this file to You under the Apache License, Version 2.0 | |
# (the "License"); you may not use this file except in compliance with | |
# the License. You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
# | |
# Original solution via StackOverflow: | |
# http://stackoverflow.com/questions/35802939/install-only-available-packages-using-conda-install-yes-file-requirements-t | |
# | |
# | |
# Install via `conda` directly. | |
# This will fail to install all | |
# dependencies. If one fails, | |
# all dependencies will fail to install. |
# Install chromedriver from https://sites.google.com/a/chromium.org/chromedriver/downloads | |
import os | |
from optparse import OptionParser | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
CHROME_PATH = '/usr/bin/google-chrome' |
これは卜部さんの優秀なプログラマーになるためのコツに影響されて書いたものです。
自分を構成する要素は、大きい順にシステムエンジニア、プログラマ、研究者だと思っています。でも、おそらく給料は「研究者」として払われているため、研究者として生きていくコツとしました。僕はさほど優秀とは言えませんが、とりあえずそれなりに長いことそれで食っています。大学の教授のウェブサイトに「研究者としてのコツ」みたいなことが書いてあることがありますが、これには「既に大学の教授になっている人が書いている」という強烈なバイアスがかかっています。もちろん参考になることも書いてありますが、「死ぬほど研究しろ、研究のことだけ考えろ」的な文章が多い印象です。これは普通の人にとって役に立たない助言です。これは平均的な研究者として生きていくための戯言、ポエムだと思ってください。
''' | |
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-monitor-tensorboard | |
make sure to install | |
pip install tensorflow azureml-tensorboard | |
Tensorboard logs need to be written in the logs folder by AML training runs. | |
SummaryWriter(log_dir="logs/test_run") | |
''' |