Aug 22, 2021 from ~hedy Setting up syntax highlighting for Hugo Hugo uses chroma as its syntax highlighter. All you need for having your code highlighted is to let chroma put the syntax classes in the generated HTML, for the correct language, and then make sure...
Jun 16, 2021 from ~hedy Multiple emails in git for different computers As someone who code on multiple machines to work on different projects, I like to commit with different emails. I don’t know how everyone else handle different emails in .gitconfig and track dotfil...
Jun 15, 2021 from ~hedy On rants about gemini Recently there’ve been some discussions about how Gemini “doesn’t fix anything” on Lobste.rs: Why Gemini is Not My Favorite Internet Protocol Gemini is Useless As well as a few posts related to tha...
Feb 23, 2021 from ~hedy How this site works 2023 Update I started writing this post on 2021, February 23 but I never completed it. So in 2023 I decided to finish up this outstanding post and get it done with. Surprisingly, the content did no...
Dec 30, 2020 from twilweb Find top 10 large files in unix If you want to find and print the top 10 largest files names (not directories) in a particular directory and its sub directories To restrict the search to the present directory use “-maxdepth 1” wi...
Jun 18, 2020 from bearblog Defective by Design: Reflected Attacks on Email Privacy using DMARC Email privacy is dead, confirmed for the umpteenth time. In this post I present the SOILED-PRIVACY attacks (Systemic Online Information Leakage using Email+DMARC against Privacy). These are two ref...
Jun 02, 2020 from bearblog Wayland is Almost There I finally break down and install wayland on my desktop at home, using sway to replace i3. Things go OK, mostly.
May 03, 2020 from Randall Degges The Feature Snowball The “feature snowball”, as I like to call it, is a product and time management technique I’ve been successfully implementing for the last 10 years or so. I’ve used it across many personal projects,...
Apr 07, 2020 from Randall Degges Defensive Finance in a Downturn I live in the bay area of the United States in a suburb of San Francisco. At the time of writing, I’ve been in isolation from the world for roughly 3 weeks, with no clear end in sight. And while th...
Apr 05, 2020 from Randall Degges Don't Waste Time Getting Feedback Time is valuable. In fact, time is the single most valuable thing any of us have. That’s why I think it’s so important not to waste time if you don’t have to. Every second you waste working on some...
Feb 17, 2020 from Randall Degges The Only Type of API Services I'll Use I love API services. It still feels magical each time I query an endpoint and get back some interesting data or cause some complicated functionality to occur. I’ve built my entire career (and hobbi...
Jan 17, 2020 from Randall Degges My Personal Financial Strategy I’ve always been fascinated by money: how people earn it, spend it, and invest it. What fascinates me most about personal finance is how personal it is. Everyone has different goals and desires, an...
Nov 01, 2019 from twilweb CLI and REST API for activemq ActiveMQ provides an easy to use api that can be used to produce or consume messages via commandline. See ActiveMQ site for detailed post. Simple command to post to a queue : curl -XPOST -d "body=<...
Nov 01, 2019 from twilweb SimpleDateFormatter is not thread-safe Having been bitten by this bug multiple times, i am posting a small program that illustrates Thread Safety issues in using SimpleDateFormatter from java . import java.text.ParseException; import ...
Jan 26, 2018 from Randall Degges Please Stop Using Local Storage Seriously. Just stop it already. I don’t know what it is, exactly, that drives so many developers to store session information in local storage, but whatever the reason: the practice needs to die o...
Jan 21, 2018 from Randall Degges How EU Cookie Law Myths Affect Web Security Over the last few years you might have noticed banners like this one popping up on a lot of web pages: These banners are a direct result of the passage of the EU directive, sometimes known as the C...
Jan 03, 2018 from Randall Degges To 30 Billion and Beyond Several years ago I created a free web service, ipify. ipify is a freely available, highly scalable ip address lookup service. When you query its REST API, it returns your public-facing IP address....
Dec 10, 2017 from Randall Degges How to Monetize Your Website with Cryptocurrency Mining I’m a big fan of cryptocurrencies and blockchain technologies. They have a number of interesting applications, one of which I’ll be discussing today: monetizing your websites. Developing and runnin...
Aug 31, 2017 from twilweb Spooling from hive and uncompress You can spool from hive similar to sqlplus using : insert overwrite local directory '/some/local/folder' row format delimited fields terminated by ',' if hive is configured to generate compressed o...
Aug 29, 2017 from Randall Degges Authentication Still Sucks I currently own 47 domain names. I know it sounds like a lot, but that’s down quite a bit from my all-time high of 78 ~two years ago. I’m constantly thinking about fun websites and businesses to bu...