- キングダム
- AKB0048
- しろくまカフェ
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
PROGRAM FIZZBUZZ; | |
PROCEDURE FIZZ_BUZZ(N: INTEGER); | |
VAR | |
I: INTEGER; | |
BEGIN | |
FOR I := 1 TO N DO BEGIN | |
IF I MOD 15 = 0 THEN BEGIN | |
WRITELN('FizzBuzz'); | |
END ELSE IF I MOD 5 = 0 THEN BEGIN |
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
家電店から商品を窃盗する方法とそれに対抗する店側の戦略についての提案 | |
商品を窃盗する方法、電波により守られたゲートを通過する方法 | |
・商品についている発音デバイスを銀紙で包むことにより、電波を通過不能にし、ゲートを通過する。 | |
それに対する店側の戦略 | |
・商品側から店側のどこかの装置と通信できなくなった際に警報音を鳴らす |
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
require "rubygems" | |
require "open-uri" | |
require "json" | |
require "google_spreadsheet" | |
# sudo gem install google-spreadsheet-ruby | |
if ARGV.size > 0 | |
google_name = ARGV[0] | |
google_password = ARGV[1] | |
else |
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
#!perl -l | |
use strict; | |
use warnings; | |
local *STDOUT = do { | |
if (my $pager = $ENV{GIT_PAGER} // qx(git config --get core.pager)) { | |
open my $pipe, '|-', $pager; | |
$pipe; | |
} else { | |
*STDOUT; |
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
,, -―-、 | |
/ ヽ | |
/ ̄ ̄/ /i⌒ヽ、| クケェーッ!!!! | |
/ (゜)/ / / | |
/ ト、.,../ ,ー-、 | |
=彳 \\‘゚。、` ヽ。、o | |
/ \\゚。、。、o | |
/ /⌒ ヽ ヽU o | |
/ │ `ヽU ∴l | |
│ │ U :l |
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
,, -―-、 | |
/ ヽ | |
/ ̄ ̄/ /i⌒ヽ、| クケェーッ!!!! | |
/ (゜)/ / / | |
/ ト、.,../ ,ー-、 | |
=彳 \\‘゚。、` ヽ。、o | |
/ \\゚。、。、o | |
/ /⌒ ヽ ヽU o | |
/ │ `ヽU ∴l | |
│ │ U :l |
命令型で記述。
for (n <- 1 to 100) {
if (n % 15 == 0) {
println("FizzBuzz")
} else if (n % 3 == 0) {
println("Fizz")
} else if (n % 5 == 0) {
println("Buzz")
} else {
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
package main | |
import( | |
"io"; | |
"fmt"; | |
"bytes"; | |
"template"; | |
"os"; | |
"strings"; | |
"strconv"; | |
"http"; |