@haoling はおりん
haoling
@haoling haoling / yoromorsify.html Created at Sun Jan 12 17:38:44 GMT 2020
ヨロチャンのモールスを変換するっす
  1. <html>
  2.  
  3. <head>
  4. <title>すすーっすっすーっっすっーっすすーっすっすっーっっすすーすっっすっーっすすっすーすっすすっーすすすっすーっすすすーっーっすっすっーっすっっーっすっすっーすすすっすーすっすすっーっすすっーすすすっすー</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  7. </head>
  8.  
  9. <body>
  10. <div>
@haoling haoling / slack.sh Created at Tue Apr 10 08:46:07 GMT 2018
  1. #!/bin/bash
  2. API_TOKEN="!!! set api token here !!!"
  3.  
  4. set -u -e
  5.  
  6. usage_exit() {
  7. cat <<EOD 1>&2
  8. Usage:
  9. eval "\$(${0} [-u bot_name] [-c channel] [-m message | -f message_filename | -j json_filename])"
@haoling haoling / ChinachuScanner.py Created at Sun Jan 14 12:48:13 GMT 2018
ChinachuScanner.py
  1. # coding:utf-8
  2. import os, json, re, sys, datetime
  3. import Media, VideoFiles, Stack, Utils
  4. reload(sys)
  5. sys.setdefaultencoding('utf-8')
  6. recordedList = None
  7. titleCount = {}
  8. log = open('/tmp/ChinachuScanner.log', 'a')
  9.  
  10. def Scan(path, files, mediaList, subdirs):