Saturday, August 18, 2018

Free https

Does your browser saying that your website is insecure make you sad? But you don't have the funds to buy a certified ssl cert makes you even sadder? Well... fret not because now there is a solution for YOU....

Check out https://letsencrypt.org/

It's free, yes, free as in free teh tarik kind of free...

And from there, you can find the link for the client, certbot... https://certbot.eff.org/

Just choose your web server, your server os... and follow the instructions.. it even detects all the domain name you have configured for your server.. awesome easy...

So.. don't be sad... be secure... let's encrypt...

Thursday, May 10, 2018

The new Malaysia

Alhamdullillah.... yesterday (Wednesday - 9/5/2018) was a historic day for Malaysia. Thousands of malaysians went out early in the morning, braving long queues in the hot Malaysian sun, to cast their votes... and in doing so, cast out Barisan Nasional and installed Pakatan Harapan as the ruling party of Malaysia. Barisan Nasional who have been ruling over Malaysia ever since its' independence until yesterday. Today, insyaAllah, Tun Mahathir will be sworn in as the 7th Prime Minister of Malaysia. The man who rules over Malaysia for most of my life as the 4th Prime Minister will once again take over the mantel of power. InsyaAllah to do good and make amends with regards to all the bad things and precedence he has done before. The story arc of him and the champion of the people (Anwar Ibrahim) has been long and worthy of a it's own trilogy. Hopefully now we can finally see its' grand conclusion where the truth is finally revealed, justice is finally served, and the people of Malaysia can finally hold their heads up high and be proud of their leaders.

Me myself... I am hopeful. With the dawn of a new era, where the people of Malaysia is woke and aware, we could be seeing a whole new chapter in the lives of ordinary Malaysians. We have changed something that was before this seems unchangeable, maybe after this we could even change ourselves. To be better citizens of the world and ultimately make it a better place.

As for everything else... there is a time and place for it...

Thank you fellow Malaysians who voted for change... we have done it.
But our journey does not end here. We have to remain vigilant and make sure what happened to Barisan Nasional does not happen to Pakatan Harapan. Do not raise our leaders to the point where we cannot question them and they do as they please. We must hold them accountable for their actions and promises. And more importantly, that they always remain just and fair to all Malaysians, regardless of race, religion, wealth or status. And that once they do not deliver, we change them again. To serve the people.

To the future....

Monday, April 30, 2018

Firefox magnet links

Done a clean install on my laptop and suddenly firefox doesn't open magnet links anymore. Here's how to enable it again:

1. Open Firefox and type in about:config in the Address Bar and hit Enter. 2. Type in enter handler.expose in the search box at the top of the list. 3. right click - New - Boolean 4. Enter the preference name network.protocol-handler.expose.magnet 5. Set its value to false 6. Click on the magnet link and you should see Firefox’s Launch Application Choose Dialog 7. Select your torrent client.

Got it from here.

Thursday, April 19, 2018

1 Wireless Adapter, 2 Wifi Network

Had an interesting problem today where I have to access 2 separate wifi networks at the same time so that I could use 1 to access the internet, and the other to access the local network that has been set up.

Found some guiding light from here. So some network adapters can actually handle themselves like they are more than 1 adapter. The trick is to create a sort of virtual network adapter. Into the terminal, type:
sudo iw dev wlan0 interface add wlan1 type station

Where wlan0 is the current device name of the wireless adapter. wlan1 is the new virtual adapter. You might find that you still can't connect because the mac address of the new adapter would still be the same as the original adapter. Change the mac address by typing:
sudo ip link set dev wlan1 address 

After changing the mac address, I had to switch off and on again the network adapter before it actually worked. And by golly it actually works.

Is Blogging No Longer a Thing?

As I embark on my new journey to learn the Rust programming language, I find myself pondering—where have all the blogs gone? In search of pr...