This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias datetime='date --iso-8601=seconds' | |
# For short datetime | |
alias datetime='date +%Y%m%dT%H%M%S%Z' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# bash backup.sh | |
# or | |
# chmod u+x backup.sh | |
# ./backup.sh | |
now=$(date +%Y%m%dT%H%M%S%Z) | |
filename=$now.tar.bz2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for path in `find . -maxdepth 4 -type d -name Downloads`; do nautilus $path; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo pip3 install grpcio grpcio-tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for path in `ls /usr/share/sounds/ubuntu/stereo/` | |
do | |
canberra-gtk-play -i `basename $path .ogg` | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suggests=$(apt-cache show ubuntu-wallpapers | grep -oP '(?<=^Suggests: ).*' | sed 's/,//g') | |
sudo apt install $suggests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.viewport { | |
width: 160px; | |
overflow-x: hidden; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<textarea name="" id="" cols="30" rows="10">{"hello": "world"}</textarea> | |
<a download="hoge.json" onclick="doDownload(this)">download</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "ε₯₯貫 η΄ε£", | |
"ruby": "γγγ¬γ γγ", | |
"kana": "γͺγ―γγ γ΅γ", | |
"mail": "[email protected]", | |
"sex": "ε₯³", | |
"age": "70", | |
"birthday": "1947/8/1", | |
"pref": "岑山η", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "γ’γΌγ―γ©γ³γγ΅γ«γ’γ(ζ ͺ)", | |
"ruby": "γγΌγγγγ©γγγγ¨", | |
"kana": "γ’γΌγ―γ©γ³γγ΅γ«γ’γ" | |
}, | |
{ | |
"name": "γγγγγΌγ«γγ£γ³γ°γΉ(ζ ͺ)", | |
"ruby": "γγγγ»γΌγγ§γγγγ", | |
"kana": "γ’γ€γγγΌγ«γγ£γ³γ°γΉ" |