Skip to content

Instantly share code, notes, and snippets.

FreeBSD.cs.nctu.edu.tw 新增 news group:
mailing.freebsd.chromium
mailing.freebsd.drivers
mailing.freebsd.eclipse
mailing.freebsd.embedded
mailing.freebsd.gecko
mailing.freebsd.mono
mailing.freebsd.wireless
telnet://bs2.to 新增看板:
#!/usr/bin/perl
# Author: Todd Larason <jtl@molehill.org>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $
$| = 1;
# use the resources for colors 0-15 - usually more-or-less a
# reproduction of the standard ANSI colors, but possibly more
# pleasing shades
@lwhsu
lwhsu / newjail.sh
Created October 8, 2011 14:17
Create FreeBSD jail through pre-built binary
#!/bin/sh
THEJAIL=$1
RELNAME=$2
if [ $# -lt 2 ]; then
echo "Usage: $0 JailPath ReleaseName"
exit 1
fi
@lwhsu
lwhsu / gist:1677778
Created January 25, 2012 18:33
Create FreeBSD jail through pre-built binary (9.0)
#!/bin/sh
THEJAIL=$1
if [ $# -lt 1 ]; then
echo "Usage: $0 JailPath"
exit 1
fi
bsdinstall jail ${THEJAIL}
#!/bin/sh
ISO=$1
OUTFILE=$2
TITLE=1
CHAPTER=1
VBITRATE=512
ABITRATE=64
TIMESTAMP=${OUTFILE}.timestamp
inoremap ( ()<Left>
inoremap ) )<Esc>
\y2l
\:if '))'=="<C-R>=escape(@0,'"\')<CR>"<BAR>
\ exec 'normal x'<BAR>
\endif<CR>
\a
@lwhsu
lwhsu / gist:3388070
Created August 18, 2012 16:13
FreeBSD BoF @ COSCUP 2012
= me =
Li-Wen Hsu
lwhsu@lwhsu.org
lwhsu@FreeBSD.org
lwhsu@yahoo-inc.com
http://lwhsu.org
= tw.FreeBSD.org =
===> Extracting for kdepimlibs-4.9.1
=> SHA256 Checksum OK for KDE/kdepimlibs-4.9.1.tar.xz.
/bin/mkdir -p /tmp/WRKDIR/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.9.1/build
===> Patching for kdepimlibs-4.9.1
===> Applying FreeBSD patches for kdepimlibs-4.9.1
/usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g' /tmp/WRKDIR/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.9.1/cmake/modules/*.cmake
/usr/bin/sed -i.bak -e '/find_package/s,PATHS,PATHS /usr/local/kde4/lib/cmake/Akonadi,' /tmp/WRKDIR/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.9.1/cmake/modules/FindAkonadi.cmake
/usr/bin/sed -i.bak -e 's|%%KDE4_PREFIX%%|/usr/local/kde4|g' /tmp/WRKDIR/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.9.1/cmake/modules/FindQGpgme.cmake
# Prevent updating MIME during build.
/usr/bin/sed -i.bak -e '/^update_xdg_mimetypes/ d' /tmp/WRKDIR/usr/ports/deskutils/kdepimlibs4/work/kdepimlibs-4.9.1/CMakeLists.txt
--- remap.config.default 2012-06-25 12:32:44.316308874 +0800
+++ remap.config 2012-06-25 13:35:54.963674301 +0800
@@ -123,3 +123,6 @@
# be used as substitution place holders ($0 will be the entire input string)
# 3) The number of substitutions in the expansion string is limited to 10
#
+#map http://update.tw.FreeBSD.org/ http://update.FreeBSD.org/
+map http://update.tw.FreeBSD.org/ http://update.FreeBSD.org/
+map http://portsnap.tw.FreeBSD.org/ http://portsnap.FreeBSD.org/
diff --git a/raw/4004.md b/raw/4004.md
index bcad8ed..c307ff2 100644
--- a/raw/4004.md
+++ b/raw/4004.md
@@ -1858,7 +1858,7 @@
* 現在開始進行質詢,第一位請高委員金素梅質詢,詢答時間為30分鐘。
```json
- {"type":"interp","people":["高委員金素梅","主席","陳院長冲","李部長鴻源"]}
+ {"type":"interp","people":["高委員金素梅","主席","陳院長冲","李部長鴻源"],"digest":"e868d5d90b3cc3744cb88761c9b9ed1392d922be"}