- バロム・1
- 仮面ライダーV3
- ザンボット3
- ダイターン3
- ストラトス・フォー
/** | |
* Converts RGB or RGBA format to Hex format. | |
* e.g. "rgb(28, 166, 171)" -> "#1ca6ab" | |
* | |
* @param rgba A color of RGB or RGBA format. | |
* @return A color of Hex format; | |
*/ | |
function rgba2hex(rgba) { | |
var regex = /rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+)\s*)?\)/ | |
parsed = regex.exec(rgba), red, green, blue, alpha, elems; |
#!sh | |
# Re-concatenate command. Care quoted arguments. | |
command="git" | |
while [ "$1" != "" ] | |
do | |
space_contain=`echo $1 | grep "\s"` | |
if [ "" != "$space_contain" ] | |
then | |
command="$command \"$1\"" |
#!/bin/bash | |
# dry-run | |
DRYRUN=0 | |
# Requires inkscape | |
if ! type inkscape >/dev/null 2>&1; then | |
echo "Inkscape is NOT installed." | |
exit 1 | |
fi |
#!/usr/bin/env ruby | |
# Resolve issues automatically when users push code - Bitbucket - Atlassian Documentation | |
# https://confluence.atlassian.com/display/BITBUCKET/Resolve+issues+automatically+when+users+push+code | |
require "readline" | |
# commands | |
resolve = Regexp.union(%w(close closes closed closing fix fixed fixes fixing resolve resolves resolved resolving)) | |
reopen = Regexp.union(%w(reopen reopens reopening)) |
rect[fill="#d6e685"] { fill: #9fc1ea; } | |
rect[fill="#8cc665"] { fill: #60b7d8; } | |
rect[fill="#44a340"] { fill: #0592d0; } | |
rect[fill="#1e6823"] { fill: #252775; } | |
.legend li:nth-child(2) { background-color: #9fc1ea !important; } | |
.legend li:nth-child(3) { background-color: #60b7d8 !important; } | |
.legend li:nth-child(4) { background-color: #0592d0 !important; } | |
.legend li:nth-child(5) { background-color: #252775 !important; } |
#!/bin/bash | |
conf=`defaults read com.apple.finder AppleShowAllFiles` | |
if [ $conf = 'true' ] | |
then | |
newConf='false' | |
else | |
newConf='true' | |
fi |
git show --pretty=format:'%cd %H.pdf' --date=iso | head -n1 |
/* style for https://twitter.com/ */ | |
.TwitterCard [data-poll-state=opened] .PollXChoice-optionContainer .PollXChoice-progress { | |
max-width: 100% !important; | |
margin-left: .64286em !important; | |
margin-right: .64286em !important; | |
} |