Diagnosing iOS Deadlock with dispatch_once Command

Using dispatch_once is very handy at times, however there may be times where your program comes to a halt, and can point blame to a dispatch_once wrapper. The key here is using the stack trace if possible to look at the chain of events and tracing it to see why a resource might be locked. I have run across this scenario myself, pausing the application showed the following: Well that confirms...

September 4, 2014 | 1 Comment

Why your Xcode Cursor may not Show in Text Fields

If you are developing an iOS or OSX application and did some styling changes at some point, then realize that your cursor is not showing up in the app anymore the issue is most likely related to tint. Tint can be changed per object, or on the whole storyboard itself, and sets the cursor colour. There are three places to check: Check the control itself, is it set to default...

September 4, 2014 | 2 Comments

Resolving issues with gitignore after adding to Xcode project

Some tips that may help when working with a git enabled Xcode project where it always wants to ignore your gitignore file: Verify your .gitignore exists in the root git repository directory. This directory should be at the base of your project in most cases, and there should be an accompanying .git file. You can view hidden files on an OSX terminal session with ls -a. Follow the steps (credit...

Adding an Xcode Project to Git After Already Created and Configuring GitIgnore File

If you have worked on an existing Xcode project for some time and decide that you want to add a Git repository to better track your files, you will want to do the following steps: Start off by backing up the folder as a general safety precaution Now would be a good time to add an ignore file. See ignore file section below. In a terminal, CD to your project...

Xcode – Why your touch events aren’t being fired

You and I are in the same boat. We want to use one of the touch responder methods: touchesBegan:withEvent: touchesCancelled:withEvent: touchesEnded:withEvent: touchesMoved:withEvent: These may work fine, however if you decided to use a UITableViewController as your base, or and object with scrolling, these appear to swallow the event before it gets to you. This can be fixed by subclassing UITableView (for example), assigning your table to that class on the...

September 4, 2014 | No Comments

Solution to EZ-Flash Error “ROM file is not an EFI BIOS”

Quick post here, as there is a quick solution for most people having the error “ROM file is not an EFI BIOS”. I recently had this with my Asus motherboard. Even though I had double checked that I had downloaded the correct BIOS update from their support website, I received this error when I tried from my USB as well as my hard drive. Here’s what I found out about...

Download Script: Elevate Batch Files to Run As Administrator on Windows 7 and Windows 8

As an avid user of Autoit for its sheer simplicity one of the things I most commonly do when I start using it for scripting is to have the script I am working on run under full permissions. Generally this is done because I use the tool for installing programs. If you are using batch files often this behavior is needed. For those of you I have developed a quick...

Quick Windows 7 Ping Reply Tool

Windows 7 by default will not reply to pings coming from outside of a trusted network. This is because of a slight security enhancement to keep your desktop a bit more concealed when connected to the internet. Unfortunately me, among others generally would rather have this working so we can determine if a device is running or not. One thing that irked me was that I could not find a...

When Commands or Batch Files within Novell Login Script Do Not Work

I often use the Novell login script for my own purposes, one of them being a quick hardware audit of any desktop I touch. I’ve noticed that not everything works when running my batch locally, but rarely ever does it work the second the Novell login script fires it off. I had to figure out why this was any different. Running as another user perhaps? Running as a restricted account?...

Driver Injection: ifp63x64.sys and status: 0xc0000098

Recently, working with some driver injections to a MDT 2010 PE disk led me to a failure to boot. I had added LAN, Mass Storage, and Chipset drivers (likely unnecessary on those last ones but, I felt the vibe for it). Booting up I was greeted with: Windows failed to start, missing ifp63x64.sys Or some jazz. I personally use DriverPacks.Net which bundle everything up nice and neatly. It appears that...

June 27, 2013 | No Comments