When images are the content that drives your site and you want to display them as big as possible for your users, make sure to scale them appropriately. A lot of sites have images as THE content, like photography blogs or fashion and lifestyle blogs.
What I usually enjoy most is when a site doesn’t tell me how to view the images, but just makes use of the scroll in the browser, just have them in a long column. The challenge with that is that you need to scale images differently when viewed on a vertical device such as a tablet or smart phone.
Continue reading “WebDesign: Scaling Images for the Viewport / Screen”
When I wanted to update my Arch / Antergos mac book before travelling this morning I was greeted by the following unfriendly message:
error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <firstname.lastname@example.org>" is unknown trust
Continue reading “Antergos-keyring is unknown trust [solved]”
I recently wrote a couple of lines of Go again, mainly to see if I could write a cross platform clone of a two line shell script in Go (which actually makes it like 69 lines, but whatever).
So I wrote
mdclip to compile a file from markdown to HTML and put it in my clipboard (so I can paste it into my WordPress editor). Now you could scroll down to the comment box and go like
Continue reading “Golang and the Clipboard (mdclip)”
If you’re curious to try out Visual Studio Code, but you’re still looking for the syntax theme that looks just perfect to you, have a look at this post, maybe I’ve come across the one you’ll love (because of course I need to
catch try them all!).
Visual Studio code has piled up quite the respectable collection of syntax themes so far and some surprisingly good ones ship directly with the editor.
Continue reading “Best (dark) Visual Studio Code Syntax Themes”
I’m trying Visual Studio Code at the moment and it’s a fun and fast atom alternative. One of my early annoyances was that I could not figure out how to make my MarkDown files wrap at the desired column width.
The trick apparently is to define the following settings:
Continue reading “How to keep Soft Line Wrap at Column width Visual Studio Code and MarkDown”
One of the most powerful advice I’ve ever received (read on a blog) regarding programming is to scratch your own itch. Some call it dogfooding, build something you need and use it. You’ll learn much more about what you did and how you were wrong.
Learning how you were wrong 5 minutes ago, 8 hours in a row, is a good lesson in humility. I’ve witnessed people turn very frustrated, angry, at the authors of a framework or everyone else or completely lose faith in their mental abilities when those lessons were particularly hard.
Continue reading “Keep Humiliating Yourself (How to become better at X)”
A default limit to image files like .jpg, .png and similar causes Gnome Desktops not to generate image previews for them on Linux. If an image is larger than 10 MB, no preview will be displayed, but the default image icon. Here’s how to fix it:
Continue reading “Nautilus / Nemo: Missing Image Previews on Linux [SOLVED]”
Writing your own tools and scripts is always a very satisfying thing. You take something that used to take a long time and then you automate it.
Continue reading “Image Resizing with Gulp”
If you’re looking for alternatives to Google Adsense, you’re not the only one. Luckily there are a couple of different services out there. Some of them are shady, some of them are extremely invasive of your users experience. I’ve tried out Infolinks, read more of my experience below!
Continue reading “Adsense Alternative: Infolinks”
In this Moment is for me one of the best female vocal metal bands. Maybe I should call this series: METAL Monday, but well, I’m only on a spree of 2, right?
The voice of the band is Maria Brink, may take some getting used to, but again there is no growling and not a lot of screaming. She turns the bands lyrics into powerful and energetic or melancholic tracks, backed up by hard drums and some abrupt guitar riffs. Overall some tracks are a bit more nails on the chalkboard, but a bit more easy listening and less grim than bands like the Nine Inch Nails.
Continue reading “Music Monday: In This Moment”