Why is the Win32 API so separated from the C runtime (e.g. kernel32.dll provides ZeroMemory instead of memset)? Is it because Pascal's popularity early on meant that Microsoft didn't want to tie early versions of Windows to C?
people sometimes ask me "julia, have you ever written a comic about X?". I have a search page where you can search (almost) all my comics: https://t.co/GG2PuZbxeg
it's just by title, not full text search yet
@mrclay_org @jpetazzo Thank-you. I had solved all my issues I listed, but I was letting the OP know what problems were not evident from a first pass of trying out Docker.
Collection of Cheat Sheets:
Linux Commands, Networking Tools, Hacking Tools, Docker, Kubernetes, AWS etc.
#Linux#infosec#DevOps#cheatsheet
A Thread. (Will continue to add more)
@jpetazzo If I have an application in a Docker container, how do I run it from the host environment in order to process data which is also in the host environment? What's the syntax? How does the container gain access to host data?
@jpetazzo Also, do you need to be in the same directory of a Dockerfile to run a container that has all ready been built? What's the difference between Dockerfile and docker-compose? Why would I use docker-compose?
@jpetazzo With Docker it was how to get a shell inside the container? Why was it just stopping as soon as it started? And how can a Docker container interact with my local file system? How can Docker be run as a shell script?
Facebook is down this morning, apparently due to a BGP problem.
What's BGP? It's an absolutely essential but fairly obscure internet protocol. I have a CS degree, but I only know about it because I did a summer internship with @Akamai a very long time ago.
A brief explainer:
@tony_bridges_el@cybergibbons I secure my seat with a bicycle chain and my wheels with anti-theft skewers. Last time a thief went after my bicycle, he only managed to cut off my bicycle light, and he slashed a tire in frustration.
Handy pattern I enjoy: Clone the repo twice.
This way, I can have two local copies, pointed to different branches.
I find this is useful when I need to reference or review code in a different branch. I don't have to commit/stash my work-in-progress to do so. 😎
Most people who make fun of eating tide pods
- Eat zero tide pods
- Have never prepared a tide pod meal
- Have never met tide pod chefs
- Have never puked up a tide pod
- Aren't "tide pod connoisseurs"
- Have won no tide pod eating contests
- Missed out on drinking bleach
Any good books or articles on Hashicorp Vault? I'm specifically looking for how things get boot strapped in a deployment. How to automatically unlock in a secure manner? I have a chicken and egg feeling.
In Terraform, if you'd like to set a string in a Docker container with line breaks you need to use "bash -e" and wrap the string in single quotes. #Terraform#DevOps#bash#Linux
You may even inject variables such as: ${var.secret} inside the command string, and Terraform will pull the variable into the shell of the local-exec. It feels magical once you figure it out.