Out of switch ports today on my Ubiquiti Flex Mini switch. Luckly, Linux networking ethernet-to-ethernet bridge has saved the day for me by connecting an extra workstation to my home lab setup 🫡.
Finally, I have moved to #OpenWrt. It seems my old WiFi router had more functions that I had initially thought of. Thanks to new life OpenWrt, VLANs and IPTABLEs.
I have been using CentOS 8 Stream for about 3 years now and I never realized the power of "streams" until today when I stumbled upon a module stream by accident! #WebDeveloper#WebDevelopmentKE
Getting comfortable with advanced #vim usage😎by using sessions, tabs, color schemes, colorcolumn and in vim shell commands👨💻. #webDevelopmentKE, #webDeveloper
I log on twitter and see "Diani" as trending. Peeking in, I can not seriously see why "Diani" should be trending. People have hijacked the name and are busy selling their wares. This makes twitter algorithm very predictable. Could @twitter work on a quality update like Google?
I’ve just completed the Mobile SEO course with Greg Gifford. Now taking part in a #GregGiffordRaffle. Hoping to win a free online consultation with him. Get in! semrush.com/academy/courses/…
Playing around with #reactjs. Learning by practical doing beats it to learning by just reading - A shortcut to learning tech very fast #whatInspiresMe.
Actively putting off a task to attend to another urgent task is some kind of profitable procrastination - Actively procrastinating. #workFriday#whatInspiresMe
#Kenyans from my simple maths, I just found out that @kplc prepaid charges when buying electricity tokens is 40% and the token amount 60%. Electricity cost is very expensive despite clean renewable sources we pride ourselves in in new currency notes.
Code burn out happens. When unmotivated to code how the time is used matters a lot. Sometimes I read a tech book or try some UI basics using flexbox and CSS grid. It works effectively and soon motivation to code resumes and I get work done #FridayThoughts
JavaScript parseInt() is very handy when sanitizing form data.
Ex.
let secs = $('#secs').val();
secs = isNaN(parseInt(secs)) ? 0 : parseInt(secs);
...
Without it, JavaScript concatenates variables as strings instead of actual addition and brings about logical bugs, heh heh.