This file contains hidden or 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
class Settings { | |
var count:Int=0 | |
} | |
actor Test{ | |
// var count:Int=0 | |
var settings:Settings | |
init(s:Settings){ | |
self.settings = s |
This file contains hidden or 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" | |
"unsafe" | |
) | |
func getbyteorder() { | |
var n uint16 | |
n = 0x0102 |
This file contains hidden or 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
setInterval(() => { | |
// 显示时间的节点 | |
var timeNode = document.querySelector(".left-time > div:nth-child(1)") | |
var lastTime = parseInt(timeNode.textContent) | |
// 延迟按钮 | |
var btn = document.querySelector(".add-time-btn") | |
if (lastTime<10) { | |
btn.click() | |
// 确认延迟按钮 | |
var sure = document.querySelector("#__BVID__65___BV_modal_footer_ > button:nth-child(2)") |
This file contains hidden or 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 ( | |
"log" | |
"math/rand" | |
"net" | |
"strings" | |
"time" | |
) |
This file contains hidden or 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" | |
"log" | |
"net" | |
"time" | |
) | |
// Client launch the client |
This file contains hidden or 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" | |
"log" | |
"net" | |
"net/http" | |
_ "net/http/pprof" | |
"time" | |
) |