How to remove all files from Git LFS quickly.
Prerequisites A Git repo with files stored using Git LFS The BFG Repo Cleaner tool (requires java itself) Have a clean HEAD The BFG is a simpler, faster alternative to git-filter-branch for cleansing bad data out of your Git repository history…
The One-Liner git lfs ls-files –all | awk ‘{split($0,a," - ");l=split(a[2],b,"/"); print b[l]}’ | xargs -d\n -n1 java -jar ../bfg.jar -D && \ git reflog expire –expire=now –all && \ git gc –prune=now –aggressive What’s Happening?
HTTP Strict Transport Security (HSTS) & Preloading
Your 301 HTTP → HTTPS Redirection Isn’t Sufficient Your end-users are still very much susceptible to “man-in-the-middle” attacks which could leave them vulnerable to phishing and eavesdropping (we’re looking at you NSA) attempts. The issue lies within how browsers handle requests that don’t explicity contain a scheme like “https://” — most default to “http://”.
When your browser sends a HTTP request to a site that returns a 301 redirection header, the end-user is still connecting to you – even if for just a second – over an unsecured channel.
Hello, World!
NOTE:
This blog post is insanely outdated. =)
Come One, Come All I’d like to welcome you – the reader – to my blog. This is going to be the breeding ground for practically anything, but with a slight focus on programming related content.
A Bit About Me My name is David Jenkins and I currently work over at Bold Media Group. To sum it up, we do lead generation and aggregation for various insurance companies.