Skip to content

Instantly share code, notes, and snippets.

View 515hikaru's full-sized avatar

Takahiro Kojima 515hikaru

View GitHub Profile
  • ソフトウェアエンジニアをやめたい、と真面目に考えている
    • お金は欲しいのでしばらくは続けると思う
    • だけどもうやりたい仕事ではなくなり始めている
      • 会社を変えれば良いと言う話ではなく、ソフトウェアエンジニア、あるいはソフトウェア開発に携わることをやめたい
  • なぜそう思うのか
    • 既にテクノロジーからは興味を失っている
      • 単純に飽きた
        • もう4年以上やっている
      • 同じことの繰り返し
  • 結局はビッグテックのイヌとして働き続ける人生

Keybase proof

I hereby claim:

  • I am 515hikaru on github.
  • I am 515hikaru (https://keybase.io/515hikaru) on keybase.
  • I have a public key ASC805lj6F7Ykr5IiQRbgIsilfFHTC6bzSYlaOQ6YFhITAo

To claim this, I am signing this object:

sed 'y/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/'
ghq() {
if [[ $1 == "look" ]]; then
if [[ -n $2 ]]; then
command cd $(${HOMEBREW_PREFIX}/bin/ghq list --full-path --exact $2)
else
command cd $(${HOMEBREW_PREFIX}/bin/ghq list --full-path | peco)
fi
else
command ${HOMEBREW_PREFIX}/bin/ghq "$@"
fi
#include <iostream>
using namespace std;
const int n = 5;
void rec(int *xs, int i) {
if (i == n) {
cout << "----------------" << endl;
for (int j = 0; j < n; j++) {
cout << xs[j] << " ";
rightprompt()
{
printf "%*s" $COLUMNS "$(__git_ps1 '(%s)') "
}
PS1L="${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ "
PS1="\[$(tput sc; rightprompt; tput rc)\]$PS1L "
import itertools
def main():
for w in itertools.permutations('git', 3):
print(''.join(w))
if __name__ == '__main__':
main()
@515hikaru
515hikaru / function.ps1
Created February 6, 2019 15:20
git push の時に peco でブランチを選ぶ
function git-push-peco {
git push origin $(git branch --format='%(refname:short)' | peco.exe)
}
@515hikaru
515hikaru / function.zsh
Created February 6, 2019 08:56
conda の環境用の関数
function conda-activate-current {
conda activate "$(pwd | sed 's;/; ;g' | xargs -n 1 | tail -n 1)"
}
function conda-env-select {
conda activate "$(conda info -e | grep -v -E "^#" | awk '{print $1}' | peco)"
}
use std::io;
fn main() {
println!("Hello, World!!");
let mut foo = String::new();
io::stdin().read_line(&mut foo).expect("cannot read lines");
println!("foo is {}", foo);
}