Skip to content

Instantly share code, notes, and snippets.

View connvoi's full-sized avatar

katsumi yagi connvoi

View GitHub Profile
@connvoi
connvoi / pocketcamp.csv
Created November 30, 2017 14:57
PocketCamp Resident data CSV
ID NAME SEX ATTRIBUTE BIRTH
0 アグネス female クール 2017-04-21
1 アルベルト male ナチュラル 2017-06-09
2 セルバンテス male クール 2017-04-30
3 アップル female ファンシー 2017-09-24
4 アポロ male クール 2017-07-04
5 ペーター male ナチュラル 2017-04-05
6 エーミー female ファンシー 2017-10-06
7 グラさん male スポーティ 2017-08-08
8 リリアン female ファンシー 2017-05-09
@connvoi
connvoi / python
Created June 15, 2017 09:53
Download spreadsheet from GoogleDrive and convert Pandas DataFrame
#this code based on https://developers.google.com/drive/v3/web/quickstart/python
#
from __future__ import print_function
import httplib2
import os
import io
import pandas as pd
from io import StringIO
--
- hosts: all
sudo : yes
tasks:
- name: update glibc
yum: name=glibc state=latest
- name: restart machine
shell: sleep 2 && shutdown -r now "Ansible updates triggered"
async: 1
@connvoi
connvoi / vimrc
Created July 12, 2011 02:29
my vimrc
set nocompatible
set history=50
set ignorecase
set notitle
set wrapscan
set number
set ruler
set nolist
set showcmd
set showmatch