Blog Archives

Get dtrace and iotop back on Mac OS X

Security in versions of OS X has been updated with the no-root theme with System Integrity Protection. Unfortunately that also includes dtrace and commands like iotop that rely on it. One can reboot a Mac into recovery mode and fix

Tagged with: , , , , ,
Posted in Apple, Debugging, Macintosh, OS, OS X 10.10 Yosemite, OS X 10.9 Mavericks, Programming, Uncategorized

Firefox follows Microsoft Edge: adds -webkit- prefixes

[ View All Firefox CSS Hacks ] These are my legal CSS Hacks for fixing web browser quirks or outright bugs. Please enjoy, I have been working on them for years. May it help you if you need them. Please

Posted in Chrome, Chrome 28, Chrome-All, Cool Code, CSS, CSS Hacks, Edge, Edge-All, Firefox, Firefox 22, Firefox-All, Hacks, Microsoft, Programming, Safari, Safari 9, Safari-All, Software, Spartan, Spartan-All, Uncategorized, Web, Web Browser, Web Browsers

JavaScript window.close() workaround method that works

NOTE: This script has 1 requirement that the page to be closed cannot be the original page. It must be opened as a new window. If you wish to close a page that has been posted via form, the page

Tagged with: , , , , , , , , , , , ,
Posted in Chrome, Computers, Cool Code, Firefox, Internet Explorer, Programming, Safari, Spartan, Tech, Web, Web Browser, Web Browsers

CSS Hack to Target Anything but iOS (Androids, but not iPads/iPhones)

These are my legal CSS Hacks for fixing web browser quirks or outright bugs. Please enjoy, I have been working on them for years. May it help you if you need them. Please read here first: [What are these CSS

Tagged with: , , , , , , , , , ,
Posted in Apple, Chrome, Computers, Cool Code, CSS, CSS Hacks, Firefox, Hacks, Internet Explorer, Linux, Macintosh, Microsoft, Mobile, Programming, Safari, Spartan, Tech, Web, Web Browser, Web Browsers, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows XP

CSS for Hi-Def Mobile “Retina” Devices

[ Addition: One of my contacts, Andy Kirk, set up this Testing Page to assist me. Also check Andy’s work on SitePoint ] Here are notes I have found out there, each one has a few different schema that are equal

Tagged with: , , , , , , , , ,
Posted in Android, Chrome, Computers, Cool Code, CSS, CSS Hacks, iOS, Mobile, Programming

PHP prime number checker is_prime() — unary!

This one was fun- a one-liner that uses unary math (basically tally marks if you think about it) to check if a number is prime or not. Found it years ago on the net and kept it around because of

Tagged with: , , , , ,
Posted in Computers, Cool Code, Programming, Software, Tech, Web