You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
☕
Jake Shaw
codejake
☕
I am a network engineer, programmer, security engineer, and devops guy. Mostly private repos.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Differentiation is Survival and the Universe Wants You to be Typical" by Jeff Bezos
This is my last annual shareholder letter as the CEO of Amazon, and I have one last thing of utmost importance I feel compelled to teach. I hope all Amazonians take it to heart.
Here is a passage from Richard Dawkins' (extraordinary) book The Blind Watchmaker. It's about a basic fact of biology.
>"Staving off death is a thing that you have to work at. Left to itself - and that is what it is when it dies - the body tends to revert to a state of equilibrium with its environment. If you measure some quantity such as the temperature, the acidity, the water content or the electrical potential in a living body, you will typically find that it is markedly different from the corresponding measure in the surroundings. Our bodies, for instance, are usually hotter than our surroundings, and in cold climates they have to work hard to maintain the differential. When we die the work stops, the temperature differential starts to dis
Agency is your ability to shape circumstances instead of being shaped by them.
Most people live their entire lives as spectators. They watch others build companies, create movements, and change history. They attribute success to luck, timing, or privilege. This is a comforting illusion that protects their ego.
The truth is simpler and harder to accept: agency is a choice.
Every billionaire, world-changer, and history-maker made this choice. They decided they wouldn't accept the world as given. They would bend reality instead. This isn't mystical — it's mechanical. You either believe your actions matter or you don't.
The education system trains this out of us deliberately. It rewards compliance and punishes initiative. School teaches you to ask for permission. Life rewards those who act without it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In the summer of 2013 I’m in the town of Luton, England, researching the terrorist network, al-Muhajiroun. While scouting the area, I see a stall at which known al-Muhajiroun members are handing out leaflets. Seeing an opportunity to gain valuable information on the group, I approach them.
One of the jihadists introduces himself, and hands me a leaflet detailing Assad’s war crimes against Sunni Muslims in Syria. He asks if I’m Muslim and, in order to not be dismissed by him, I claim I am. We get talking about Syria, and I nod in feigned agreement. But the more he talks, the more he gets the facts wrong, and I begin to develop an uncontrollable urge to correct him. When he says “The West has never helped our brothers and sisters when we needed it,” the urge within me becomes overwhelming, and I blurt out, “What about Kosovo? NATO saved many Muslims there.” The jihadist glares at me. Then his ey
Here you go. This Python script reads a CSV file. If you need additional learnin', get in touch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipx is a tool for installing and running Python applications in isolated environments. It's especially useful for Python-based tools and scripts that are intended to be run from the command line, rather than imported into other Python code. By using pipx, you can install applications and their dependencies in isolated environments, avoiding conflicts between packages and ensuring that each application has the specific versions of libraries it requires.
Installation
macOS
Install using brew install pipx or manually, using: python -m pip install --user pipx.
Afterwards, run pipx ensurepath to ensure that pipx in is your PATH.