Ian Grail

Orlando, FL
Viewing Local SQLite Ghost Database

Viewing Local SQLite Ghost Database

If you are doing some local Ghost Core development, or are simply curious what is happening to your Ghost data under the hood: There is a quick and easy way to visualize and browse your local Ghost database (or any SQLite .db files). 1. Download and install a SQLite DB Browser Here is a cross-platform open-source option: http://sqlitebrowser.org/ 2. Open Ghost's .db file Launch your SQLite Browser and click on "Open Database". Select the ghost-dev.db file found inside of your local ghost install i.e.: ghost-0.7.1/content/data/ghost-dev.db 3. You are in business!...

Simple log file processing in Python

Simple log file processing in Python

The other day I found myself in the unfortunate position of needing to scan through raw server logs to try and gather some information around a rare issue. Opening these log files in a text editor and doing a quick text search wasn't a great option: the log files had millions of log lines, were 500MB+ in size, and the text editors just gave up trying to search, multi-select, and extract the lines I needed. I've recently gotten into Python (initially as a requirement for a project at work), and while I still have a lot to learn, I have...

Publishing an AngularJS Module to Bower

Publishing an AngularJS Module to Bower

Getting started with publishing your new AngularJS module to GitHub and Bower can be tough. But it's okay, we'll figure it out together. Below I have outlined the key steps taken to publish my own first bower component found here: https://github.com/codehangar/ng-copy-text. Step 1 Make your AngularJS module If you made your way to this post, you have probably already created an angular directive or service for an existing project, and like me, are looking for the most painless path to turn your directive in a bower component. Initializing Let's start with creating a new directory. mkdir...

About Ian Grail

Software Developer. Aspiring Pool Lounger.

Website

http://www.grailians.com