Skip to content

Instantly share code, notes, and snippets.

umihico

Block or report user

Report or block umihico

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@umihico
umihico / .alias
Last active Apr 14, 2019
My aliases on Mac
View .alias
alias ls='ls -lhaGF'
alias pas='php artisan serve'
alias p='python'
alias a='atom'
alias d='docker'
alias c='pbcopy'
alias s='source'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
@umihico
umihico / .bash_profile
Last active May 6, 2019
my macbook setup procedures
View .bash_profile
export PYENV_ROOT=/usr/local/var/pyenv
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
source ~/.bashrc
@umihico
umihico / README.md
Last active Jan 26, 2019
my atom settings
View README.md

my atom settings

  • changing wallpaper, colors (styles.less)
  • changing tabe25m wallpaper (tabe25m.less)
@umihico
umihico / README.md
Last active Jan 17, 2019
ヤフーオークション再出品スクリプト selenium & python
View README.md

ヤフーオークション再出品スクリプト selenium & python

@umihico
umihico / README.md
Last active Jan 16, 2019
Bug hunting -Element is not clickable at point. Other element would receive the click-
View README.md

Bug hunting -Element is not clickable at point. Other element would receive the click-

@umihico
umihico / README.md
Last active Jan 19, 2019
deploy env to pypi and github
View README.md

deploy env to pypi and github

How to use

# create empty repository in github.com
$ git clone https://gist.github.com/f331c4c851f4295cd261725b79d426b8.git YOUR-PACKAGE-NAME # clone this env on local
$ cd YOUR-PACKAGE-NAME
$ git remote set-url origin git@github.com:YOUR-NAME/YOUR-PACKAGE-NAME.git # change location
$ mkdir YOUR-PACKAGE-NAME # your actual code in package goes here.
$ touch YOUR-PACKAGE-NAME/__init__.py # start coding!
@umihico
umihico / README.md
Last active Jan 6, 2019
Bash script to create issue quickly on CLI
View README.md

Bash script to create issue quickly on CLI

How to use

$ cd REPOSITORY
$ create-issue
issue title: found a bug # type as you want
issue body: detail is XXXX. # type as you want

That's it! The output will be like

@umihico
umihico / README.md
Last active Dec 29, 2018
python script to use google translation API
View README.md

python script to use google translation API

set your own apikey in credentials.py.

google_apikey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

then test it.

$ python google_translation_api.py
['こんにちは', '東京']
@umihico
umihico / README.md
Last active Dec 29, 2018
script to install selenium on ec2
View README.md

script to install selenium on ec2

Install

curl https://gist.githubusercontent.com/umihico/538217c829b6ab34e3ecba32eff22112/raw/selenium-setup-ec2.sh|bash -xv
@umihico
umihico / README.md
Last active Mar 4, 2019
script to install pyenv on ec2
View README.md

script to install pyenv on ec2

Install

curl https://gist.githubusercontent.com/umihico/397b0e21a4d5f954ba35416aa28e8b3f/raw/pyenv-ec2-setup.sh|sudo bash -xv
You can’t perform that action at this time.