For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| [color] | |
| ui = auto | |
| [color "branch"] | |
| current = yellow reverse | |
| local = yellow | |
| remote = green | |
| [color "diff"] | |
| meta = yellow bold | |
| frag = magenta bold | |
| old = red bold |
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
| # Source: https://stackoverflow.com/a/43317244 | |
| $path = ".\aws-ec2-key.pem" | |
| # Reset to remove explict permissions | |
| icacls.exe $path /reset | |
| # Give current user explicit read-permission | |
| icacls.exe $path /GRANT:R "$($env:USERNAME):(R)" | |
| # Disable inheritance and remove inherited permissions | |
| icacls.exe $path /inheritance:r |
| $path = ".\.vagrant\machines\default\hyperv\private_key" | |
| icacls.exe $path /reset | |
| icacls.exe $path /GRANT:R "$($env:USERNAME):(R)" | |
| icacls.exe $path /inheritance:r |
| # I recently had to try to update the TZDB of a JDK installation where I could not install lzip | |
| # from any registered package repository and trying to compile lzip from source was failing. | |
| # I discovered that as an alternative to using the tzdb-latest.tar.lz file I could just use both | |
| # the tzcode-latest.tar.gz and the tzdata-latest.tar.gz to generate the needed rearguard tarballs. | |
| # These instructions have been updated to no longer rely on lzip since it's not available out of | |
| # the box in many environments. | |
| # SHORTCUT ALERT: If you don't want to go through the whole process to build the rearguard tarball | |
| # or use the ziupdater tool to generate and install a tzdb.dat file you can always just download | |
| # the latest tar.gz and tzdb.dat files from a repo I created that automatically builds new TZDB |