Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
| // VSCodeで、エディタとターミナルを往復できるショートカットの定義 | |
| // Place your key bindings in this file to override the defaultsauto[] | |
| [ | |
| { | |
| "key": "ctrl+`", | |
| "command": "workbench.action.focusActiveEditorGroup", | |
| "when": "terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+`", |
Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.
Note that you need the https://brew.sh/ package manager installed on your machine.
brew install fish
| # It only has two dependencies numpy and tensorflow | |
| import numpy as np | |
| import tensorflow as tf | |
| from config import cfg | |
| # Class defining a Convolutional Capsule | |
| # consisting of multiple neuron layers | |
| # |
これは卜部さんの優秀なプログラマーになるためのコツに影響されて書いたものです。
自分を構成する要素は、大きい順にシステムエンジニア、プログラマ、研究者だと思っています。でも、おそらく給料は「研究者」として払われているため、研究者として生きていくコツとしました。僕はさほど優秀とは言えませんが、とりあえずそれなりに長いことそれで食っています。大学の教授のウェブサイトに「研究者としてのコツ」みたいなことが書いてあることがありますが、これには「既に大学の教授になっている人が書いている」という強烈なバイアスがかかっています。もちろん参考になることも書いてありますが、「死ぬほど研究しろ、研究のことだけ考えろ」的な文章が多い印象です。これは普通の人にとって役に立たない助言です。これは平均的な研究者として生きていくための戯言、ポエムだと思ってください。
| from __future__ import print_function | |
| import os | |
| import shutil | |
| import stat | |
| import subprocess | |
| import time | |
| import numpy as np | |
| from scipy.io import wavfile | |
| import re | |
| import glob |
| raise ValueError("DEPRECATED/FROZEN - see https://github.com/kastnerkyle/tools for the latest") | |
| # License: BSD 3-clause | |
| # Authors: Kyle Kastner | |
| # Harvest, Cheaptrick, D4C, WORLD routines based on MATLAB code from M. Morise | |
| # http://ml.cs.yamanashi.ac.jp/world/english/ | |
| # MGC code based on r9y9 (Ryuichi Yamamoto) MelGeneralizedCepstrums.jl | |
| # Pieces also adapted from SPTK | |
| from __future__ import division | |
| import numpy as np |
| """ | |
| This is a batched LSTM forward and backward pass | |
| """ | |
| import numpy as np | |
| import code | |
| class LSTM: | |
| @staticmethod | |
| def init(input_size, hidden_size, fancy_forget_bias_init = 3): |
| ;; This is originally from | |
| ;; http://ubuntuforums.org/showthread.php?s=618526e60dfcf25e6413439603fa08ad&t=1716268&page=2. | |
| ;; Thanks to user "florenzen". I've included the fixes for Ubuntu 11.10 | |
| ;; and wrapped buffer-file-name in a call to file-truename because | |
| ;; kpathsea/SyncTeX follow symlinks; see | |
| ;; http://tex.stackexchange.com/questions/25578/why-is-synctex-in-tl-2011-so-fussy-about-filenames. | |
| ;; Forward/inverse search with evince using D-bus. | |
| (if (require 'dbus "dbus" t) | |
| (progn |