This file contains 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
#!/usr/bin/python3 | |
import sys | |
import re | |
#コマンドライン引数 | |
args = sys.argv | |
src_url=args[1] | |
#amazon~dpまでを削除 |
This file contains 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
#!/usr/bin/python3 | |
# クスリーンショット連射 | |
# インポート | |
import subprocess | |
import time | |
# 変数宣言 | |
File_Number=1 |
This file contains 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
#!/usr/bin/bash | |
set -e | |
for list in `ls -1 ./*.$1`;do | |
basenameline=`basename $list .$1` | |
mv $basenameline.$1 $basenameline.$2 | |
done |
This file contains 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 | |
echo '\documentclass[twocolumn,a4paper,12pt]{tarticle}' | |
echo '\begin{document}' | |
echo '' | |
cat $1 |sed -e "s/\$/\\\newline/"|sed -e "s/\$「/\\\noindent「/" | |
echo '' | |
echo '\noindent* 奥付\newline' | |
echo 'タイトル\newline' | |
echo '著者\newline' | |
echo 'サークル\newline' |
This file contains 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
#!/usr/bin/python3 | |
from gi.repository import Notify | |
from time import sleep | |
timer = 5 | |
title = "アラーム" | |
message = "アラーム内容" | |
sleep(timer) |
This file contains 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
#!/usr/bin/bash | |
# ディレクトリのファイルを連番ファイルとしてリネームする。 | |
set -e | |
suffix='jpg' | |
if [ $# = 0 ] | |
start_number=0 | |
else | |
start_number=$1 |