n | 2^n sec | interval | count per day |
---|---|---|---|
6 | 64 | 1m | 1350 |
7 | 128 | 2m | 675 |
8 | 256 | 4m | 337 |
9 | 512 | 9m | 169 |
10 | 1024 | 17m | 84 |
11 | 2048 | 34m | 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
# グリッド分割数 | |
DIVISION_COUNT = 256 | |
# 境界条件 | |
BOUNDARY_CONDITION = { | |
0 : 0.0, | |
int(DIVISION_COUNT/2) : 1.0, | |
int(DIVISION_COUNT-1) : 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import math | |
time_max=8 | |
timestep=0.005 | |
count=240 | |
n_max=30 | |
result=[] | |
for t_ in range(time_max): | |
result = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
# グリッド分割数 | |
DIVISION_COUNT = 256 | |
# 境界条件 | |
BOUNDARY_CONDITION = { | |
0 : 0.0, | |
int(DIVISION_COUNT-1) : 0.0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name [Google Search] Do not sort tabs Google | |
// @namespace https://gist.github.com/Kohei-Toyoda/ | |
// @description Fix order of tabs on google search (forked from https://gist.github.com/tkrkt/4fa57eedf9922c0719d26d67db08b8c2 ) | |
// @version 3 | |
// @include https://www.google.co.jp/search* | |
// @include https://www.google.com/search* | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Huawei製の無線LANルーターのDHCP機能を無効化する | |
DHCP機能を無効化することで、実質的にブリッジモードとして動作させ、通常のアクセスポイントとして使える | |
Speed Wi-Fi HOME L01で動作確認 | |
使い方 | |
1. Webブラウザで設定画面にログイン | |
2. ブラウザの開発コンソールを開く |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SSIDをバリデーションなしで強制的に設定する | |
* 同一SSIDを2.4GHz/5GHzの両方に設定できる | |
Speed Wi-Fi HOME L01で動作確認 | |
使い方 | |
1. Webブラウザで設定画面開く | |
2. 同一のSSIDの設定を試みる |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Colors] | |
DefaultColorScheme=6 | |
ForegroundColour=236,240,241 | |
BackgroundColour=24,24,24 | |
CursorColour=211,84,0 | |
BoldBlack=52,73,94 | |
Black=44,62,80 | |
BoldRed=231,76,60 | |
Red=192,57,43 | |
BoldGreen=46,204,113 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://ciembor.github.io/4bit/ |
OlderNewer