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
| var util = require('util') | |
| ,spawn = require('child_process').spawn | |
| ,java = spawn('java', ['Sample']); | |
| process.stdin.resume(); | |
| java.stdin.on('close', function() { | |
| process.exit(0); | |
| }); | |
| util.pump(process.stdin, java.stdin); |
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
| var plus5 = addfac(5); | |
| console.log(plus5(10)); | |
| function addfac(n) { | |
| return function(m) { | |
| return n + m; | |
| }; | |
| } |
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
| diff -r -u redmine_ezlibrarian.origin//app/views/lib_mailer/lib_new.text.html.rhtml redmine_ezlibrarian/app/views/lib_mailer/lib_new.text.html.rhtml | |
| --- redmine_ezlibrarian.origin//app/views/lib_mailer/lib_new.text.html.rhtml 2009-07-14 14:13:45.000000000 +0900 | |
| +++ redmine_ezlibrarian/app/views/lib_mailer/lib_new.text.html.rhtml 2011-08-26 09:20:51.281250000 +0900 | |
| @@ -34,7 +34,7 @@ | |
| <td style="width:35%"><%= @book.holder_change_histories_count > 1 ? "#{@book.holder_change_histories_count - 1} " : 0 %></td> | |
| </tr> | |
| <tr> | |
| - <td style="width:15%"><b><%=l(:field_author)%>:</b></td> | |
| + <td style="width:15%"><b><%=l(:field_book_author)%>:</b></td> | |
| <td style="width:35%"><%= @book.author %></td> |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Xml.Linq; | |
| namespace ConsoleApplication1 | |
| { | |
| class Program | |
| { |
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
| 【メインボード】 | |
| 生物 12 | |
| Raging Goblin 4 7E | |
| Mogg Sentry 4 PS | |
| Goblin Raider 4 7E | |
| 火力 26 | |
| Shock 4 7E | |
| Seal of Fire 4 NE | |
| Volcanic Hammer 4 7E |
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
| Attribute VB_Name = "Module1" | |
| Sub Clear() | |
| Dim wsCurrent As Worksheet | |
| For Each wsCurrent In ThisWorkbook.Worksheets | |
| wsCurrent.Range("xy").Value = "foo" | |
| Next | |
| End Sub |
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
| -- メインボード 60 | |
| -- クリーチャー 9 | |
| 4x ゴブリンの先達/Goblin Guide | |
| 2x 渋面の溶岩使い/Grim Lavamancer | |
| 3x ケルドの匪賊/Keldon Marauders | |
| -- スペル 27 | |
| 3x ギタクシア派の調査/Gitaxian Probe | |
| 3x はらわた撃ち/Gut Shot | |
| 4x 稲妻/Lightning Bolt |
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
| function fact(n) { | |
| return Y(fact0)(n); | |
| } | |
| document.write(fact(6)); |
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
| /* 2013/09/06 | |
| * { | |
| * "dependencies": { | |
| * "tobi": "git://github.com/yssk22/tobi.git" | |
| * }, | |
| * "engine": { | |
| * "node": "0.10" | |
| * } | |
| * } | |
| */ |
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
| // 処理対象の文字列 | |
| var str = "Hello, JavaScript!"; | |
| // 通常のfor文で行う | |
| for (var i = 0; i < str.length; i++) { | |
| console.log(str[i]); | |
| } | |
| // 一応動くけど、まぁやめた方が良い | |
| for (var i in str) { |