Blog Archives

C# Update UI from a Different Thread

Many of us struggle with this and its pretty straight forward. this.Invoke((MethodInvoker)delegate { Variables to modify, methods to execute. });

Posted in Uncategorized

C# to Update a Store Procedure

Ok based on the previous post, you now know how to get the store procedures in a table, now you need to get the actual content. To do so, you need to execute the command sp_helptext ‘store_procedure’ In a very

Posted in Uncategorized

C# to find Store Procedures

An easy way to find all store procedures given admin access to the DB is to execute the SQL Command select name from sys.procedures   This will return you the list of store procedures for a given DB.

Posted in Uncategorized

Private API’s and Cant Find who is using it.

Have you ever got rejected by Apple because of a Private API and are wondering how to use oTool, String and NM. This is simple. Just use otool “Path to your .app/YourExecutable” > fileNameToOutput.txt nm “Path to your .app/YourExecutable” > fileNameToOutput.txt

Posted in Uncategorized

Reset all your iPhone Simulators

If you are like me, and would like to have a way to clean all your iOS Simulator Information, you can use the following command to do so.  xcrun simctl erase all

Posted in Uncategorized