This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
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
import sys | |
import csv | |
tabin = csv.reader(sys.stdin, dialect=csv.excel_tab) | |
commaout = csv.writer(sys.stdout, dialect=csv.excel) | |
for row in tabin: | |
commaout.writerow(row) |
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
<!DOCTYPE html> | |
<title>localStorage test</title> | |
<body> | |
<h1>localStorage test</h1> | |
<script> | |
if ( ! window.console ) { | |
console = { | |
log : function( s ) { | |
alert( 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
#include <stdint.h> | |
#include <avr/interrupt.h> | |
#include <avr/wdt.h> | |
byte sample = 0; | |
boolean sample_waiting = false; | |
byte current_bit = 0; | |
byte result = 0; | |
void setup() { |
- 日時: 2015-08-24 19:15-20:40
- 講師:
- 野島 梨恵氏 (東京山王法律事務所)
- 場所: Co-Edo
- 資料
- ハッシュタグ #coedo
JEP-123 で利用時に指定する方法が提案されてJava8で使えるようになったらしい。Linuxだと標準で /dev/random
を使うからエントロピーが全部消費されてる状態だとブロックされてた。
- http://openjdk.java.net/jeps/123
- https://bugs.openjdk.java.net/browse/JDK-8046113
- http://docs.oracle.com/javase/jp/8/technotes/guides/security/StandardNames.html#SecureRandom
- http://docs.oracle.com/javase/jp/7/technotes/guides/security/StandardNames.html#SecureRandom
- http://docs.oracle.com/javase/jp/8/api/java/security/SecureRandom.html#getInstance-java.lang.String-java.lang.String-
- http://docs.oracle.com/javase/jp/8/api/java/security/Security.html#getProvider-java.lang.String-
- http://blog.64p.org/entry/2014/10/08/233604
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
require 'formula' | |
class Dblatex < Formula | |
env :userpaths | |
url 'http://downloads.sourceforge.net/project/dblatex/dblatex/dblatex-0.3.10/dblatex-0.3.10.tar.bz2' | |
homepage 'http://dblatex.sourceforge.net' | |
sha256 '6fd696b740e0044ae1caf843d225d98c01b6ed916550384544e7e31c0c6a2cfa' | |
def install | |
system "python", "setup.py", "install", "--prefix=#{prefix}", "--install-scripts=#{bin}" |
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
%%% @author Sergey Prokhorov <[email protected]> | |
%%% @copyright (C) 2013, Sergey Prokhorov | |
%%% @doc | |
%%% @license Apache License Version 2.0 | |
%%% | |
%%% Walker alias method - efficient random selection with defined probabilities. | |
%%% <http://en.wikipedia.org/wiki/Alias_method> | |
%%% | |
%%% > ProbabilityValueList = [{10, a}, {20, b}, {30, c}, {40, d}], | |
%%% > WalkerVectors = walker_alias:build(ProbabilityValueList), |
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
1. スタート→設定→更新とセキュリティ→開発者向けで、「開発者モード」を選択。 | |
2. スタート→設定→アプリと機能→プログラムと機能→Windowsの機能の有効化または無効化で、「Windows Subsystem for Linux (Beta)」にチェック。OK、再起動。 | |
3. cmd.exeを起動、プロパティを表示、「従来のコンソールを使う」チェックを外す。cmd.exeを終了。 | |
4. スタート→bashを起動。初回だけ、Ubuntuをインストールするよ!って言われるので「y」って返事をする。 |
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
; east asian ambiguous settings | |
(defun set-east-asian-ambiguous-width (width) | |
(cond ((= emacs-major-version 22) (set-east-asian-ambiguous-width-22 width)) | |
((> emacs-major-version 22) (set-east-asian-ambiguous-width-23 width)))) | |
; for emacs 22 | |
(defun set-east-asian-ambiguous-width-22 (width) | |
(if (= width 2) | |
(utf-translate-cjk-set-unicode-range |