時間 | 予定 |
---|---|
13:00 - 15:15 | TV版 1-6話 |
15:15 - 15:30 | 休憩 |
15:30 - 17:45 | TV版 7-12話 |
17:45 - 18:30 | OVA |
18:30 - 19:30 | 晩御飯 |
19:30 - 21: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
#include<stdio.h> | |
int main(void) { | |
char hoge[5] = {'f', 'u', 'g', 'a', '\0'}; | |
printf("%s\n", hoge); | |
return 0; | |
} |
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 System.Random | |
import System.Environment | |
import Data.Maybe | |
main = do | |
arg <- getArgs | |
gen <- newStdGen | |
putStrLn $ fromMaybe "" $ listToMaybe arg >>= (return . (password gen) . read) | |
-- putStrLn . (password gen) $ fromMaybe 0 $ listToMaybe arg >>= return . read | |
-- putStrLn . (password gen) . read $ fromMaybe "0" $ listToMaybe arg |
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
#!/usr/bin/env ruby | |
class ActiveRecord | |
def save | |
puts 'ActiveRecord' | |
end | |
end | |
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
# Settings | |
TARGET=escape_agda | |
SOURCES=$(wildcard *.agda) | |
SOURCES_FOR_TEX=$(subst .agda,.eagda,$(SOURCES)) | |
# dependencies | |
$(TARGET).pdf : $(TARGET).dvi | |
dvipdfmx $< |
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
#!/usr/bin/env ruby | |
=begin | |
[30] pry(main)> a.class.ancestors | |
=> [Twitter::NullObject, | |
Twitter::NullObject::Customizations, | |
Comparable, | |
Twitter::NullObject::GeneratedMethods, | |
Naught::NullObjectTag, | |
Naught::Conversions, |
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
Pry.history.instance_eval do | |
@saver = ->(line) { save_to_file (line.force_encoding(STDIN.external_encoding))} | |
end |
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 --git a/utf8.c b/utf8.c | |
index 63723d7..05ae973 100644 | |
--- a/utf8.c | |
+++ b/utf8.c | |
@@ -194,7 +194,193 @@ struct utf8_width_entry utf8_width_table[] = { | |
{ 0x10a05, 0x10a06, 0, NULL, NULL }, | |
}; | |
+/* Random order */ | |
+struct utf8_width_entry utf8_cjkwidth_table[] = { |
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
server dhcp.ens6 { | |
listen { | |
type = dhcp | |
ipaddr = * | |
port = 67 | |
interface = ens6 | |
broadcast = yes | |
performance { | |
skip_duplicate_checks = yes | |
} |
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 main | |
import "fmt" | |
import "time" | |
func yo(c chan int) { | |
fmt.Printf("%d\n", <-c) | |
} | |
func main() { | |
c := make(chan int, 0) // dead lock |