This file contains hidden or 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
| syntax enable | |
| filetype plugin indent on | |
| set hidden | |
| set nobackup | |
| set noundofile | |
| set modeline |
This file contains hidden or 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
| $ cat >> ~/.bashrc | |
| if [ "${OS}" = "Windows_NT" ]; then | |
| function wincmd(){ | |
| CMD=$1 | |
| shift | |
| $CMD $* 2>&1 | iconv -f cp932 -t utf-8 | |
| } | |
| alias ipconfig='wincmd ipconfig' | |
| alias nslookup='wincmd nslookup' |
This file contains hidden or 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
| # m5stick-qrcode-test.py - QRCode Test for M5StickV | |
| import lcd | |
| import sensor | |
| import time | |
| import audio | |
| from fpioa_manager import fm | |
| from machine import I2C | |
| from Maix import I2S, GPIO | |
| def draw_text(img, str, x, y, s): |
This file contains hidden or 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 off | |
| rem conv_fastforward_gif.bat - 早送りGIF動画作成バッチファイル。ffmpegを使用。 | |
| rem | |
| rem 引数 : 入力動画 横サイズ フレームレート n倍速 | |
| rem | |
| call :GET_BASENAME %1% | |
| set GIF_FILENAME=%RETVAL%.gif | |
| echo %GIF_FILENAME% |
This file contains hidden or 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
| // | |
| // easing_test.pde | |
| // | |
| // see also...http://gizma.com/easing/ | |
| // | |
| import java.lang.reflect.*; | |
| import java.util.*; | |
| float easing_00_linear(float p) { | |
| return p; |
テキストベースの独自の記述言語を使って、UML図を描くことができるツール。
ユースケース図、クラス図、シーケンス図、アクティビティ図などを描くことが可能。
This file contains hidden or 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
| #!/usr/bin/ruby | |
| # | |
| # reiwa.rb - solver for 零は? https://qiita.com/shiracamus/items/3d3ec5d95c8384ccf424 | |
| # | |
| require 'socket' | |
| require 'pp' | |
| s = TCPSocket.new("zerois-o-reiwa.seccon.jp", 23615) | |
| count = 0 |
Tidal Cyclesの手動インストールメモ 2019.4 (Windows編)
演奏するプログラミング、ライブコーディングの思想と実践 ―Show Us Your Screensでは、Windows環境にTidal Cyclesをインストールする方法としてChocolateyを使った手順が紹介されている。 しかし、2019/4/7現在、ChocolateyでHaskellのパッケージインストールに使用されるCabal環境では、networkパッケージのインストールに失敗するため、書籍で紹介されている手順ではTidalCyclesのインストールができない。
そこで、Haskellのパッケージインストールにstackを使用したTidal Cyclesのインストール手順を紹介する。
