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
<?php | |
/** | |
* Laravel - A PHP Framework For Web Artisans | |
* | |
* @package Laravel | |
* @author Taylor Otwell <[email protected]> | |
*/ | |
/* | |
|-------------------------------------------------------------------------- | |
| Register The Auto Loader |
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
server_addr: you-ngrok-server-domain:4443 | |
auth_token: you-authtoken | |
tunnels: | |
you-subdomain: | |
proto: | |
http: "80" |
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
package main | |
import ( | |
"github.com/PuerkitoBio/goquery" | |
"fmt" | |
"path" | |
"net/http" | |
"os" | |
"io" | |
"path/filepath" |
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
$('form[target=ajax]').live('submit', function(){ | |
var data = [], | |
$this = $(this), | |
self = this, | |
onajax = window[$this.attr('onajax')], | |
call = window[$this.attr('call')]; | |
if(typeof call!='function'){ | |
call=function(){} | |
} |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: shellus | |
* Date: 2017-08-27 | |
* Time: 20:56 | |
*/ | |
/** | |
* replace img src attributes in a html string |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: shellus | |
* Date: 2017/8/28 | |
* Time: 11:30 | |
*/ | |
$fd = fopen("pass.txt", "r"); | |
// 如果php运行在linux,那么pass.txt里面的换行符用\n | |
// 如果php运行在windows,那就用\r\n |
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
123456789 | |
1234567890 | |
a123456789 | |
123456 | |
qq123456 | |
abc123456 | |
123456789a | |
WOAINI1314 | |
12345678 | |
11111111 |
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
package main | |
import ( | |
"net/http" | |
"net/url" | |
"io/ioutil" | |
"strings" | |
"fmt" | |
"bufio" | |
"os" |
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
package main | |
import ( | |
"encoding/gob" | |
"bytes" | |
"reflect" | |
"fmt" | |
) | |
type MyStruct struct { |
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
<?php | |
/** | |
* Created by PhpStorm. | |
* User: shellus-in | |
* Date: 2017/9/28 | |
* Time: 17:50 | |
*/ | |
class Test | |
{ |
OlderNewer