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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import xlrd | |
import csv | |
import sys | |
from datetime import time | |
import datetime | |
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
[info] Compiling 1 Scala source to /Users/ryoco/work/repos/git/github/ryoco-scala-sample/target/scala-2.10/classes... | |
[error] /Users/ryoco/work/repos/git/github/ryoco-scala-sample/src/main/scala/ryoco/Main.scala:12: erroneous or inaccessible type | |
[error] index += 1 | |
[error] ^ | |
[error] one error found | |
[error] (compile:compile) Compilation failed |
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
/*.swp | |
/*.png | |
.DS_Store |
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
*.swp | |
*.class |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from io import StringIO | |
import sys | |
import urllib3 | |
import json | |
def get(appid, category): | |
http = urllib3.PoolManager() |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import mysql.connector | |
def sql_executer(sql): | |
con = mysql.connector.connect( | |
host = "localhost", | |
port = 3306, |
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
display dialog "Input your TODO" default answer "" | |
set myMessage to text returned of result | |
set myList to {1, 5, 10, 60, 120} | |
set myMinutes to choose from list myList | |
delay myMinutes * 60 | |
display dialog myMessage |
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
/** | |
* rpscala 104回 で tototoshi さんが書いてくださった sample code の記憶を頼りにして書いたもの。 | |
* unapply は Boolean でもり値にできるよというのと、 | |
* paramTOStatus のようなものを書きたいのであれば list に object 書けば、という話 | |
* (であってます。。。?) | |
*/ | |
sealed abstract class Status(val id: Int) { | |
def unapply(i: Int): Boolean = i == id | |
} | |
case object OK extends Status(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
import System | |
importText.XML.HaXml | |
import Text.XML.HaXml.Posn | |
import Text.XML.HaXml.Util | |
import Text.XML.HaXml.Xtract.Parse | |
main = do | |
args <- getArgs | |
contents <- readFile $ head args | |
let |
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
body { | |
background-color: #3ff5d4; | |
font: 30px sans-serif; | |
} | |
#menu_button a{ | |
text-decoration:none; | |
-webkit-border-radius: 5px; | |
border: 3px #000000 solid; | |
padding: 6px 6px; | |
} |
NewerOlder