msysGitをインストール後、 「スタート」>「Git」>「Git Bash」を実行して Git Bash を立ち上げ、 以下のコマンドを実行することで、さまざまな作業を行えます
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
# vim: set ft=sh: | |
function cman () { | |
local e=$'\e[' | |
local highlight='1:31' | |
local underline='4;36' | |
local search='1;37;43' | |
[[ "${TERM}" == "${TERM/256}" ]] || { | |
highlight='1;38;05;166' | |
underline='4;38;05;75' |
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
-- netvolante-update.lua | |
-- Last Modified: 13 May 2014. | |
--[[ | |
# brief | |
Netvolante DNS サービスを多段ルータの内側で利用する Lua スクリプトです。 | |
VLAN ポートに一時的にグローバルIPを付与して Netvolante サービスに登録を行います。 |
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
<html> | |
<body> | |
Bookmarklet: | |
<a href="javascript:(function(d,a,b,s)%7Bif(s=d.getElementById(b))%7Bs.parentNode.removeChild(s);alert(%22bitly%20closed%22);return;%7Ds=d.createElement(%22script%22);s%5Ba%5D(%22id%22,%22bitmark_js%22);s%5Ba%5D(%22type%22,%22text/javascript%22);s%5Ba%5D(%22src%22,%22//bitly.com/a/bitmarklet.js%22);d.addEventListener(%22load%22,function(e,f)%7Bf=d.getElementById(b);if(e.target===f)f.style.height=f.style.width=%22100%25%22;%7D,true);(d.body%7C%7Cd.getElementsByTagName(%22head%22)%5B0%5D).appendChild(s);%7D)(top.document,%22setAttribute%22,%22bitmark_yoself_fool%22);">✚ bitmark</a> | |
</body> |
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
// ==UserScript== | |
// @name Flickr short link | |
// @namespace http://d.hatena.ne.jp/MillyC/ | |
// @description Add short url link to photostream and photo page. | |
// @include http://www.flickr.com/photos/* | |
// @version 1.1 | |
// @grant GM_addStyle | |
// @grant GM_setClipboard | |
// ==/UserScript== |
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
// ==UserScript== | |
// @author Milly | |
// @name Google Maps Show Coords Link | |
// @namespace http://d.hatena.ne.jp/MillyC/ | |
// @description Creates a link on Google Maps to show the map centre lat/lon coordinates. | |
// @include http://maps.google.tld/* | |
// @include http://www.google.tld/local* | |
// @include http://www.google.tld/maps* | |
// @include https://maps.google.tld/* | |
// @include https://www.google.tld/local* |
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
// ==UserScript== | |
// @name Tumblr Control | |
// @namespace https://twitter.com/Milly | |
// @description Add control buttons to tumblr post (Reblog, Edit) | |
// @include http://*.tumblr.com/post/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
GM_addStyle([ | |
'.my-tumblr-control-buttons {', |
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
javascript:void(function(id){if(id)location.href="pixitail://org.cathand.pixitail/pixiv/"+id}((/illust_id=(\d+)/.exec(location.href)||[])[1]||prompt("illust_id"))) |
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 | |
# iRemocon Proxy | |
# | |
# Author: Milly | |
# Last update: Jan 9 2012 | |
require "socket" | |
@remote_host = ARGV[0] | |
unless @remote_host |
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/ruby | |
require 'rubygems' | |
require 'rubygems/commands/fetch_command' | |
class Gem::Commands::FetchCommand | |
def add_version_option_with_fetch_depends | |
add_version_option_without_fetch_depends | |
add_option('-y', '--[no-]dependencies', | |
"Fetch dependent gems") do |value, options| |