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
apply plugin: 'eclipse' | |
apply plugin: 'idea' | |
apply plugin: 'java' | |
project.version = "1.0" | |
try { | |
new ByteArrayOutputStream().withStream { os -> | |
def result = exec { | |
executable = 'svn' |
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/sh | |
FLAC="${1:-Disc.flac}" | |
CUE="${FLAC%%.flac}.cue" | |
if [ ! -r "$CUE" ] | |
then | |
echo "Cannot read '$CUE'" | |
exit 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
@echo off | |
D:\ffmpeg\bin\ffmpeg.exe -i %1 -f mp4 -c:v mpeg4 -b:v 2000k -g 300 -bf 2 -pass 1 -an -f rawvideo -y NUL | |
D:\ffmpeg\bin\ffmpeg.exe -i %1 -f mp4 -c:v mpeg4 -b:v 2000k -g 300 -bf 2 -pass 2 -c:a copy %2 |
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
apply plugin: 'eclipse' | |
apply plugin: 'idea' | |
apply plugin: 'java' | |
project.version = "1.0" | |
try { | |
new ByteArrayOutputStream().withStream { os -> | |
def result = exec { | |
executable = 'svn' |
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
.PHONY: _pwd_prompt decrypt_conf encrypt_conf | |
CONF_FILE=conf/settings.json | |
# 'private' task for echoing instructions | |
_pwd_prompt: | |
@echo "Contact jeresig@gmail.com for the password." | |
# to create conf/settings.json | |
decrypt_conf: _pwd_prompt |
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
(in-package "CL-USER") | |
(change-directory "D:\\code\\lisp\\") | |
(dolist (file (list "asdf.lisp")) | |
(compile-file file :load t)) | |
(setf asdf:*central-registry* | |
(remove-if #'null | |
(mapcar #'(lambda (file) (if (eq :unspecific (pathname-name file)) file)) | |
(directory #P"D:/code/lisp/")))) |
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
mencoder dvd://8 -dvd-device G: -of rawaudio -oac mp3lame -lameopts cbr:br=192 -af resample=44100 -ovc copy -o test.mp3 |
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
grep -o "[0-9]\+M$" dl.txt | grep -o "[0-9]\+" | awk '{s+=$1} END {print s}' | |
grep -o "[0-9]\+M$" dl.txt | grep -o "[0-9]\+" | paste -sd+ | bc |
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
bundle agent sync_app | |
{ | |
vars: | |
"opt_dir" string => "/home/app/opt", | |
comment => "Program directory"; | |
"etc_dir" string => "/home/app/etc", | |
comment => "Configuration directory"; | |
files: |
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
############ | |
# ~/.forward | |
############ | |
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #${USER}" | |
############### | |
# ~/.procmailrc | |
############### |
OlderNewer