Discover Snippets

@haoling haoling / yoromorsify.html Created at Sun Jan 12 17:38:44 GMT 2020
ヨロチャンのモールスを変換するっす
<html>

<head>
<title>すすーっすっすーっっすっーっすすーっすっすっーっっすすーすっっすっーっすすっすーすっすすっーすすすっすーっすすすーっーっすっすっーっすっっーっすっすっーすすすっすーすっすすっーっすすっーすすすっすー</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>

<body>
<div>
@haoling haoling / slack.sh Created at Tue Apr 10 08:46:07 GMT 2018
#!/bin/bash
API_TOKEN="!!! set api token here !!!"

set -u -e

usage_exit() {
cat <<EOD 1>&2
Usage:
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
# coding:utf-8
import os, json, re, sys, datetime
import Media, VideoFiles, Stack, Utils
reload(sys)
sys.setdefaultencoding('utf-8')
recordedList = None
titleCount = {}
log = open('/tmp/ChinachuScanner.log', 'a')

def Scan(path, files, mediaList, subdirs):