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
Basically, | |
- install OmniOS (via CD or USB Stick) and setup network manually | |
http://napp-it.org/downloads/omnios_en.html | |
Then install napp-it (at console as root) | |
- wget -O - www.napp-it.org/nappit | perl | |
Connect napp-it via browser, check if current BE is default or reboot | |
- http://ip:81 |
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 | |
# | |
# Usage: lstemp [ -w or -W] | |
# -w / -W: Wake up a sleeping drive to take it's temperature | |
# | |
adastat () { echo -n `camcontrol cmd $1 -a "E5 00 00 00 00 00 00 00 00 00 00 00" -r - | awk '{print $10 " " ; }'` " " ; } | |
echo | |
echo System Temperatures - `date` | |
cat /etc/version.freenas | |
uptime | awk '{ print "\nSystem Load:",$(NF-2),$(NF-1),$(NF),"\n" }' |
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
root@DD-WRT:~# cat /proc/mtd | |
dev: size erasesize name | |
mtd0: 00020000 00010000 "RedBoot" | |
mtd1: 007c0000 00010000 "linux" | |
mtd2: 00670000 00010000 "rootfs" | |
mtd3: 00060000 00010000 "ddwrt" | |
mtd4: 00010000 00010000 "nvram" | |
mtd5: 00010000 00010000 "board_config" | |
mtd6: 00800000 00010000 "fullflash" | |
mtd7: 00020000 00010000 "fullboot" |
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
.0rz.tw | |
.0to255.com | |
.1000giri.net | |
.100ke.org | |
.10conditionsoflove.com | |
.10musume.com | |
.123rf.com | |
.12bet.com | |
.12vpn.com | |
.12vpn.net |
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
v.youku.com | |
api.youku.com | |
v2.tudou.com | |
www.tudou.com | |
s.plcloud.music.qq.com | |
i.y.qq.com | |
hot.vrs.sohu.com | |
live.tv.sohu.com | |
pad.tv.sohu.com | |
my.tv.sohu.com |
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
BCM5358U@533 16M 64M |
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
2 x Broadcom BCMD144 chip rev 1 - Linksys E900 --------> DD-WRT v24-sp2 (04/01/13) mega | |
5 x Broadcom BCM4716 chip rev 1 - Linksys E4200 -------> DD-WRT v24-sp2 (06/07/14) kingkong | |
1 x Broadcom BCM5300 chip rev 1 - Asus RT-AC66U -------> DD-WRT v24-sp2 (04/01/13) giga | |
7 x Broadcom BCM5300 chip rev 1 - Asus RT-AC66U -------> DD-WRT v3.0-r30471 giga (08/24/16) | |
1 x Marvel Armada 370/XP - LinkSys WRT1900AC ----------> DD-WRT v3.0-r30471 std (08/24/16) | |
1 x ARMv7 Processor rev 0 (v7l) - Asus RT-AC68U -------> DD-WRT v3.0-r30471 std (08/24/16) | |
1 x ARMv7 Processor rev 0 (v7l) - Linksys EA6900 ------> DD-WRT v3.0-r30465M kongac (08/23/16) | |
1 x ARM Cortex-A9 Processor - Net Gear R7000 ----------> DD-WRT v3.0-r30465M kongac (08/23/16) | |
1 x Broadcom BCM4709A0 chip - Asus RT-AC3200 ----------> Merlin 380.61 | |
http://www.speedtest.net/result/4834183066.png |
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
Don't perform the 30/30/30 reset! If the "mtd-erase -d nvram" command doesn't work try "nvram erase." |
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
My thinkpad has this problem. So | |
Step 1: | |
check if wlan auto config service is running and set to auto; | |
Step 2: | |
delete all vpn client software | |
delete all vpn adapter and its drivers | |
reboot | |
Step 3: |
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
<?php | |
function cache_image($image_url){ | |
//replace with your cache directory | |
$image_path = 'path/to/cache/dir/'; | |
//get the name of the file | |
$exploded_image_url = explode("/",$image_url); | |
$image_filename = end($exploded_image_url); | |
$exploded_image_filename = explode(".",$image_filename); | |
$extension = end($exploded_image_filename); | |
//make sure its an image |