Skip to content

Instantly share code, notes, and snippets.

View YukiSakamoto's full-sized avatar

Yuki Sakamoto YukiSakamoto

  • Osaka, Japan
  • 18:17 (UTC +09:00)
View GitHub Profile
@kaityo256
kaityo256 / howto.md
Last active April 2, 2024 14:43
研究者として生きていくコツ

研究者として生きていくコツ

これは卜部さんの優秀なプログラマーになるためのコツに影響されて書いたものです。

著者について

自分を構成する要素は、大きい順にシステムエンジニア、プログラマ、研究者だと思っています。でも、おそらく給料は「研究者」として払われているため、研究者として生きていくコツとしました。僕はさほど優秀とは言えませんが、とりあえずそれなりに長いことそれで食っています。大学の教授のウェブサイトに「研究者としてのコツ」みたいなことが書いてあることがありますが、これには「既に大学の教授になっている人が書いている」という強烈なバイアスがかかっています。もちろん参考になることも書いてありますが、「死ぬほど研究しろ、研究のことだけ考えろ」的な文章が多い印象です。これは普通の人にとって役に立たない助言です。これは平均的な研究者として生きていくための戯言、ポエムだと思ってください。

健康第一

@amitsaha
amitsaha / ipython-notebook.service
Last active December 23, 2015 15:59
Run IPython notebook under systemd
# README:
# Copy this file to /usr/lib/systemd/system/
# sudo systemctl daemon-reload
# systemctl enable ipython-notebook
# systemctl start ipython-notebook
# The WorkingDirectory and ipython-dir must exist
# If you don't want anything fancy, go to http://127.0.0.1:8888 to see your notebook
# wheneber you want it
[Unit]
@ktnyt
ktnyt / ecell4.rb
Last active December 22, 2015 13:59
A brew formula for installing E-Cell version 4. Put the formula in /usr/local/Library/formula, run "brew install ecell4", and add /usr/local/lib/python2.7/site-packages to the $PYTHONPATH variable. Uncomment the lines in the "targets" array to install the module of choice. Note that some of these modules depend on other Python modules (e.g. SciPy)
require 'formula'
# Contact celery [at] g-language.org for questions
# Or should I call this formula plain ecell...?
class Ecell4 < Formula
homepage 'http://www.e-cell.org/'
url 'https://github.com/ecell/ecell4/tarball/master'
sha1 '2b1bdf70b0bdfd09e091943eb110b1aab03db6c6'
version '4'
@tinkerbotfoo
tinkerbotfoo / ipython-notebook.conf
Created August 27, 2013 01:27
ipython upstart script - Ubuntu 12.04 Precise. Put this file in the /etc/init folder to start ipython upon system booting
# IPython Notebook Launcher
# Adopted from the Rstudio upstart script
#
#
# upstart docs: http://upstart.ubuntu.com/getting-started.html
# http://manpages.ubuntu.com/manpages/karmic/man5/init.5.html
#
# (note that embedding a script and pre-start and post-start actions are supported)
#
@lambdalisue
lambdalisue / gist:4450220
Created January 4, 2013 05:42
色付きでターミナルでバイナリを表示する
od -vt x1z -Ax <<FILENAME>> | sed -e "s/^....../\o33[01;34m&\o33[00m/g" | less -R
@poochin
poochin / gist:1423262
Created December 2, 2011 13:35
sl コマンドに京急AAを追加するパッチです
diff -c sl/sl.c sl_kq/sl.c
*** sl/sl.c 1998-07-22 23:01:01.000000000 +0900
--- sl_kq/sl.c 2011-12-02 21:34:09.540165908 +0900
***************
*** 33,73 ****
#include "sl.h"
int ACCIDENT = 0;
int LOGO = 0;
int FLY = 0;
@msantos
msantos / bpf.c
Last active April 2, 2024 18:54
Example of using bpf to capture packets
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <err.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>