Adsense Responsive Ads Not Displaying — Fix

Google’s Adsense came out with a responsive ad fairly recently. It’s a neat idea where ads respond to the space they are given. This allows Adsense to create responsive ads that fit onto the device screen of the user. It also allows website owners to hide ads at times. The problem is, the responsive ads…

Read More

I Tried Switching From Vim To VS Code…

Vim with plugins is a popular IDE option. The reason most people stay away from Vim is the steep learning curve. Most of Vim’s power comes from all the key bindings you have to learn. Just saving and exiting a file can be a daunting task for someone who have never used the text editor…

Read More

Nginx Responding To All Domain Names

The first server listing in the nginx configuration will be the default action for all domain name requests to that server. This will be true unless a server action is labeled default_server. This means that the server might render a website for any domain name that is requested from nginx. To prevent this behavior you must…

Read More

BGP Path Selection Cheatsheet

BGP uses different metrics to select which path to send data. This is how BGP chooses paths. Attribute Description/Notes Winning Metric Weight local to the router Highest LOCAL_PREF Within the ASN, 100 by default Highest Locally Originated Local paths that are sourced by the network or redistribute commands are preferred over local aggregates that are…

Read More

Vim/Vi Learning Game

Also see this vim maze game. This vim/vi game covers basic movement commands. I highly recommend starting with some basic commands and then just using vim to edit files. As you progress and learn the basics you can begin to add more advances vim commands. Learning vim is a process that should be taken in steps….

Read More

Individual IPv6 Address Regex Generator

Given a valid IPv6 address, this generator returns a regular expression which will match all valid forms of that IPv6 address. This includes compact forms, canonical forms and all other ways of writing the Ipv6 address. An IPv6 address regex is a regular expression pattern used to validate and match IPv6 addresses in text strings….

Read More

An Introduction To BGP Traffic Shaping

Border Gateway Protocol (BGP) is the protocol of the Internet. It is the main external gateway protocol used to connect separate networks to one another. This article provides an easy to understand introduction to BGP and how it is used to shape traffic. It describes how BGP is used to ensure that the Internet is…

Read More