Skip to content

Instantly share code, notes, and snippets.

osamutake

Block or report user

Report or block osamutake

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@osamutake
osamutake / Slinky.ipynb
Last active Apr 25, 2019
https://twitter.com/Rainmaker1973/status/1119638564269166602 を再現するためのコード。ipynb 形式にして、この系に成り立つスケール則について追記した。
View Slinky.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / uio.c
Last active Mar 26, 2019
Command for manipulating generic-uio
View uio.c
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
#include <string.h>
#include "uio.h"
int sys_read_numerical_string(const char path[], unsigned int *p_result)
@osamutake
osamutake / dto
Last active Mar 22, 2019
Device Tree Overlay script
View dto
#!/bin/sh
OVERLAY=/sys/kernel/config/device-tree/overlays
if [ -z $1 ]; then
echo USAGE: sudo dto folder-name [file-name.dts]
exit 1
fi
if [ -e $OVERLAY/$1 ]; then
@osamutake
osamutake / funcplot.ipynb
Last active Apr 16, 2018
関数グラフをプロットする FuncPlot
View funcplot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / widget-extension-test.ipynb
Created Apr 11, 2018
widget/extension のテスト
View widget-extension-test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / julia-function-args.ipynb
Last active Apr 7, 2018
julia の関数について勉強
View julia-function-args.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / distance-without-sqrt.ipynb
Last active Apr 9, 2018
平方根を使わずに距離を求める
View distance-without-sqrt.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / test-cubature.ipynb
Last active Apr 6, 2018
Cubature を使って数値積分を行う
View test-cubature.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / Collatz conjecture by julia.ipynb
Created Apr 5, 2018
Collatzの予想(角谷の問題)
View Collatz conjecture by julia.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@osamutake
osamutake / test-pyplot.ipynb
Created Apr 4, 2018
jupyterでPyplotを使う(python)
View test-pyplot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.