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
appcleaner | |
dropbox | |
firefox | |
gimp | |
google-chrome | |
iterm2 | |
keyremap4macbook | |
kobito | |
libreoffice | |
linein |
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: utf8 | |
import __builtin__ | |
import keyword | |
import os | |
import tarfile | |
import tokenize | |
import zipfile | |
from collections import Counter | |
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
--- setup.py.orig 2012-09-30 01:42:40.000000000 +0900 | |
+++ setup.py 2014-12-31 20:42:50.000000000 +0900 | |
@@ -7,7 +7,7 @@ | |
return os.popen(str).readlines()[0][:-1] | |
def cmd2(str): | |
- return string.split (cmd1(str)) | |
+ return cmd1(str).split() | |
setup(name = "cabocha-python", |
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/sh | |
#### begin settings #### | |
log_to=~/.app_history | |
idle_min_seconds=300 | |
duration=1 | |
idling_app_name='#Idle' | |
#### end settings #### | |
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 bash | |
while true ; | |
do | |
a=$(( $RANDOM % 9 + 1 ))$(( $RANDOM %9 + 1 )) | |
b=$(( $RANDOM % 8 + 2 )) | |
c=$(( a * b )) | |
say -v Kyoko "$a 、かける、 $b 。わ" |
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
--- setup.py.orig 2013-02-18 02:24:16.000000000 +0900 | |
+++ setup.py 2015-01-20 20:20:20.000000000 +0900 | |
@@ -7,7 +7,7 @@ | |
return os.popen(str).readlines()[0][:-1] | |
def cmd2(str): | |
- return string.split (cmd1(str)) | |
+ return cmd1(str).split() | |
setup(name = "mecab-python", |
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
#include <stdio.h> | |
int main(void) | |
{ | |
printf("%d\n", 24); | |
return 0; | |
} |
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
// | |
// UIImage+fixOrientation.swift | |
// | |
import UIKit | |
extension UIImage { | |
func fixOrientation () -> UIImage { | |
if self.imageOrientation == UIImageOrientation.Up { | |
return self |
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
$ pip install 'svn+http://cabocha.googlecode.com/svn/trunk/python@r99' |
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
$ awk '{s += $1} END {print s}' < sample-1.txt | |
18 |
OlderNewer