Manage SQL Schemas with Flyway
Flyway is a tool that allows you to perform version-controlled management of SQL schemas. You can download flyway at http://flywaydb.org. It doesn’t require a build, so once downloaded, drop it where...
View ArticleSQL and Date Functions
SQL has some really great features for managing dates. Given that dates are a very common thing to store in databases, that’s a pretty logical thing to get to a good, mature point. But the most...
View ArticleRun Bash From A Swift Project
New project on my Github, called Swift-Bash-Runner, which runs a simple bash line from a Swift screen. Pretty simple, but could be tweaked to run your line of bash with an operator with little effort.
View ArticleIndex Those SQL Tables
If you have growing sets of data, one of the best ways to speed up database performance is to make sure each column in larger tables is indexed. You can easily index a column following this syntax...
View ArticleSimple Swift Project To Run A Bash Script When A User Clicks A Button
New project on Github to run a bash script when a user clicks on a button. This is pretty basic, easily customizable, lots of stuff you could add, and with a license I’m sure anyone can appreciate....
View ArticleHuffington Post Article On Soft Skills Training
My next Huffington Post piece is up. This one is on Soft Skills. The original was about twice as long, so eventually I’ll post the rest here. But for now, hope you enjoy. I often hear entrepreneurs say...
View ArticleManage Recent Places In OS X
There are two defaults keys that can be used to manage the recent places options in the OS X Finder. Both are in the .GlobalPreferences. The first is NSNavRecentPlaces and the second is...
View ArticleActivation Lock Status At Apple
Thanks to Josh for pointing this out. Apple has a page that lets you look up whether your device has Activation Lock enabled. This way, even if you don’t have it, you can confirm that it’s locked after...
View ArticleUse SQL Views to Grant Access and Constrain Output
You can grant access to certain columns to view in SQL without providing access to specific users to see the whole database. This is pretty useful when delegating reporting to users, without giving...
View ArticleCommand Line Calendaring
When I need to look at what day a date is on, I typically open the Calendar app. But sometimes I’m in the middle of a task in the command line and don’t want to do so. Luckily, there’s a cal binary in...
View ArticlepyMacWarranty variant in Swift on my GitHub
Posted a new swift command line tool to accept serial number data from an Apple device and respond with warranty information about a device at https://github.com/krypted/swiftwarrantylookup. This is...
View ArticleMake Empty Files Of A Certain Size In OS X
Previously, I’ve used a few methods to create files in OS X using touch, dd, etc. But the easiest way to create empty files is using the mkfile command, which instantly creates a file of any size. To...
View ArticleMy Article On 17 Parallels Between House of Cards and Real Politics On Medium
House Of Cards Debuted on Netflix in 2013, and was immediately a fan-favorite, capturing audiences instantly due to its high-drama situations, scandal, lying, cheating, the sheer power of the...
View ArticleUse the Slow Query Log in MySQL
Slow queries can cause poor database performance. MySQL has a slow query log, which lets you log queries that take too long (with too long a user-configurable setting). This allows you to quickly find...
View ArticleThe Top 25 Animated Cartoons From The 80’s
I don’t know why, but I decided to put this article up on Medium. Experimenting with different stuffs. Hope you enjoy. People who were kids in the 80’s often reminisce and declare the fact that there...
View Article25 Time Saving Bash Tips
Use the following keys to do fun things when typing a command in bash (mostly keybindings): Use the up arrow to run the previous command Continue using the arrow to scroll to commands further in the...
View ArticleiOS 9.3 Update Now Available
iOS 9.3 is out, with lots of new, cool features. For a list of them: With this update your iPhone, iPad and iPod touch gain improvements to Notes, News, Health, Apple Music and a new feature called...
View ArticleQuick Script Backups In OS X
When I’m working on a little bash script, I’ll often make a backup, each time I save and test. Then I can revert back, if I need to. The syntax I’ll use is to cp and then curly-bracket the output into...
View Article