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
* commit 9b5a1a68de5df1702f59c7d309e73d7152b5c582 (HEAD -> master, new) | |
| Author: ZHU Jie <jie.zhu@huangloong.com> | |
| Date: Fri Aug 31 10:52:57 2018 +0000 | |
| | |
| update another file | |
| | |
* commit 6d94315602e0969e61d7f141cb3f27e567bd65f5 | |
| Author: ZHU Jie <jie.zhu@huangloong.com> | |
| Date: Fri Aug 31 10:52:42 2018 +0000 | |
| |
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
{ | |
"group001": { | |
"hosts": ["host001", "host002"], | |
"vars": { | |
"var1": true | |
}, | |
"children": ["group002"] | |
}, | |
"group002": { | |
"hosts": ["host003","host004"], |
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
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2015 Jie ZHU <zj0512@gmail.com>. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
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
# -*- encoding: utf-8 -*- | |
import logging | |
import os.path | |
import sys | |
from PIL import Image | |
logging.basicConfig(level=logging.INFO) | |
L = logging.getLogger(__name__) | |
L.setLevel(logging.INFO) |
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
{"lastUpload":"2020-03-06T13:29:30.156Z","extensionVersion":"v3.4.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
#!/usr/bin/env python3 | |
from io import BytesIO | |
def ffmpeg_it(clip, input, output, overwriteopt='-y'): | |
cmd = [ffmpeg, '-ss', clip['start'], '-i', input, '-c', 'copy', | |
'-t', clip['end'], overwriteopt, output ] | |
ffmpegp = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) | |
buf = BytesIO() | |
while True: | |
# put the single char to IO buffer in case it's a multi-byte |
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
diff --git a/PWCNet/correlation_package_pytorch1_0/correlation.py b/PWCNet/correlation_package_pytorch1_0/correlation.py | |
index 80a8b09..fe8ab06 100644 | |
--- a/PWCNet/correlation_package_pytorch1_0/correlation.py | |
+++ b/PWCNet/correlation_package_pytorch1_0/correlation.py | |
@@ -4,19 +4,16 @@ from torch.autograd import Function | |
import correlation_cuda | |
class CorrelationFunction(Function): | |
- | |
- def __init__(self, pad_size=3, kernel_size=3, max_displacement=20, stride1=1, stride2=2, corr_multiply=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
// ==UserScript== | |
// @name NerdFont for Code | |
// @namespace http://genzj.info/ | |
// @version 0.1 | |
// @description Use NerdFont in code/pre tags, such as github | |
// @author You | |
// @match https://github.com/* | |
// @match https://gist.github.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// @grant GM_addStyle |
OlderNewer