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 | |
LANG=ja_JP.utf8 | |
pid=$$ | |
date=`date '+%Y-%m-%d-%H_%M'` | |
outdir="." | |
if [ $# -le 1 ]; then |
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 | |
if [ $# -eq 2 ]; then | |
URL=$1 | |
MAILTO=$2 | |
else | |
echo "usage : $0 check_url alert_mail_address" | |
exit 1 | |
fi |
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 | |
MAILTO="root" | |
PATH=/usr/bin:/bin | |
# excludeopt setup | |
excludelist=/etc/clamscan.exclude | |
if [ -s $excludelist ]; then | |
for i in `cat $excludelist` | |
do |
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/sh | |
# swap clear | |
/sbin/swapoff -a && /sbin/swapon -a | |
# disk sync | |
/bin/sync | |
/bin/sync | |
/bin/sync |
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
#!/usr/bin/env ruby | |
require 'win32ole' | |
abort("Usage: #{$0} WordFilesDirectory") if ARGV.length < 1 | |
fso = WIN32OLE.new('Scripting.FileSystemObject') | |
wordFiles = [] | |
Dir.foreach(ARGV[0]) do |f| | |
path = File.join(ARGV[0], f) |
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
#!/usr/bin/env ruby | |
require 'time' | |
require 'nkf' | |
abort "Usage:#{$0} PodcastTitle PublicURL FilesDir" if ARGV.length < 3 | |
title = NKF.nkf('-w', ARGV[0]) | |
location = ARGV[1] | |
filesDir = ARGV[2] |
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
; ~/.ng | |
; | |
; for more detail, please read Ng.doc | |
; | |
; 'next-line' doesn't insert newline at the end of buffer. | |
(next-line-add-newlines nil) | |
; exchange C-h with DEL. | |
(bsmap-mode) |
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
#!/usr/bin/env python | |
from gmusicapi import Musicmanager | |
from gmusicapi import Mobileclient | |
import sys | |
import os.path | |
params = sys.argv | |
if len(params) < 2: |
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
#!/usr/bin/env python | |
from gmusicapi import Musicmanager | |
from gmusicapi import Mobileclient | |
import sys | |
import os.path | |
params = sys.argv |
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
[Desktop Entry] | |
Name=1Password Browser Helper | |
Comment=Allow browser plugins to interact with the 1Password database | |
Exec=env WINEPREFIX="/home/<username>/.wine" wine "/home/<username>/.wine/drive_c/Program Files (x86)/1Password 4/Agile1pAgent.exe" | |
Type=Application | |
StartupNotify=true | |
Path=/home/<username>/.wine/drive_c/Program Files (x86)/1Password 4 | |
Icon=C775_1Password.0 | |
StartupWMClass=Agile1pAgent.exe |
OlderNewer