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.IO | |
main :: IO () | |
main = do | |
is_eof <- isEOF | |
if is_eof | |
then return () | |
else do | |
line <- getLine | |
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
ZDOTDIR="${HOME}/Archive" | |
# z - jump around {{{2 | |
# https://github.com/rupa/z | |
_Z_CMD=j | |
_Z_DATA=${HOME}/.z | |
if is-at-least 4.3.9; then | |
load-if-exists $ZDOTDIR/z/z.sh | |
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
-- http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0002 | |
main :: IO () | |
main = getContents >>= mapM_ print . map length . map show . map (\[a,b] -> a+b) . map (map (read :: String -> Integer)) . map words . lines |
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
# -*- coding: utf-8 -*- | |
"""Multithreading sample script.""" | |
import datetime | |
import threading | |
import time | |
import queue | |
class Foo(object): |
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
#!/bin/bash | |
## Description: | |
## Author : fhiyo | |
## Email : fhiyo1201@gmail.com | |
set -u | |
declare -r SCRIPT_NAME=$(basename ${BASH_SOURCE[0]}) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer