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
; 取词快捷键 ctrl+shift+d | |
^+d:: | |
clipboard = | |
Send, ^c | |
ClipWait, 1 | |
StringLen, cliplen, clipboard | |
if (cliplen > 1000 or cliplen < 2) { | |
return | |
} | |
Run, %USERPROFILE%\AppData\Local\Wox\Wox.exe |
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
# liberize @ home-pc in ~/Code/GitHub/mpv on git:master x [0:06:35] | |
$ python3 ./waf configure --prefix=/usr/local --enable-libmpv-shared -v | |
Setting top to : /Users/liberize/Code/GitHub/mpv | |
Setting out to : /Users/liberize/Code/GitHub/mpv/build | |
Checking for waf version in 1.8.4-2.0.0 : ok | |
Checking for program 'cc' : /usr/bin/cc | |
Checking for program 'pkg-config' : /usr/local/bin/pkg-config | |
Checking for program 'ar' : /usr/bin/ar | |
Checking for program 'rst2html' : not found | |
Checking for program 'rst2man' : not found |
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
#!/bin/bash | |
apk="$1" | |
shopt -s expand_aliases | |
alias apktool="java -jar apktool_2.2.4.jar" | |
alias dex2jar="./dex2jar-2.0/d2j-dex2jar.sh" | |
alias jd-cli="java -jar jd-cli.jar" | |
echo "=> apk decompiling" |
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
namespace { | |
const int MAX_DETS = 5; | |
const float SCALE_FACTOR = 1.1f; | |
const float STRIDE_FACTOR = 0.1f; | |
const float QUALITY_THRESH = 10.0f; | |
const float ANGLE_STEP = 45.0f; | |
} |
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 python | |
# coding: utf-8 | |
import os | |
import sys | |
from PIL import Image, ImageChops | |
templates = [] |
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 python | |
# -*- coding: utf-8 -*- | |
import sys | |
import urllib | |
import smtplib | |
import time | |
import ConfigParser | |
import json | |
import 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
// ==UserScript== | |
// @name 禁止google结果跳转 | |
// @namespace http://blog.whosemind.net | |
// @description 去掉google搜索结果的跳转(http://www.google.com/url?), 而直接用原始链接 | |
// @version 0.0.7 | |
// @include /^https?:\/\/www\.google\.[^\/]+?\/(#.*|webhp.*|search\?.*)?$/ | |
// ==/UserScript== | |
var eles, | |
timer, | |
s, |
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
Show hidden characters
[ | |
{ "keys": ["alt+o", "alt+f"], "command": "open_in_browser_alt", "args": {"browser": "firefox"} }, | |
{ "keys": ["alt+o", "alt+s"], "command": "open_in_browser_alt", "args": {"browser": "safari"} } | |
] |
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 id="search-form"> | |
<input id="query" type="text" placeholder="正则搜索"></input> | |
<button type="submit"><i class="icon-search"></i></button> | |
</form> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
var entries = null; | |
function htmlEscape(s) { | |
return String(s).replace(/[&<>"'\/]/g, function(s) { |
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
#include <fstream> | |
#include "opencv2/opencv.hpp" | |
#include <vector> | |
#include <io.h> | |
using namespace std; | |
using namespace cv; | |
// #define ON_STUDY |
NewerOlder