Dodgy Website Visitors

I am seeing an unusually large number of hits on two of my websites from Russian Federation & the Ukraine this month. One specific IP in the Ukraine hit rosrants.com site over 1,200 times in one day, some lad called Igor. I CAN SEE YOU! There’s nothing for you here anyway, and nothing of interest…

Read more Dodgy Website Visitors

CSS @media Queries With Orientation Example

Like the title says. For your reference, an example set of media queries conforming to Bootstrap 3’s width breakpoints. Here is the example. EXAMPLE CODE HERE. Check the code, and play with the width and height of your viewport to see where the queries reach. Notes On The Example This example is mobile first like your…

Read more CSS @media Queries With Orientation Example

Make Firefox Smaller / Zoom Out / More Compact

If you use Firefox and can not find that perfect compact theme, fear not, we can easily just change the size of everything! In address bar go to about:config. Search in there for the setting layout.css.devPixelsPerPx. For default size set it to -1.0 or 1.0. I usually set mine around 0.9 to 0.95 for slightly…

Read more Make Firefox Smaller / Zoom Out / More Compact

Doogee Leo DG280 root

After a lot of searching and trying various things I found an incredibly easy method to root my new Doogoo Leo DG280 phone. It is an Android 5.0 r15 version by the way. Simply follow the link (http://www.kingroot.net/) and download & run the APK file. Simple as. Do not be frightened by the Chinese website,…

Read more Doogee Leo DG280 root

Javascript Static Variable / Closure

Still having fun with this mad JS stuff! var alt = (function(){     var hide = false;     return function() { return (hide = !hide); } })(); All you have is functions, but they are made so powerful! “var hide” is an example of an equivalent of a static type variable in C/C++/Java/etc., but it is…

Read more Javascript Static Variable / Closure

JavaScript 101

I have been learning proper, plain old JavaScript. Warts and all. Here is my first program of a simple calculator: (http://rosrants.com/calculator.html) Oh, I have been dabbling with Bootstrap as well for the visuals. More to follow…