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 | |
# -*- coding:utf-8 -*- | |
require "logger" | |
require "mechanize" | |
$url = "https://login.odins.osaka-u.ac.jp/login.gsp" | |
$uid = "your uid" | |
$passwd = "your passwd" |
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
" set file encoding type " | |
set encoding=utf-8 | |
set fileencodings=utf-8,iso-2022-jp,sjis,euc-jp | |
set fileformats=unix,mac | |
set number | |
set tabstop=4 | |
set showtabline=2 | |
set ignorecase |
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 | |
# -*- coding: utf-8 -*- | |
require 'optparse' | |
Version = "0.1.0" | |
$arg_options = Hash.new | |
$arg_options[:t] = false | |
$opts = OptionParser.new {|opt| | |
begin |
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
;;; set Language Japanese | |
(set-language-environment 'Japanese) | |
;;; use utf-8 | |
(prefer-coding-system 'utf-8) | |
;;; set Locale environment setting | |
(set-locale-environment nil) | |
;;; Key-Bind |
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
puts "Hello World" |
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 python | |
# -*- coding: utf-8 -*- | |
print(sum([i for i in range(1, 1000) if (i % 3 == 0) or (i % 5 == 0) ], 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
#include <cstdio> | |
#include <cstdlib> | |
#include <cmath> | |
#include <climits> | |
#include <cfloat> | |
#include <string> | |
#include <iostream> | |
using namespace std; | |
class Time { |
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
// {{{ Boilerplate Code <-------------------------------------------------- | |
// | |
// vim:filetype=cpp foldmethod=marker foldmarker={{{,}}} | |
#include <algorithm> | |
#include <bitset> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> |
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
// {{{ Boilerplate Code <-------------------------------------------------- | |
// | |
// vim:filetype=cpp foldmethod=marker foldmarker={{{,}}} | |
#include <algorithm> | |
#include <bitset> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> |
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
// {{{ Boilerplate Code <-------------------------------------------------- | |
// | |
// vim:filetype=cpp foldmethod=marker foldmarker={{{,}}} | |
#include <algorithm> | |
#include <bitset> | |
#include <cmath> | |
#include <cstdio> | |
#include <cstdlib> |
OlderNewer