View gospamcop.sh
#!/bin/bash
if ls *.eml > /dev/null 2>&1; then
echo "Go spamcop!"
else
echo "404 eml not found"
exit 1
fi
echo "sylfilter status:"
sylfilter *.eml
View Dockerfile
# Run tor browser in a container
#
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
# -v /dev/snd:/dev/snd \
# -e DISPLAY=unix$DISPLAY \
# jess/tor-browser:alpha
#
FROM debian:jessie
#Original MAINTAINER Jessica Frazelle <jess@docker.com>
#Modified by abyssluke <abyssluke@users.noreply.github.com>
View update-rita.xyz.sh
#!/bin/bash
SYNCPATH=/path/to/rita.xyz
S3BUCKET=rita.xyz
if [ ! -z $1 ]; then
if [ $1 != "--force" ]; then
echo "${0##*/} : Invalid options"
echo "${0##*/} : To force update, please use --force option."
exit 1
fi
View monatest.php
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8"/>
<title>オマエモナー</title>
</head>
<body>
<h1>Monacoinと通信してみるよ!<a name="top"></a></h1>
<?php
// 一部https://github.com/monacoinproject/transactionsampleのぱくりです
View makedic.sh
#!/bin/sh
php scoring.php
/usr/local/libexec/mecab/mecab-dict-index -d/usr/local/lib64/mecab/dic/ipadic -u mecabuser.dic -f utf8 -t utf8 mecabuser.tmp
echo "cleaning temporary file"
rm mecabuser.tmp
exit;