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(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; | |
| (function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a= | |
| b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push |
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
| 10 CLS:CLEAR | |
| 20 F$="1"'OPENNING | |
| 30 FOR J1=J3 TO 17 | |
| 40 LOCATE (23-J1+J2),1:PRINT F$ | |
| 50 NEXT | |
| 60 IF F$="1" THEN F$="5":J2=J2+1:J3=J3+1:GOTO 30 | |
| 70 IF F$="5" THEN F$=" ":J2=J2+1:J3=J3+1:GOTO 30 | |
| 80 IF F$=" " THEN F$="P":J2=J2+1:J3=J3+1:GOTO 30 | |
| 90 IF F$="P" THEN F$="U":J2=J2+1:J3=J3+1:GOTO 30 | |
| 100 IF F$="U" THEN F$="Z":J2=J2+1:J3=J3+1:GOTO 30 |
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
| const long SPEED = 2400; // connection speed | |
| void setup() { | |
| Serial.begin(SPEED); | |
| } | |
| void loop() { | |
| Serial.println("loop"); | |
| count(); | |
| } |
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
| #!/bin/sh | |
| test -f ~/.sbtconfig && . ~/.sbtconfig | |
| SBT_OPTS="$SBT_OPTS -Dsbt.log.noformat=true" | |
| exec java -Xms512M -Xmx1536M -XX:MaxPermSize=256m ${SBT_OPTS} -jar /usr/local/Cellar/sbt/0.11.3/libexec/sbt-launch.jar "$@" |
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
Show hidden characters
| { | |
| "cmd": ["/usr/local/bin/sbt-no-color compile"], | |
| "file_regex": "^\\[error\\] ([.a-zA-Z0-9/-]+[.]scala):([0-9]+):", | |
| "selector": "source.scala", | |
| "working_dir": "${project_path:${folder}}", | |
| "shell": "true" | |
| } |
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
| package oauth | |
| import java.net.URLEncoder | |
| import java.util.Random | |
| import java.security.Key | |
| import javax.crypto.spec.SecretKeySpec | |
| import javax.crypto.Mac | |
| import sun.misc.BASE64Encoder |
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
| package sample | |
| trait T { | |
| def names(names:List[String], man:Boolean=true):Unit = {} // これを消すと正常動作 | |
| def names(name:String, man:Boolean=true):Unit = {} | |
| } | |
| object O extends T { | |
| def call = { | |
| names("name") // Error |
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
| package imp.param | |
| /** | |
| * traitを継承するだけで暗黙に利用したかったが無理か・・・。 | |
| */ | |
| case class Dad2 { | |
| var bros:Bros = Bros() | |
| } | |
| trait Mom2 { |
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
| package imp.param | |
| /** | |
| * 継承するだけで暗黙値を利用したかった・・・。 | |
| */ | |
| case class Dad { | |
| var mom:Mom = Mom() | |
| implicit def call(name:String)(implicit mom:Mom):Unit = {} |
NewerOlder