Published in Towards Dev·Jul 30Member-onlyHow to add emojis to your GitHub README and other markdown filesDid you know that you can easily add a variety of emojis to your README, CHANGELOG, and other markdown (.md) files? You don’t even have to use an emoji keyboard or copy and paste from somewhere. I’ll first give some examples. Want to add a 😃 to your .md file…Software Development2 min read
Published in Dev Genius·Jul 29Member-onlyHow to List Only Certain File Extensions with the ls Command in LinuxThe ls command is one of the most fundamental commands that you’ll use when using the Linux terminal. If you’re not familiar with it, it’s a command that you’re going to use all the time when you want to see the contents of a directory, whether that be subdirectories or…Coding3 min read
Published in Dev Genius·Jul 27Member-onlySearch Everywhere and Everything by Pressing Space Twice in IntelliJ IDEAThis one trick can save you hundreds of hours throughout the course of your programming. Sure, that sounds like the text on an invasive advertisement on your favorite website, but honestly, at least in my case, it’s shaping up to be true. Limiting the usage of your mouse while you’re…Programming3 min read
Published in Dev Genius·Jul 27Member-onlyThere’s a secret Buildkite URL for better visualizing your build stepsBuildkite is a wonderful platform for you to “run fast, secure, and scalable continuous integration pipelines on your own infrastructure,” according to its own website and also according to me, who has been using it in production for over a year. In addition to the above advantages, one of the…Programming3 min read
Published in Towards Dev·Jul 26Member-onlyHow to use kubectl to get Kubernetes resources (manifests) as JSONIf you’re reading this, then you probably know what kubectl is, and you probably know what kubectl get does. …But if you don’t, kubectl is a Kubernetes command-line tool that allows you to run various commands against Kubernetes clusters. …Programming2 min read
Published in Towards Dev·Jul 21Member-onlyHow to undo a git add on a file or directory before pushing to a branchUh oh. You did a git add on a file or directory before you committed and pushed to a branch. It shows up as green (most likely, but I know some of you have some whacky terminal themes), and the simple fact of the matter is that you just don’t…Git2 min read
Published in Towards Dev·Jul 19Member-onlyHow to check what version of Python you’re usingIt’s a somewhat common thing to check what version of Python that your system is using. You may want to know, for example, if you’re using Python 2 or 3. There’s a pretty fundamental difference there, so it’s important to know and be able to check. Even within that, you…Python2 min read
Jul 15Member-onlyWho first created and drew the Golang gopher?If you’ve used Golang or have at least heard of it, then you’ve very likely seen this little creature around: This mascot is virtually synonymous with the actual programming language, and it’s probably the best animal mascot for something in software engineering since the Linux penguin, Tux:Software Development4 min read
Published in Towards Dev·Jul 13Member-onlyCount how many commits there are in your Git branch with this commandCurious how many commits your branch has? One way of doing this is to go into your UI, whether that be Gitlab, Github, Bitbucket, or some other Git provider, and navigate to find out how many commits there are for your branch. If you want a different and arguable quicker…Programming3 min read
Published in An Idea (by Ingenious Piece)·Jul 13Member-onlyWhat does set -e mean in a Bash script?If you’ve seen Bash scripts before, you might have come across set -e. It could look a little something like this: #!/bin/bash set -e city="Hawkins" state="Indiana" echo "I live in $city, $state." What does that even mean? Well, first of all, let’s go over set. set is a command that…Tech2 min read