Skip to content

Instantly share code, notes, and snippets.

View wotupset's full-sized avatar
⚜️
太平島挖石油

断固非難 wotupset

⚜️
太平島挖石油
  • 仗劍紅塵已是癲,有酒平步上青天;遊星戲鬥弄日月,醉臥雲端笑人間。
View GitHub Profile
@wotupset
wotupset / 131209.php
Created December 9, 2013 00:43
131209.php
<?php
function view($con,$p2,$t2,$time){
////列出資料
$sql = "SELECT * FROM `$t2` ORDER BY `auto_time` DESC";//取得資料庫總筆數
$result = mysql_query($sql,$con);
if(mysql_error()){die(mysql_error());}//有錯誤就停止
////檢查page範圍
$max = mysql_num_rows($result);//取得資料庫總筆數
$show_new = 20;//最新頁秀出?筆資料
$show=100;//歷史頁秀出?筆資料
@wotupset
wotupset / 131212.htm
Created December 11, 2013 21:52
131212.htm
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
// Internet Explorer specific
function OnAbortImage () {
var info = document.getElementById ("info");
info.innerHTML += "<br />The loading of the image has been aborted.";
RemoveEsc ();
}
@wotupset
wotupset / del_7z.php
Created December 22, 2013 04:45
del_7z.php + del_htaccess.php
<?php
header('Content-type: text/html; charset=utf-8');
//跟txtsavelog.php放在一起
$time = time();
$tim = $timex.substr(microtime(),2,3);
$u = "http://".$_SERVER["SERVER_NAME"]."".$_SERVER["PHP_SELF"]."";
//echo $u."\n";
$url2=substr($u,0,strrpos($u,"/")+1);
//echo $url2."\n\n";
@wotupset
wotupset / urk.php
Created December 22, 2013 04:57
urk.php
<?php
header('Content-type: text/html; charset=utf-8');
error_reporting(E_ALL & ~E_NOTICE); //所有錯誤中排除NOTICE提示
$phpself=basename($_SERVER["SCRIPT_FILENAME"]);//被執行的文件檔名
$phplink="http://".$_SERVER["SERVER_NAME"].$_SERVER["SCRIPT_NAME"]."";
$host=$_SERVER["SERVER_NAME"]; //主機名稱
date_default_timezone_set("Asia/Taipei");//時區設定 Etc/GMT+8
$time=time();
$mode = $_POST["mode"];
$url_org = $_POST["url_org"];
@wotupset
wotupset / 175317.user.js
Last active January 1, 2016 04:29
初春包//140626
// ==UserScript==
// @name Komica Uiharu Package ver.homu
// @namespace http://userscripts.org:8080/scripts/show/175317
// @downloadURL http://userscripts.org:8080/scripts/source/175317.user.js
// @updateURL http://userscripts.org:8080/scripts/source/175317.user.js
//綜合http://k0.dreamhosters.com/00/*
// @include /^http://[\w]{1,10}\.dreamhosters\.com/[0-9]{2}/index\.php\?res=[0-9]*$/
// @include /^http://[\w]{1,10}\.dreamhosters\.com/[0-9]{2}/([0-9]*|index)\.htm$/
//塗鴉王國http://homu.komica.org/*
/*!
* Bootstrap v3.0.3 (http://getbootstrap.com)
* Copyright 2013 Twitter, Inc.
* Licensed under http://www.apache.org/licenses/LICENSE-2.0
*/
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-al
@wotupset
wotupset / .htaccess
Created December 26, 2013 10:18
.htaccess 練習
<Limit GET>
order deny,allow
allow from all
</Limit>
<Limit POST>
order deny,allow
allow from 114
</Limit>
<ifModule mod_gzip.c>
mod_gzip_on Yes
@wotupset
wotupset / res_mods\0.8.10\gui\messenger.xml
Created December 30, 2013 17:42
res_mods\0.8.10\gui\messenger.xml 修改lifeTime的值
<messenger.xml>
<defUserPreferences>
</defUserPreferences>
<colorsSchemes>
<colorScheme>
<name>groups</name>
<item>
<name> channelOwner </name>
<colors>
<color>
@wotupset
wotupset / css3rot.htm
Created December 31, 2013 10:29
css3rot.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>snowmiku</title>
<script>
var query = location.search.replace("?", "");
var a = new Array();
a = query.split("!");
var QUERY = new Object();
@wotupset
wotupset / 錄影.bat
Created January 1, 2014 11:31
錄影.bat
@echo off
regsvr32 /s /u zipfldr.dll
taskkill /f /im "NTPClock.exe"
taskkill /f /im "bdcam.exe"
taskkill /f /im "sndvol32.exe"
start "" "D:\[]_set\NTPClock.exe"
start "" "C:\Program Files\Bandicam\bdcam.exe"
start "" "C:\Windows\System32\sndvol32.exe" -R