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 / pyscript.py
Created February 7, 2021 09:38 — forked from nhoffman/pyscript.py
Python script template
#!/usr/bin/env python3
"""A simple python script template.
"""
import os
import sys
import argparse
@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 / 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 / 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