Skip to content

Instantly share code, notes, and snippets.

View navartis's full-sized avatar

Dmitriy Kulakov navartis

View GitHub Profile
@navartis
navartis / generateAccesskey.js
Created August 28, 2023 21:42 — forked from cho0o0/generateAccesskey.js
Generate Outline access key based on Shadowsocks infomation
const generateAccesskey = (method, password, ip, port) => {
const firstPart = btoa(`${method.toLowerCase()}:${password}`)
const secondPart = `${ip}:${port}`
const accesskey = `ss://${firstPart}@${secondPart}`
return accesskey
}
@navartis
navartis / .lldbinit
Created July 2, 2021 14:43 — forked from floatplane/.lldbinit
Sample .lldbinit
# This file contains commands that LLDB will execute at startup. Drop it in your
# home directory: ~/.lldbinit
# Dump the UIKit view hierarchy
command regex rd 's/[[:space:]]*$/po [[[UIApplication sharedApplication] keyWindow] recursiveDescription]/' 's/.+$/po [%1 recursiveDescription]/'
# Try not to step into uninteresting library code. Needs some work.
settings set target.process.thread.step-avoid-regexp ^(std::(!function)|boost::shared_ptr)
# https://github.com/facebook/chisel