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
-- load spoons | |
logger = hs.logger.new("Roger", "debug") | |
logger.i("load hammerspoon config") | |
function currentSSID() | |
ssid = hs.wifi.currentNetwork() | |
if ssid == nil then | |
return "" | |
else |
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
" alias ga to url chrome://apps | |
map ga :tabnew chrome://apps<CR> | |
map gw :tabnew https://chrome.google.com/webstore/category/extensions<CR> | |
let nextmatchpattern = "((?!first)(next|more|>|›|»|forward|后页|下一页)+)" | |
let previousmatchpattern = "((?!last)(prev(ious)?|newer|back|«|less|<|‹|前页|上一页)+)" | |
let barposition = "bottom" | |
set scalehints |
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 -*- | |
from __future__ import print_function | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
def create_proxyauth_extension(proxy_host, proxy_port, |
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 org.apache.maven.shared.dependency.analyzer.ClassAnalyzer | |
import org.apache.maven.shared.dependency.analyzer.DefaultClassAnalyzer | |
import org.apache.maven.shared.dependency.analyzer.DependencyAnalyzer | |
import org.apache.maven.shared.dependency.analyzer.ProjectDependencyAnalysis | |
import org.apache.maven.shared.dependency.analyzer.asm.ASMDependencyAnalyzer | |
buildscript { | |
repositories { | |
mavenCentral() |