Skip to content

Instantly share code, notes, and snippets.

View nilusr's full-sized avatar
:octocat:
the more you do, the more you can do

k nilusr

:octocat:
the more you do, the more you can do
  • 23:29 (UTC -07:00)
View GitHub Profile
@nilusr
nilusr / jq-cheetsheet.md
Created November 29, 2022 14:08 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@nilusr
nilusr / How to setup GPG for git.md
Created August 23, 2022 06:26 — forked from johnwgillis/How to setup GPG for git.md
How to setup GPG for signing commits with Git, SourceTree, and GitHub on Mac

How to setup GPG for signing commits with Git, SourceTree, and GitHub on Mac

  1. Install GPG tools
    1. Install GPG tools and setup pin entry by running:
    brew install gnupg pinentry-mac
    mkdir -m 700 -p ~/.gnupg
    echo "pinentry-program /usr/local/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
    killall gpg-agent
    
@nilusr
nilusr / proxy_for_terminal.md
Created September 29, 2020 09:31 — forked from fearblackcat/proxy_for_terminal.md
Set proxy for terminal on mac

Shadowsocks Proxy

apt-get install python-pip
pip install shadowsocks

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
@nilusr
nilusr / keybase.md
Last active September 12, 2019 03:21

Keybase proof

I hereby claim:

  • I am pejiang on github.
  • I am pijiang (https://keybase.io/pijiang) on keybase.
  • I have a public key ASCpPOe9WuYM7D706MpNRxe-o3zd1YhJ__ucTXNUHym2uwo

To claim this, I am signing this object: