Skip to content

Instantly share code, notes, and snippets.

View qqpann's full-sized avatar
🍊

Qiushi Pan qqpann

🍊
View GitHub Profile
@qqpann
qqpann / index.md
Created November 4, 2018 15:20
[Save html with Wget] #cli #command-line #wget
@qqpann
qqpann / index.md
Created November 4, 2018 16:44
[Awesome Front end] #awesome #front #frontend #front-end #icon

Awesome front end

This awesome list is incomplete, as I am not actively collecting these links, but passively adding what I read.

Icons

  • eva-icons Available as WebFont and also SVG. Also supports animation.
@qqpann
qqpann / sample.py
Created November 9, 2018 04:30
[Executable file] make a file executable. python for example. #env #python #cli
#! /usr/bin/env python
@qqpann
qqpann / index.md
Created November 25, 2018 18:32
[Vim search and replace] #vim
:%s/foo/bar/g
@qqpann
qqpann / index.md
Last active December 21, 2018 20:37
[Linux show OS version & status] #linux
uname -a
cat /etc/<distroname>-release
@qqpann
qqpann / index.md
Last active December 21, 2018 05:10
[Set Locale] #linux #locale
locale
sudo update-locale LC_ALL=en_US.UTF-8

.bashrcで設定する場合

export LC_ALL="ja_JP.UTF-8"
@qqpann
qqpann / index.md
Created November 28, 2018 09:52
[Conda env Quick reference] #conda #python
conda env list
conda info -e
conda create -n py35 python=3.5 ipython
@qqpann
qqpann / file0.vim
Last active December 18, 2018 11:38
Vimで行末のスペースだけ可視化する ref: https://qiita.com/qqhann/items/293be9d891b7e672f3b8
" Overriding theme settings
" 行末の空白を表示する
set list
set listchars=trail:·
highlight ExtraWhitespace ctermfg=darkgreen guifg=darkgreen
" 半角,タブ
" match ExtraWhitespace /\s\+$/
" 半角スペースのみ
match ExtraWhitespace / \+$/
@qqpann
qqpann / vim.md
Created December 11, 2018 19:37
[Vimでファイルを閲覧モードで開く] #vim
@qqpann
qqpann / in.py
Created January 14, 2019 23:23
筑波 データマイニング
import numpy as np
import pandas as pd
import sqlite3
from collections import defaultdict
conn = sqlite3.connect('data/twitter_users.sqlite')
df = pd.read_sql('select id, follower_screen_name from twitter_followers', conn)