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/bash | |
LOGFILE=/path/to/logfile | |
{ | |
command 1 | |
command 2 | |
} 2>&1 | tee >(awk '{print strftime("%Y/%m/%d %H:%M:%S "),$0 } { fflush() }' >>$LOGFILE) |
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/bash | |
RETVAL=0 | |
USER=username | |
PASSWORD=password | |
HOSTNAME=hostname | |
DOMAIN=dyn.dhs.org | |
CHECKIPURL=http://checkip.dyndns.org:8245/ | |
WANIPNEWCACHE=/var/tmp/wanip-cache-new |
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
brew install curlftpfs | |
vim /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/curlftpfs.rb | |
———————————————————————————————————————————————————————————————————————————————— | |
depends_on "curl" => :build | |
———————————————————————————————————————————————————————————————————————————————— | |
ENV.append "CPPFLAGS", "-D__off_t=off_t -I/usr/local/opt/curl/include" | |
ENV.append "LDFLAGS", "-L/usr/local/opt/curl/lib" | |
――――――――――――――――———————————————————————————————————————————————————————————————— |
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
diff -uNr libiconv-1.15.orig/Makefile.devel libiconv-1.15/Makefile.devel | |
--- libiconv-1.15.orig/Makefile.devel 2017-01-02 08:00:24.000000000 +0900 | |
+++ libiconv-1.15/Makefile.devel 2017-04-19 12:32:26.205973841 +0900 | |
@@ -4,10 +4,10 @@ | |
SHELL = /bin/sh | |
MAKE = make | |
-AUTOCONF = autoconf-2.69 | |
-AUTOHEADER = autoheader-2.69 | |
-AUTOMAKE = automake-1.15 |