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 -*- | |
# The MIT License (MIT) | |
# Copyright (c) 2016 ymt2 (Tatsuya Yamamoto) | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining | |
# a copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, |
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
{ | |
"name": "gtm-oauth", | |
"version": "0.0.1", | |
"summary": "Google Toolbox for Mac - OAuth Controllers.", | |
"homepage": "http://code.google.com/p/gtm-oauth", | |
"authors": "Google Inc.", | |
"source": { | |
"git": "https://github.com/google/gtm-oauth.git" | |
}, | |
"frameworks": [ |
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 python2 | |
# -*- coding: utf-8 -*- | |
from __future__ import (print_function, unicode_literals, | |
absolute_import, generators, division) | |
# The MIT License (MIT) | |
# Copyright (c) 2016 ymt2 (Tatsuya Yamamoto) | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining |
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
curl https://www.interfm.co.jp/search/ | | |
/usr/bin/grep td | | |
tail -n 2 | | |
sed 's/.*<td[^>]*>\(.*\)<\/td>/\1/' | | |
python -c 'import sys, urllib; l = [x.strip() for x in sys.stdin.readlines()]; print " / ".join(l)' |
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
// Decode unicode text for ClipMenu ( http://www.clipmenu.com/ja/ ) | |
return (function(text) { | |
return text.replace(/\\[uU]([a-fA-F0-9]{4})/g, function(matchedString, group1) { | |
return String.fromCharCode(parseInt(group1, 16)); | |
}); | |
})(clipText); |
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 | |
### a command line tool for make iOS Icons | |
## by Tatsuya Yamamoto <tatsuya@ymt2.net> | |
## Depends: | |
# ImageMagick | |
## Ref: | |
# http://blog.manbolo.com/2013/08/15/new-metrics-for-ios-7-app-icons |
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
# デフォルト設定は skip-networking なので使わない | |
# Use default MacPorts settings | |
# !include /opt/local/etc/mysql56/macports-default.cnf | |
[client] | |
port = 3306 | |
# 既存の MySQL が見ている my.cnf を変更しておく:port = 3307 | |
socket = /opt/local/var/run/mysql56/mysqld.sock | |
[mysql] |
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 sys | |
import os | |
import subprocess | |
IMAGE_OPTIM_APP_NAME = 'ImageOptim' | |
IMAGE_OPTIM_LAUNCH_OPTION = ['open', '-a', IMAGE_OPTIM_APP_NAME] |
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 | |
# | |
# MacPorts generated daemondo support script | |
# | |
# | |
# Init | |
# | |
prefix=/opt/local |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Debug</key> | |
<false/> | |
<key>Label</key> | |
<string>org.macports.mysql5</string> | |
<key>OnDemand</key> | |
<false/> |
NewerOlder