Once in a while, when working with Jinja templating engine, you might need to create a random Bit Set with Jinja. Some might also call it a Binary Flag Set.
Basically, this will be a binary number (for example
10110) where each digit (bit) represents whether something is on/enabled/present or off.
In some systems, this binary number is actually stored as a base 10 integer. So
Continue reading Create a Random Bit Set with Jinja
10110 will be stored as
Once in a while, when working with Jinja templating engine, you might need to create a random GUID with Jinja.
Continue reading Create Random GUID with Jinja
I’m currently working on a new website best-vegetarian.com that will help you find the best vegetarian restaurants in your area.
If you would like to hear when it’s launched please register —>
Continue reading best-vegetarian.com is coming…
Are you running out of Google Drive storage but don’t want to actually pay for Google One, here is how to get Google One for free.
Technically it still costs money, but there is a way to actually let Google pay you to pay the monthly fees for Google One.
Continue reading Get Google One for FREE on Android and iPhone
Joshua Fields Millburn & Ryan Nicodemus discuss living a meaningful life with less. With more than 100 million downloads, The Minimalists Podcast is one of the most popular podcasts in the world.
Here are the Top 5 books mentioned on The Minimalists podcast (excluding the books authored by Joshua and Ryan themselves).
Continue reading Top 5 books mentioned on The Minimalists podcast
Here is how you can format Scrapy export of your items
For all of these options make sure that your spider actually yields some results in your
Continue reading Format Scrapy Export
I’ve recently dipped my toes into Splunk Eventgen (Jinja templating). It’s an awesome app that allows you to generate sample events that can be ingested by Splunk (or for any other reason).
EventGen has two ways of configuring the event content generation:
- Traditional – where you specify a sample file and provide regexes that will be used to replace static content in the sample file with the required values
- Jinja Templating – where you use Jinja templating engine to create the events.
While the traditional way is quite straightforward, the event’s format that I was after had a few nuances that made it not suitable for me, thus I had to fiddle with Splunk Eventgen Jinja templating.
Continue reading Splunk Eventgen Jinja templating
Trying to figure out what this NFT thingy is, so created a Time to Sleep and Recharge NFT.
Continue reading Time to Sleep and Recharge
Sometimes you work in environments where yum (or another package manager is not available), and you are expected to provide an offline installation of a product. In one case I had to provide a syslog-ng offline installation for CentOS
Continue reading syslog-ng offline installation for CentOS/RHEL
Recently Google has announced that Workspaces will be paid if you want to be able to use the email function of workspaces. So I was looking for some free alternatives and stumbled upon Zoho Mail. I will show you step-by-step how to set up Zoho Mail with your own domain.
Psst! Need a new domain? Try Namecheap
Continue reading How to set up Zoho Mail with your own domain