This file contains hidden or 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
public final class Base64 { | |
static private final int BASELENGTH = 255; | |
static private final int LOOKUPLENGTH = 64; | |
static private final int TWENTYFOURBITGROUP = 24; | |
static private final int EIGHTBIT = 8; | |
static private final int SIXTEENBIT = 16; | |
static private final int FOURBYTE = 4; | |
static private final int SIGN = -128; | |
static private final char PAD = '='; |
This file contains hidden or 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
SELECT | |
( CASE WHEN a.colorder = 1 THEN d.name | |
ELSE '' | |
END ) N'่กจๅ', | |
a.colorder N'ๅญๆฎตๅบๅท', | |
a.name N'ๅญๆฎตๅ', | |
( CASE WHEN COLUMNPROPERTY(a.id, a.name, 'IsIdentity') = 1 THEN 'โ' | |
ELSE '' | |
END ) N'ๆ ่ฏ', | |
( CASE WHEN ( SELECT |
This file contains hidden or 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
<% | |
' String helper | |
Class Class_StringHelper | |
'************************************************** | |
'ๅฝๆฐๅ๏ผstrLength | |
'ไฝ ็จ๏ผๆฃๆตๅญ็ฌฆไธฒ้ฟๅบฆ | |
'************************************************** | |
Function strLength(Str) | |
dim i, Temp_str, Test_Str, size |
This file contains hidden or 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
<% | |
' ๅจASPไธญๅฎ็ฐๅ ๅฏไธ่งฃๅฏ,ๅ ๅฏๆนๆณ:ๆ นๆฎ RSA | |
Class clsRSA | |
Public PrivateKey | |
Public PublicKey | |
Public Modulus | |
Public Function Crypt(pLngMessage, pLngKey) | |
On Error Resume Next |
This file contains hidden or 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
<% | |
' ๆฐๆฎๅบๆไฝๅฉๆๆไปถ | |
Class Class_DbHelper | |
' ่ทๅๆฐๆฎๅบ็ๆฌ | |
Public Function version() | |
Dim versionString, v:v = Null | |
versionString = Conn.Execute("SELECT SERVERPROPERTY('productversion')")(0) ' 2000+ |
This file contains hidden or 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
<% | |
' Base64 ๅ ่งฃๅฏๅฝๆฐ | |
' .NET ๅฎ็ฐ | |
' public string encrypt(string str) | |
' { | |
' byte[] encbuff = System.Text.Encoding.UTF8.GetBytes(str); | |
' | |
' return Convert.ToBase64String(encbuff); | |
' } |
This file contains hidden or 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 | |
color 0a | |
title ๆธ ็win7็ณป็ปๅๅพ--- | |
echo โ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ | |
echo โ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ โโ | |
echo.โ โ โโ | |
echo.โ โ โโ | |
echo.โ โ โโ | |
echo โ โ ๆญฃๅจๆธ ้ค็ณป็ปๅๅพๆไปถ๏ผ่ฏท็จ็ญ..... โโ | |
echo.โ โ โโ |
This file contains hidden or 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
[auth] | |
bb.prefix = http://bitbucket.org | |
bb.username = username | |
bb.password = password | |
bbs.prefix = https://bitbucket.org | |
bbs.username = username | |
bbs.password = password | |
[ui] |
This file contains hidden or 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 uuid() { | |
$node = (isset($_SERVER['SERVER_ADDR'])) ? $_SERVER['SERVER_ADDR'] : null; | |
$pid = null; | |
if (strpos($node, ':') !== false) { | |
if (substr_count($node, '::')) { | |
$node = str_replace('::', str_repeat(':0000', 8 - substr_count($node, ':')) . ':', $node); | |
} | |
$node = explode(':', $node); | |
$ipv6 = ''; |
This file contains hidden or 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
Dim filePath, fileContents, dFileContents | |
filePath = "C:\" | |
' ๆฅๆพๆๆ .lst ๆฉๅฑๅๆไปถ | |
Dim fs, f, array1, f1 | |
Set fs = CreateObject("Scripting.FileSystemObject") | |
Set f = fs.GetFolder("C:\") | |
Set fc = f.Files | |
For Each f1 in fc |
NewerOlder