How do I configure IPv6 networking under FreeBSD 7.x server? How do I assign IPv6 IP address using command line utility?
IPv6 (IP next generation) can be easily configured under FreeBSD 7.x or 6.x. You need to know:
貧窮不能等,因為時間久了,你就會貧窮習慣了;
夢想不能等,因為努力晚了,人老就無能為力了;
學習不能等,因為懂得少了,就沒本事夢想成真了;
健康不能等,因為身體垮了,人生的一切就都沒了。
How do I configure IPv6 networking under FreeBSD 7.x server? How do I assign IPv6 IP address using command line utility?
IPv6 (IP next generation) can be easily configured under FreeBSD 7.x or 6.x. You need to know:
The standard way to load an URL into a WebView object is using the loadUrl method.
With the following code, it is possible to send data to a WebView using POST with Android:
public void onCreate(Bundle savedInstanceState) { |
Q:
Trying to call a method in my activity from a fragment. I want the fragment to give the method data and to get the data when the method return. I want to achieve similar to call on a static method, but without the use of static because it create problems in the activity.
New to fragments so I need an easy and pedagogic explanation!
Thanks!
I have a FreeBSD machine running on a virtual machine. I am using SUN Virtual Box. I need to set static IP address to this machine. So that I can access this machine. Is there anyway to do this ?
in /etc/rc.conf:
ifconfig_em0="inet 192.168.0.254 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
192.168.0.254 -- the machine IP,
做到一种样式 android 的spinner本身背景样式要黑色的 ,而spinner里的字体也是黑色的 ,spinner 控件的属性里设置TextColor没用 网上找了下 需要定义xml 文件来定义样式 和自定义按钮控件类似;
1,首先定义spinenr本身背景的样式:
建立Android Project後會多了res/values/styles.xml的樣式檔案
事實上這是讓Android讀取的預設的樣式定義檔
例如要讓整個程式的基本樣式為亮色系或暗色系~
或者要隱藏標題全螢幕等等, 皆可以在這個檔案上進行修改...
在/res/values/目錄下, 預設的styles.xml內容
材料:雞蛋2個涼開水約5湯匙鹽1/2茶匙廚房紙巾1張香油1/4茶匙
做法:
【1】 雞蛋液打散,直到蛋清和蛋黃均勻的混合在一起,不要有大塊的凝結。
【2】 加入涼開水(不要直接加生水),一邊加,一邊拌勻,然後加入鹽,充分攪勻。一般蛋液與水的比例是1:2
【3】 用漏網過濾掉氣泡,或者廚房紙巾將蛋液表面的氣泡吸掉,保證液體表面光滑平整,這樣整出來的雞蛋羹,才不會有難看的蜂窩。
Handling XML in Perl example from a Well House Consultants training course
#!/usr/bin/perl
use XML::LibXML;
$parser = new XML::LibXML;
$struct = $parser -> parse_file("apps-admin.xml");
$rootel = $struct -> getDocumentElement();
$elname = $rootel -> getName();
print "Root element is a $elname and it contains ...\n";
@kids = $rootel -> childNodes();
foreach $child(@kids) {
$elname = $child -> getName();
@atts = $child -> getAttributes();
print "$elname (";
foreach $at (@atts) {
$na = $at -> getName();
$va = $at -> getValue();
print " ${na}[$va] ";
}
print ")\n";
}
More on Handling XML in Perl [link]
命令形的 wireshark,有同 tcpdump
man tshark
捕包樹狀解析
tshark -V
十六進制,ASCII 解析
tshark -x
指定界面,保留檔名
tshark -i <界面> -w <檔名>
指定界面,保留檔名,指定重覆保留最大檔數量,停止捕包大小(有 -b 就有 -a?)
在Android中創建或表示一個顏色的方法
詳見: 如何正確發送(大量) Email 信件 - ihower
本文取自 http://blog.longwin.com.tw/2010/02/http-ihower-tw-blog-archives-3481/
迪士尼角色配音 唱 Let it Go.
除了強,我真的不知道該用什麼形容!!
With so many covers of Let it Go coming out, people may forget the original Disney magic that this song has, so what better way to preserve that magic with other Disney and Pixar characters singing the song! So enjoy this Disney and Pixar Mashup! Recorded and produced by Seth O'Neal