Malaysia’s Telecom BGP Leak: Disruption in 2015
Niraeth
by Niraeth
1M ago
Introduction: In 2015, Malaysia experienced a significant internet disruption due to a Border Gateway Protocol (BGP) routing leak by a telecommunications provider. The incident resulted in a portion of global internet traffic being rerouted through Malaysia, causing disruptions to various… The post Malaysia’s Telecom BGP Leak: Disruption in 2015 appeared first on Niraeth ..read more
Visit website
Shadow-DOM and Iframes
Niraeth
by Niraeth
2y ago
Today, I found out about a very weird interaction that varies across modern browsers. Shadow-DOM is used to obscure elements from the parent context. See the example below for what it actually does This also means that an <iframe> inside ..read more
Visit website
Python3 Windows Install PyCrypto module
Niraeth
by Niraeth
2y ago
If you are on Windows, using Python 3, you may face some issues when trying to install the outdated and no-longer-maintained pycrypto module. Here’s how you can fix this. You will need to have Microsoft Visual Studio 14.0, which by ..read more
Visit website
CSS selector compare dates
Niraeth
by Niraeth
2y ago
CSS by default will not allow you to compare dates, and does not support operators like >,<,<=,>= . To do date comparison, you will need to write your own function to process the selector, before deciding on what action to ..read more
Visit website
Mobile Redirect using deeplink
Niraeth
by Niraeth
2y ago
In the past, we could do something like googlechrome://navigate?url=example.com with target set to _blank But it no longer works. Here’s how you can do it using a <a> tag intent:https://example.com#Intent;end ..read more
Visit website
Reset PostgreSQL password in Windows
Niraeth
by Niraeth
2y ago
Go to C:\Program Files\PostgreSQL\9.6\data – replace 9.6 with whatever version your on. This is the default installation path. If you installed your PostgreSQL somewhere else, then change the path accordinglyMake a backup of pg_hba.confOpen and edit pg_hba.confYou will see a ..read more
Visit website
PHP WordPress Reform Shortcode String Inside ‘do_shortcode’
Niraeth
by Niraeth
3y ago
Here is how you can reform the original shortcode string solely based on the $attributes parameter in your do_shortcode function. This is useful if you want to show users examples of your shortcode, without your shortcode, well.. getting converted into… The post PHP WordPress Reform Shortcode String Inside ‘do_shortcode’ appeared first on Niraeth ..read more
Visit website
PHP WordPress Reform Shortcode String Inside ‘do_shortcode’
Niraeth
by Niraeth
4y ago
Here is how you can reform the original shortcode string solely based on the $attributes parameter in your do_shortcode function. This is useful if you want to show users examples of your shortcode, without your shortcode, well.. getting converted into… The post PHP WordPress Reform Shortcode String Inside ‘do_shortcode’ appeared first on Niraeth ..read more
Visit website
HTML Easiest Way To Change Subcategory Options Based On Category Dropdown
Niraeth
by Niraeth
4y ago
I had to deal with this frustrating issue recently in a huge project and it even works for sub-sub-category. You just have to work around the attribute names you give. So you currently have a <select> for your category and… The post HTML Easiest Way To Change Subcategory Options Based On Category Dropdown appeared first on Niraeth ..read more
Visit website
Javascript Create Html Table Based On Key Value Array
Niraeth
by Niraeth
4y ago
No idea why there wasn’t a quick and simple solution out there for me to use, so I just went ahead to create my own. Basically, the use case for this is when you retrieve data from your database, and… The post Javascript Create Html Table Based On Key Value Array appeared first on Niraeth ..read more
Visit website

Follow Niraeth on FeedSpot

Continue with Google
Continue with Apple
OR