:%!python -m json.tool
reference: https://pascalprecht.github.io/posts/pretty-print-json-in-vim/
atom.setSize(900, 800) |
#=================================== | |
# Auto start tmux and restore | |
#=================================== | |
# auto start terminal | |
set -g @continuum-boot 'on' | |
set -g @continuum-boot-options 'iterm' | |
# auto restore tmux | |
set -g @continuum-restore 'on' |
<button onclick="book()">図書</button> | |
<button onclick="mgzn()">雑誌</button> | |
<h2>図書</h2> | |
<div id="book" class="red-card"> | |
<p> | |
Book book book. | |
</p> | |
</div> |
$ nkf -Lu -w --overwrite * |
mkdir try-puppeteer | |
cd try-puppeteer | |
npm i --save puppeteer |
import cgi | |
import os | |
import oauth2 as oauth | |
from django.conf import settings | |
from django.contrib.auth import authenticate, login, logout | |
from django.contrib.auth.decorators import login_required | |
from django.contrib.auth.models import User | |
from django.http import HttpResponseRedirect | |
from django.shortcuts import render_to_response |
:%!python -m json.tool
reference: https://pascalprecht.github.io/posts/pretty-print-json-in-vim/
iptables
arp -a
ifconfig
import pdb; pdb.set_trace() |
def f1():
print('play_wav')
play_wav(fn)
def f2():
print('post_to_rpi_api')
post_to_rpi_api(signals)