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 "fmt" | |
func main() { | |
time1 := 1626205761000 // 毫秒时间1 | |
time2 := 1626205771000 // 毫秒时间2 | |
interval := (time2 - time1 + 999) / 1000 // 计算时间间隔,不足秒的当做秒 | |
fmt.Println(interval) // 输出时间间隔 |
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
payload: | |
- '*.edgeservices.*' | |
- '*.msn.*' | |
- '*.msftstatic.*' | |
- '*.bing.*' | |
- '*.bingapis.*' | |
- '*.office.*' | |
- '*.edge.*' | |
- '*.scorecardresearch.*' | |
- '*.microsoftonline.*' |
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
payload: | |
- '+.funkey-project.com' | |
- '+.openai.com' |
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
payload: | |
- '+.roboofood.com' | |
- '+.hi-walle.com' | |
- '+.j1.com' | |
- '+.yjiang.cn' |
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
#!/usr/bin/env bash | |
#用户session | |
JSESSIONID="0003it-tqm1tI0yBdJiT4cnedEh:-HLGBUP:XXXXXXXX" | |
#活动id | |
service_id="32142" | |
#token | |
token="3BF2A6E0EA39BE2FC66A3C3A82XXXXXXX" | |
#收货人地址 | |
receive_id="1234567" |
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
#!/usr/bin/env bash | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/advertising.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/Bundles/XLPlayer.app | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/bbassistant.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/browserhelper.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/featuredpage.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/myvip.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/playgame.xlplugin | |
chmod a-x /Applications/Thunder.app/Contents/PlugIns/subtitle.xlplugin |
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
{ | |
"apps": [ | |
{ | |
"name": "xiaoying - 1st_fetch", | |
"script": "/opt/php7/bin/php", | |
"args" : "1st_fetch.php", | |
"cwd" : "/export/home/xtv/apps/xbb/download_xiaoying/app/", | |
"restart_delay" : 1000, | |
"exec_mode" : "fork", | |
"instances" : 1, |
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 | |
require_once __DIR__ . '/vendor/autoload.php'; | |
//namespace libs; | |
use Monolog\Logger; | |
use Monolog\Handler\RedisHandler; | |
use Monolog\Formatter\LogstashFormatter; | |
use Predis\Client; | |
class log { |
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 | |
class ofo { | |
public function __construct($carno, $coord_url, $token){ | |
list($this->lat, $this->lng) = $this->get_coord($coord_url); | |
$this->carno = $carno; | |
$this->token = $token; | |
} | |
//把高德url转换为坐标 |
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
import json, re, sys, os | |
from selenium import webdriver | |
class Sign: | |
def __init__(self, cid): | |
self.cid = cid | |
self.check() | |
#@site : sign_dict key | |
#@info : sign_dict value | |
def check(self): |
NewerOlder