Skip to content

Instantly share code, notes, and snippets.

View sakakendo's full-sized avatar
🌴
On vacation

sakakendo

🌴
On vacation
View GitHub Profile
@sakakendo
sakakendo / README.md
Last active April 5, 2020 05:51
vimrc

install dein vim

https://github.com/Shougo/dein.vim

curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
# For example, we just use `~/.cache/dein` as installation directory
sh ./installer.sh ~/.cache/dein
create database OrderDB;
show databases;
use OrderDB;
use OrderDB;
create table OrderT(
OrderID char(5) primary key,
OData date not null,
OCorpID char(4) not null
inoremap <silent>jj <Esc>
"syntax on
"filetype on
set number
set hls
set nobackup
set noswapfile
@sakakendo
sakakendo / get_url_from_users_tweet.py
Created October 4, 2019 08:18
めちゃくちゃ雑にtwitterでつぶやいたurlを収集するスクリプト
CK=""
CS=""
AT=""
AS=""
twitter=OAuth1Session(CK,CS,AT,AS)
def getTimeline():
param={'count':200}
url='https://api.twitter.com/1.1/statuses/home_timeline.json'
@sakakendo
sakakendo / circleci.config.yml
Created September 20, 2019 05:57
default circleci configuration for python
versiion: 2
jobs:
build:
docker:
- image: circleci/python:latest
working_directorry: ~
steps:
- checkout
- run:
name: install requirements
@sakakendo
sakakendo / index.html
Created August 25, 2019 12:39
OJLpMqv
<script src="https://www.gstatic.com/firebasejs/6.4.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.10.1/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.2.4/firebase-firestore.js"></script>
<div id="root">
<img id="myimg" src="" alt=""/>
</div>
@sakakendo
sakakendo / index.html
Last active August 18, 2019 12:59
react-form-sample
<div id="body" class="" style="background-color:#282828">
<div id="app"></div>
</div>
<footer style="">
<div id="footer" style="text-align:center,color:#FFFFFF">
footer
</div>

ip to slack

installation

curl https://gist.githubusercontent.com/sakakendo0321/f634df4c2e9e20b64b4d9c9f898dfea1/raw/581e4adba8a0a00fe4704abd486efabcc11f68c6/setup.sh |sh

# rewrite url and slack token

内輪勉強会

vol.1

@sakakendo

from icecream import ic
import json
def hello():
print("hello world")
def night():
print("good night")
def birthday(name):