Skip to content

Instantly share code, notes, and snippets.


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 /
Created Sep 3, 2019
AWS Lambda function to return image
import requests
import base64
def lambda_handler(event, content):
response = requests.get("")
return {
"isBase64Encoded": True,
"statusCode": 200,
"headers": { "content-type": "image/jpg"},
"body": base64.b64encode(response.content).decode("utf-8")
umihico /
Last active Sep 3, 2019
Download Python Pillow package for AWS lambda
  1. run docker-compose up.
  2. confirm you get PIL and Pillow-6.1.0.dist-info directory next .yml file.
  3. upload them as AWS Lambda Layer
umihico / api.php
Last active Jul 12, 2019
Get CSV as array from input form with ajax in Laravel 5.8.14
View api.php
use Illuminate\Http\Request;
| API Routes
| Here is where you can register API routes for your application. These
umihico /
Last active Jun 24, 2019
from selenium.webdriver import Chrome
from umihico.xlsx import to_xlsx
from time import sleep
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 / .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 /
Last active Jan 26, 2019
my atom settings

my atom settings

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

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

You can’t perform that action at this time.