Skip to content

Instantly share code, notes, and snippets.

View oceanyeo's full-sized avatar

Ocean Yang oceanyeo

View GitHub Profile
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
@szktty
szktty / clockwork-base32.md
Last active March 4, 2024 04:35
Clockwork Base32: A variant of Base32 inspired by Crockford's Base32
@thomaswilley
thomaswilley / gist:ffcdb83c21c782cbab8a18d6134f87d7
Last active November 26, 2022 15:20
Compile samba on osx
$ git clone https://git.samba.org/samba.git
$ brew install jansson
$ brew install readline && brew link --force readline
$ cpan # then w/in cpan install Parse::Yapp module (might be 'install Term::Parse::Yapp')
$ brew intsall libarchive
$ export LDFLAGS="-L/usr/local/opt/libarchive/lib"
$ export CPPFLAGS="-I/usr/local/opt/libarchive/include"
$ ./configure --prefix=/opt/samba --without-ad-dc --without-acl-support
@jakeajames
jakeajames / patch.sh
Last active April 5, 2024 13:42
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f $1 ]; then
echo "'$1' does not exist"
exit 1
fi
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 16, 2024 17:26 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@mlafeldt
mlafeldt / x.md
Created February 16, 2016 15:48
Providing a Homebrew tap backed by private GitHub repo

First of all, install Homebrew itself.

As the tap is a private Git repo, you need to generate a GitHub token with repo scope and then add this token to your ~/.netrc file like this:

machine github.com
  login <your GitHub user>
  password <your GitHub token>
@evantoli
evantoli / GitConfigHttpProxy.md
Last active April 12, 2024 14:11
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@DomiR
DomiR / Iphone.md
Last active October 22, 2021 00:05
Iphone passwordless ssh

Passwordless SSH

If you have no own key in ~/.ssh/ calld id_rsa.pub then create one:

ssh-keygen -t rsa

Copy the public file to the iphone