Batch file to map your Android phone as network drive in Windows.
- An Android phone
- WebDAV Server or WebDAV Server Ultimate
- WiFi router (PC and phone on the same network)
function git_prompt_info() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo "$ZSH_THEME_GIT_PROMPT_PREFIX${ref#refs/heads/}$ZSH_THEME_GIT_PROMPT_SUFFIX" | |
} |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
# -*- coding: utf-8 -*- | |
""" | |
Go to Google Bookmarks: https://www.google.com/bookmarks/ | |
On the bottom left, click "Export bookmarks": https://www.google.com/bookmarks/bookmarks.html?hl=en | |
After downloading the html file, run this script on it to generate a KML. | |
""" |
-480p - Run tenfoot in 480p rather than 1080p | |
-720p - Run tenfoot in 720p rather than 1080p | |
-accesscode - | |
-all_languages - show longest loc string from any language | |
-batterytestmode - rapidly cycle battery percentages for testing | |
-bigpicture - Start in Steam Big Picture mode | |
-blefw - | |
-cafeapplaunch - Launch apps in a cyber cafe context | |
-candidates - Show libjingle candidates for local connection as they are processed | |
-ccsyntax - Spew details about the localized strings we load |
char __thiscall sub_104E1A10(int this, const char *a2, int a3, int a4) | |
{ | |
int v4; // eax@1 | |
int v5; // edx@2 | |
int v6; // ecx@2 | |
int v7; // eax@5 | |
void *v8; // esp@8 | |
signed int v9; // esi@9 | |
unsigned __int32 v10; // eax@11 | |
int v11; // esi@11 |
Batch file to map your Android phone as network drive in Windows.
// migrate the script executer's primary domain | |
// domainName - the desired domain to migrate to | |
function migrateDomain(organizationName, domainName) { | |
var customerId = 'my_customer'; | |
var customer = AdminDirectory.Customers.get(customerId); | |
customer.customerDomain = domainName; | |
customer.postalAddress.organizationName = organizationName; | |
customer.customerCreationTime = undefined; // | |
AdminDirectory.Customers.patch(customer, customerId); | |
# On slow systems, checking the cached .zcompdump file to see if it must be | |
# regenerated adds a noticable delay to zsh startup. This little hack restricts | |
# it to once a day. It should be pasted into your own completion file. | |
# | |
# The globbing is a little complicated here: | |
# - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct. | |
# - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error) | |
# - '.' matches "regular files" | |
# - 'mh+24' matches files (or directories or whatever) that are older than 24 hours. | |
autoload -Uz compinit |
// ==UserScript== | |
// @name giveaway.su 验证码输入辅助 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description 自动识别验证码+验证码输入键盘,必须安装 Liana 字体方可正常使用 | |
// @author Stackia | |
// @require https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js | |
// @match https://giveaway.su/giveaway/view/* | |
// @updateURL https://gist.githubusercontent.com/stackia/5e6fc0a3f1196042c1075109dd149825/raw/giveaway_su_captcha_helper.user.js | |
// @downloadURL https://gist.githubusercontent.com/stackia/5e6fc0a3f1196042c1075109dd149825/raw/giveaway_su_captcha_helper.user.js |