在终端输入:
sudo codesign -f -d -s - /Applications/Alfred\ 3.app/Contents/Frameworks/Alfred\ Framework.framework/Versions/A/Alfred\ Framework
在终端输入:
sudo codesign -f -d -s - /Applications/Alfred\ 3.app/Contents/Frameworks/Alfred\ Framework.framework/Versions/A/Alfred\ Framework
//正则方法 | |
function getQueryString(name) { | |
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); | |
var r = window.location.search.substr(1).match(reg); | |
if (r != null) { | |
return unescape(r[2]); | |
} | |
return null; | |
} |
<?php | |
/** | |
* Created by PhpStorm. | |
* User: aric | |
* Date: 18/7/10 上午9:34 | |
*/ | |
//获取重定向最终网址 | |
function get_redirect_final_target($url) | |
{ |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<video></video> | |
<br/> | |
<input type="file" name="file" id="fileItem" onchange="onChange()" > |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<meta name="viewport" content="target-densitydpi=device-dpi,width=640,user-scalable=no"/> | |
<style> | |
html { | |
-webkit-text-size-adjust: none; | |
-webkit-user-select: none; |
<?php | |
/** | |
* Created by PhpStorm. | |
* User: qishou | |
* Date: 15-8-2 | |
* Time: 上午12:00 | |
* CopyFrom: https://blog.csdn.net/qishouzhang/article/details/47204359 | |
*/ | |
//准备数组,代替从数据库中检索出的数据(共有三个必须字段id,name,pid) | |
header("content-type:text/html;charset=utf-8"); |
<?php | |
// FOLLOW A SINGLE REDIRECT: | |
// This makes a single request and reads the "Location" header to determine the | |
// destination. It doesn't check if that location is valid or not. | |
function get_redirect_target($url) | |
{ | |
$ch = curl_init($url); | |
curl_setopt($ch, CURLOPT_HEADER, 1); | |
curl_setopt($ch, CURLOPT_NOBODY, 1); |
function n(e) { | |
var o = document.createElement("a"); | |
if (o.href = e, | |
"chrome.google.com" == o.host) { | |
var n = o.pathname; | |
"/" == n.slice(-1) && (n = n.slice(0, -1)); | |
var t = n.split("/"); | |
return t.pop() | |
} | |
} |
<?php | |
/** | |
* Created by PhpStorm. | |
* User: fhefh | |
* Date: 18/4/8 | |
* Time: 下午11:37 | |
*/ | |
function code62($x) | |
{ | |
$show = ''; |