This file contains hidden or 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
// /Users/qianlifeng/Library/KeyBindings/DefaultKeyBinding.dict | |
// Actions: http://xahlee.info/kbd/osx_keybinding_action_code.html | |
{ | |
"\UF729" = moveToBeginningOfLine:; // home | |
"\UF72B" = moveToEndOfLine:; // end | |
"$\UF729" = moveToBeginningOfLineAndModifySelection:; // shift-home | |
"$\UF72B" = moveToEndOfLineAndModifySelection:; // shift-end | |
"^a" = selectAll:; // ctrl-A | |
"^v" = paste:; // ctrl-V | |
} |
This file contains hidden or 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
from mitmproxy import flowfilter | |
from mitmproxy import ctx | |
class Intercept: | |
def response(self, flow): | |
if flow.request.url == "https://www.zbg.com/exchange/fund/controller/website/fundwebsitecontroller/getpayoutcoinrecord": | |
flow.response.text = r'xxxxxx' | |
addons = [ |
This file contains hidden or 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
ssh -C -f -N -R 3304:192.168.8.4:3306 test.fcgylapp.cn |
This file contains hidden or 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
#-- base settings --# | |
set -g default-terminal "screen-256color" | |
set -g display-time 3000 | |
set -g escape-time 0 | |
set -g history-limit 65535 | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
# modify prefix to activate tmux | |
set-option -g prefix C-a |
This file contains hidden or 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains hidden or 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
char | male | female | |
---|---|---|---|
明 | 378860 | 63221 | |
伟 | 378757 | 51232 | |
军 | 378096 | 29518 | |
建 | 366515 | 51477 | |
华 | 344928 | 174529 | |
文 | 314939 | 114048 | |
国 | 314608 | 29055 | |
志 | 299132 | 39621 | |
海 | 276918 | 87270 |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace Bayes | |
{ | |
public class Bayes |
This file contains hidden or 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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:bbab319b0472de839782b6df92a37a980cdfda7bbc5509b75aa268785be28fa8" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
This file contains hidden or 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
## ALLTHEVHOSTS.py | |
## A quick little webscraper to identify all the webapps associated with an IP address. | |
# | |
# Version 1.0 | |
# | |
## Usage allthevhosts.py <ip or URL> <outputfile (optional)> | |
import urllib2 | |
import sys | |
import re |
NewerOlder