Skip to content

Instantly share code, notes, and snippets.

View navio's full-sized avatar
🎯
Focusing

Alberto Navarro navio

🎯
Focusing
View GitHub Profile
@navio
navio / ProxyEngine.js
Last active August 10, 2020 15:23
Browser Proxy - Overwriting Fetch / XMLHTTPRequest
function ProxyEngine(initialRules = []) {
const storedRules = JSON.parse((localStorage.getItem(keyStorage) || '[]'));
const rules = new Map([...initialRules, ...storedRules]);
const matchRules = (url,response) => {
const element = [...rules.keys()].find((rule) => url.indexOf(rule) > 1);
if (element){
const rule = rules.get(element);
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 13, 2025 13:48
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: