Skip to content

Instantly share code, notes, and snippets.

View abdullahkhilji's full-sized avatar
🦋
Complexity has nothing to do with intelligence, simplicity does.

Abdullah Khilji abdullahkhilji

🦋
Complexity has nothing to do with intelligence, simplicity does.
View GitHub Profile
@abdullahkhilji
abdullahkhilji / mac-apps.md
Created December 26, 2018 17:30 — forked from erikreagan/mac-apps.md
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik

Keybase proof

I hereby claim:

  • I am abdullahkhilji on github.
  • I am abdullahkhilji (https://keybase.io/abdullahkhilji) on keybase.
  • I have a public key ASAenzTjBBUz_rLmSTTSz7w-ynxTw_gxji377kLU2oN2Ngo

To claim this, I am signing this object:

@abdullahkhilji
abdullahkhilji / gist:0064a937b8aba9eb2d69667ff334d8db
Created May 31, 2019 04:57 — forked from daicham/gist:10253947
SSH config for connecting to github and bitbucket over proxy
ProxyCommand "C:\Program Files\git\bin\connect.exe" -H proxy.example.com:8080 %h %p
Host github.com
HostName ssh.github.com
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
Host bitbucket.org
HostName altssh.bitbucket.org
Port 443
IdentityFile C:\Users\hoge\.ssh\id_rsa
@abdullahkhilji
abdullahkhilji / config
Created May 31, 2019 04:59
vi ~/.ssh/config --- SSH config file for PROXY connections for GitHub, GitLab and BitBucket
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
PreferredAuthentications publickey
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
User git
Port 443
Host gitlab.com
@abdullahkhilji
abdullahkhilji / config
Created October 19, 2019 09:10
~/.ssh/config
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
IdentityFile ~/.ssh/id_rsa
User git
Port 443
proxycommand socat - PROXY:172.16.199.20:%h:%p,proxyport=8080,proxyauth=user:pwd
@abdullahkhilji
abdullahkhilji / Documentation.md
Created October 26, 2019 09:12 — forked from KartikTalwar/Documentation.md
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs
@abdullahkhilji
abdullahkhilji / proxy_config
Created December 5, 2019 13:13
config ssh proxy
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
PreferredAuthentications publickey
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
User git
Port 443
proxycommand socat - PROXY:127.0.0.1:%h:%p,proxyport=8080
@abdullahkhilji
abdullahkhilji / config
Created February 21, 2020 08:15
proxy_config_ubuntu
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
IdentityFile ~/.ssh/id_rsa
User git
Port 443
proxycommand socat - PROXY:172.16.199.20:%h:%p,proxyport=8080,proxyauth=user:pwd
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
IdentityFile ~/.ssh/id_rsa
User git
Port 443
proxycommand socat - PROXY:172.16.199.20:%h:%p,proxyport=8080
Host gitlab.com
@abdullahkhilji
abdullahkhilji / config
Created August 30, 2020 15:48
SSH config without proxy at ~/.ssh/config
Host github.com
AddKeysToAgent yes
Hostname ssh.github.com
PreferredAuthentications publickey
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
User git
Port 443
Host gitlab.com