-
Open VPN Settings
-
Open the Settings app by pressing
Windows + I
on your keyboard. -
Or go to Network & Internet.
-
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
33 * * * * sudo ruby -e 'zstat = `zpool status -x`.strip; if zstat != "all pools are healthy" then puts zstat; end' | |
35 * * * * sudo ruby -e '["sda", "sdb", "sdc", "sdd"].each do |dev| health = `smartctl -H /dev/#{dev}`; unless health.include?("SMART overall-health self-assessment test result: PASSED") then puts dev; puts health; end; end |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix(https://github.com/) { | |
.code-body .line, .file-diff .file-diff-line { | |
tab-size: 2; | |
-moz-tab-size: 2; | |
-o-tab-size: 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
diff --git a/config.sample.yml b/config.sample.yml | |
index 0dab043..5ed6aa8 100644 | |
--- a/config.sample.yml | |
+++ b/config.sample.yml | |
@@ -1,5 +1,5 @@ | |
production: | |
- dsn: <%= ENV['DATABASE_URL'] || ENV['DUOSTACK_DB_MYSQL'] %> | |
+ dsn: mysql://sampleuser:samplepassword@localhost/db_name | |
development: | |
dsn: sqlite3://<%= root %>/db/development.sqlite3 |
evalbookのURL
#スライド
#元ページ http://archive.wiredvision.co.jp/blog/masui/
#出力サンプル
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
class YbookMLParser | |
prechigh | |
left CHARACTER | |
nonassoc LOW | |
preclow | |
rule | |
target : text { p val[0] } | |
| /* none */ { "" } | |
text : text string { result = val[0] + val[1] } |
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
Random#randとKernel#randで引数としてRangeを扱えるようにしてほしいです。 | |
Random#randは引数にInteger, Float, Rangeを扱うことができるのに対し、Kernel#rand, Random.randではIntegerしか扱うことができません。 | |
rand 10 #=> 7 | |
rand 7.5 #=> 4 | |
rand 10..20 #=> TypeError: can't convert Range into Integer | |
Random.rand 10 #=> 8 | |
Random.rand 7.5 #=> 3 |
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
Index: test/main/util/DefragUtilTest.java | |
=================================================================== | |
--- test/main/util/DefragUtilTest.java (リビジョン 0) | |
+++ test/main/util/DefragUtilTest.java (リビジョン 5) | |
@@ -0,0 +1,75 @@ | |
+/* | |
+ * To change this template, choose Tools | Templates | |
+ * and open the template in the editor. | |
+ */ | |
+ |
NewerOlder