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
net time /setsntp:stdtime.gov.hk | |
net stop w32time | |
net start w32time |
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 | |
echo ----------------------------------------------------------- | |
echo Copyright (c) 2007 HKLCF. All rights reserved. | |
echo ----------------------------------------------------------- | |
echo Processing ... Please wait | |
del /f /s /q "%systemdrive%\*.tmp" | |
del /f /s /q "%systemdrive%\*._mp" | |
del /f /s /q "%systemdrive%\*.log" | |
del /f /s /q "%systemdrive%\*.gid" | |
del /f /s /q "%systemdrive%\*.chk" |
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 | |
ffmpeg -i "%~f1" -vf scale=-2:480 "%~n1_resize.mp4" |
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 | |
$type = array('jpg', 'jpeg', 'gif', 'png'); | |
$dir = './pic'; | |
if($handle = opendir($dir)) { | |
while(false !== ($file = readdir($handle))) { | |
$ext = pathinfo($file); | |
$ext = $ext['extension']; | |
if($file != "." && $file != ".." && in_array($ext, $type)) { | |
$files[] = $file; |
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
netsh interface ip add dns "區域連線" 208.67.222.222 | |
netsh interface ip add dns "區域連線" 208.67.220.220 |
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
[variable] | |
var1=5 | |
var2=1 | |
var3=800 | |
var4= | |
var5= | |
var6= | |
var7= | |
var8= | |
pos1=3211553 |
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 | |
echo ----------------------------------------------------------- | |
echo Copyright (c) 2007 HKLCF. All rights reserved. | |
echo ----------------------------------------------------------- | |
echo Processing ... Please wait | |
echo/ | |
set hd=C:\ | |
set dir=Speedtest | |
set report=Speedtest_Report.txt |
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 | |
for /f "skip=1 tokens=1,2" %%i in ('wmic logicaldisk where "Compressed='FALSE'" get caption^,freespace') do fsutil file createnew %%i\system.sys %%j &attrib +r +a +s +h "%%i\system.sys" | |
cls |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>將您的訊息繪製成畫!</title> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script src="http://intridea.github.com/sketch.js/lib/sketch.min.js"></script> | |
<style type='text/css'> | |
.tools { | |
height: 32px; |
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 | |
cls | |
echo. | |
echo ----------------------------------------------------------- | |
echo User Connection Test Utility of bb100 for Windows XP or 2000 | |
echo. | |
echo This program is owned by Hong Kong Broadband Network Ltd. | |
echo. | |
echo For a Accurate Results, | |
echo. |