Instructions for getting an ELK stack set up quick on Mac. Paths are opinionated. You'll have to infer and change. Sorry mate. 🍰
Install Homebrew if not already. You probably have. If not, you should.
brew install elasticsearch nginx
Instructions for getting an ELK stack set up quick on Mac. Paths are opinionated. You'll have to infer and change. Sorry mate. 🍰
Install Homebrew if not already. You probably have. If not, you should.
brew install elasticsearch nginx
KSP is delaying the 64-bit windows port for a while, at least past 1.0. The 32-bit Windows KSP version is a bit cramped. You install too many mods and the game will crash. It's hard to work out the balance point. On the KSP forums and on reddit, sometime people suggest switching to Linux. Someone is having problems playing a game and someone basically suggests learning Unix. Then the thread dies.
Linux (even if you've used it for a decade) is hard. Especially getting all the things to work properly. I used three different distros until I got AMD video drivers to work correctly and even now I'm not sure. You can have an easy time installing Linux. Maybe you got lucky on your hardware. Having a bad time in Linux is crazy-pants-party-time. You have to know a lot of commands just to collect information on what is going on.
Try a sprinkle of empathy.
So I wrote down what I did since I'm wiping my Linux partition over and over again. I hope this helps someone. Maybe
What were the first things I typed when installing Linux Mint (or Ubuntu 14.10) on a workstation? A lot of this isn't going to be useful to you. I'm sorry. I hope there are some nuggets in here.
Also, maybe this is a lol, linux desktop hasn't changed in 10 years
.
If dev box or server that eventually might have Ruby on it. RVM will probably take care of this for you. But hey. Maybe you aren't doing Ruby or RVM stuff but I bet you'll be doing XML stuff if this is a dev box.
Guy at coffee shop. I'm playing with my adafruit goggles, trying to make a part list. | |
Guy: What's that. | |
Me: LED Goggles. | |
Guy: Do they let you see in 3D. | |
Me: No. | |
Guy: Do they let you ride your bike at night? | |
Me: They aren't that bright. | |
Guy: Do they let you read better. | |
Me: Actually they sort of blind you. |
Remove old containers.
docker ps -a | grep 'weeks ago' | awk '{print $1}' | \
xargs --no-run-if-empty docker rm
# <<foo doesn't trim leading whitespace. No problem. :cake: | |
<<EOS | |
hi | |
EOS | |
=> " hi\n" | |
# I thought the difference between << and <<- was the leading whitespace trimming. | |
<<-EOS | |
hi | |
EOS |
blog post draft
Get up and running. Install it. I'm sure you know how. But then maybe you are used to mysql>
? Where is the database? How do I even start?
sudo -u postgres -i
- This is your system account that pg runs as. Switch to it and we'll create a sandbox database.createuser name
- Where "name" is your normal user account you use.createdb name -O name
- Where "name" is your normal user account you use.# Python boolean fail | |
# Or how to redefine True and False and win any argument on the internet! | |
# Love, @tlehman | |
from unittest import TestCase | |
class BoolFail(TestCase): | |
def test_false(self): | |
True = False | |
assert True == False |