I hereby claim:
- I am shikachii on github.
- I am shikachii (https://keybase.io/shikachii) on keybase.
- I have a public key ASCk5mtp8N2OmPuvRaBvr1wXaChSBpFtAnE9n12tsNJ0ywo
To claim this, I am signing this object:
{ | |
"name" : "AmazonWishlistPriceSum", | |
"version" : "2.0.0", | |
"manifest_version" : 2, | |
"description" : "アマゾンのウィッシュリスト内のアイテムの合計の値段を表示するやつ", | |
"content_scripts" : [ | |
{ | |
"matches" : [ | |
"https://www.amazon.co.jp/gp/registry/wishlist/*", | |
"https://www.amazon.co.jp/registry/wishlist/*", |
class Array | |
def binarysearch(keyword) | |
return "Couldn't find the keyword." if self.size < 1 | |
mid = self.size/2.to_i | |
pivot = self[mid] | |
puts self[mid] | |
binary = Array.new | |
if keyword == self[mid] | |
return "Found the number." | |
end |
require 'net/http' | |
require 'uri' | |
require File.dirname(__FILE__) + "/slack" # token | |
class Slack | |
def postMessage(message) | |
text = message | |
username = "cputemp" | |
icon_url = "https://pbs.twimg.com/profile_images/802450920269197312/ziE5tTn4.jpg" # -> twitter my icon |
@echo off | |
setlocal | |
rem cmd1 => cmd=pwd ^| awk -F\ "{print $6}" | |
rem cmd2 => echo %date% ^| sed -e "s/\//-/g" | |
rem cmd3 => ls ^| grep Physics ^| awk -F_ "{print $3}" ^| sed -e "s/0//g" | |
rem cmd4 => ls %dirct% ^| grep %extend%$ | |
set res= | |
set file= |
{ | |
"name" : "tweet-disp", | |
"version" : "0.0.1", | |
"manifest_version" : 2, | |
"description" : "disp tweet in media. in 2017/6/25", | |
"content_scripts" : [ | |
{ | |
"matches" : [ | |
"https://twitter.com/*" | |
], |
from PIL import Image | |
from argparse import ArgumentParser | |
import struct | |
usage = 'Usage: python {} FILE [--output <file>]'\ | |
.format(__file__) | |
argparser = ArgumentParser(usage=usage) | |
argparser.add_argument('fname', type=str, help='echo fname') | |
argparser.add_argument('-o', '--output', type=str, dest='output_file', help='Place the output into <file>') |
I hereby claim:
To claim this, I am signing this object:
set number | |
set title | |
set showmatch | |
set tabstop=4 | |
set shiftwidth=4 | |
set smartindent | |
set cursorline | |
set list listchars=tab:»\ ,trail:-,eol:↲ |
#!/bin/zsh | |
DEV_COMMAND="[YOUR DEV COMMAND, PLEASE REPLACE]" | |
COMMAND_PROCESS=$(pgrep -f $DEV_COMMAND) | |
if [ $? -ne 0 ]; then | |
echo "The command '$DEV_COMMAND' is not currently running." | |
exit 1 | |
fi |