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
@echo off | |
color f1 | |
prompt $c$p$f[$t]$_$$$s | |
title MyPrompt(%~d0) | |
rem cls | |
rem ver | |
if not %CD:~-4% == home cd ../../ | |
set PATH=%CD%\bin;%PATH% | |
set HOME=%CD% |
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
;;; init.el --- Where all the magic begins | |
;; | |
;; Part of the Emacs Starter Kit | |
;; | |
;; This is the first thing to get loaded. | |
;; | |
(setq dotfiles-dir (file-name-directory (or load-file-name (buffer-file-name)))) | |
(add-to-list 'load-path (expand-file-name |
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
#-*- coding:utf-8 -*- | |
import os.path | |
import datetime | |
import pynotify | |
# __all__ = ['epynotify', 'gnotify', 'messages'] | |
# __version__ = '0.0.1' | |
DEFAULT_TITLE = '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
#-*- coding:utf-8 -*- | |
# Author: Iyori Komiyama | |
# Contact: [email protected] | |
# site: http://hazimarino.blogspot.com/ | |
"""\ | |
Module to be able to use 'pynotify' easily. | |
Classes: | |
_EPYNotify |
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 -*- | |
# Author: Iyori Komiyama | |
# Contact: [email protected] | |
# site: http://hazimarino.blogspot.com/ | |
"""\ | |
素数かどうかを判定し、素数でなかったらどの数で分解できるのか表示する | |
9973 の素数で分解できる範囲まで。 | |
""" | |
from __future__ import unicode_literals |
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 | |
# Author: Iyori Komiyama | |
# Contact: [email protected] | |
# site: http://hazimarino.blogspot.com/ | |
"""\ | |
A file is compressed by "tar.bz2", "tar.gz" or "zip". | |
""" | |
import os | |
import tarfile | |
import zipfile |