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
set iconcache=%localappdata%\IconCache.db | |
rem Close explorer | |
taskkill /f /im explorer.exe | |
rem Remove Icon Cache | |
attrib -h -s -r "%iconcache%\IconCache.db" | |
del /f "%iconcache%\IconCache.db" | |
attrib /s /d -h -s -r "%iconcache%\Microsoft\Windows\Explorer\*" | |
del /f "%iconcache%\Microsoft\Windows\Explorer\thumbcache_32.db" | |
del /f "%iconcache%\Microsoft\Windows\Explorer\thumbcache_96.db" | |
del /f "%iconcache%\Microsoft\Windows\Explorer\thumbcache_102.db" |
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/sh | |
echo The script will be generated under the website of ICO | |
convert icon.png \ | |
\( -clone 0 -resize 16x16 \) \ | |
\( -clone 0 -resize 32x32 \) \ | |
\( -clone 0 -resize 48x48 \) \ | |
\( -clone 0 -resize 64x64 \) \ | |
-delete 0 -colors 256 favicon.ico |
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
function detectOS() { | |
var sUserAgent = navigator.userAgent; | |
var isWin = (navigator.platform === "Win32") || (navigator.platform === "Windows"); | |
var isMac = (navigator.platform === "Mac68K") || (navigator.platform === "MacPPC") || (navigator.platform === "Macintosh") || (navigator.platform === "MacIntel"); | |
var isIpad = sUserAgent.match(/ipad/i) === "ipad"; | |
// var isIphoneOS = sUserAgent.match(/iphone os/i) === "iphone os"; | |
var isUnix = (navigator.platform === "X11") && !isWin && !isMac; | |
var isLinux = (String(navigator.platform).indexOf("Linux") > -1); | |
var isAndroid = sUserAgent.toLowerCase().match(/android/i) === "android"; |
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 The script will be generated under the Windows of ICO | |
convert logo.png ( -clone 0 -resize 256x256 ) ( -clone 0 -resize 128x128 ) ( -clone 0 -resize 96x96 ) ( -clone 0 -resize 64x64 ) ( -clone 0 -resize 32x32 ) -delete 0 logo.ico |
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 批量重命名 | |
echo By luckytianyiyan@gmail.com | |
echo ===================================================== | |
echo 1. 正在检查权限... | |
Rem 创建文件路径 | |
set TempFile_Name=%SystemRoot%\System32\BatTestUACin_SysRt%Random%.batemp | |
Rem 写入文件 |
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
<html> | |
<head> | |
<title>String Generate</title> | |
<!-- 新 Bootstrap 核心 CSS 文件 --> | |
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css"> | |
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 --> | |
<script src="http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script> | |
<!-- 最新的 Bootstrap 核心 JavaScript 文件 --> |
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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>Launch Custom URL </title> | |
<script type="text/javascript"> | |
function LaunchURLScript(){ | |
var url = "TyStart:"; | |
window.open(url); | |
self.focus(); | |
} |
NewerOlder