Skip to content

Instantly share code, notes, and snippets.

@CodeingBoy
CodeingBoy / ij-helper.ahk
Created April 17, 2019 03:43
An AHK script helping you manipulate JetBrains IDE popup window with j and k
#If WinExist("ahk_class SunAwtWindow") and (WinExist("ahk_exe idea64.exe") or WinExist("ahk_exe pycharm64.exe") or WinExist("ahk_exe datagrip64.exe") or WinExist("ahk_exe webstorm64.exe") or WinExist("ahk_exe phpstorm64.exe") or WinExist("ahk_exe goland64.exe") or WinExist("ahk_exe clion64.exe"))
j::
ControlSend ,, {Down}, ahk_class SunAwtWindow,,,
return
k::
ControlSend ,, {Up}, ahk_class SunAwtWindow,,,oi
return
^j::
110000, 北京市
110101, 北京市东城区
110102, 北京市西城区
110105, 北京市朝阳区
110106, 北京市丰台区
110107, 北京市石景山区
110108, 北京市海淀区
110109, 北京市门头沟区
110111, 北京市房山区
110112, 北京市通州区
@CodeingBoy
CodeingBoy / ss-libev-2.5.4_att.py
Created July 20, 2017 08:08
Shadowsocks-libev attack
#!/usr/bin/env python
#-*- coding: utf-8 -*-
'''
Copyleft (c) 2016 breakwa11
https://github.com/breakwa11/shadowsocks-rss
'''
import logging
import socket