development
-
heroku cheat sheet quick start
#note requires java 8. add the ppa repo for oracle and install this if you dont have it already. check your local with: java -version #create auth token for subsequent commands heroku login #from within a local git cloned app… Continue reading
-
directory info get files show directories C# .Net
There is sometimes a misunderstanding between a “file” and a “folder” in filesystems. In C# .Net the following is often used to list all “files” in a folder. However, even though you can specify to search containing subdirectories, the above… Continue reading
-
Android Launch Browser from App to handle external URLs
Upon googling for this one, I found some good relevant links on stack overflow as well as the android webview documentation, but no singular solution that tied everything together. First, I created a custom WebViewClient class. Note that this is… Continue reading
-
Cisco iOS Emulator Hardware and Software Simulations
Good article with introductory discussion: http://www.techrepublic.com/blog/networking/practice-cisco-router-configuration-using-a-free-emulator/419 Supported Hardware Dynagen/Dynamips: Cisco 7200, Cisco 3600 series (3620, 3640 and 3660), 3700 series (3725, 3745) and 2600 series (2610 to 2650XM, 2691). Emulators/Simulators Dynagen/Dynamips (excellent choice and good for windows and *nix): http://www.gns3.net/download… Continue reading
-
C# MySQL On Windows Named Pipes Development Mode
While outlining the scope for a new project I’ve considered the possibility of using MySQL for budgeting purposes with respect to the potential size and growth rate of the database. I downloaded and ran through the latest setup for MySQL… Continue reading
-
Get Current Directory in Objective-C
Since Mac OS X is a unix based system, you can always use “getcwd” from the standard C library, but in general if you want to stick within the context of Objective-C/Cocoa, see the examples below. Here’s one snippet you… Continue reading
-
HTTP Post in C# .Net
Why re-invent the wheel? 😉 See below for a few quick examples from the minds over at csharp-online and codeproject. Note: Any snippets may have been condensed from their original sources for brevity. See references for original articles. All examples… Continue reading
-
URL Encode in .Net
C#: (ASP .Net) C#: (Client/Server Environment) References MSDN, WebUtility Classhttp://msdn.microsoft.com/en-us/library/system.net.webutility.aspx MSDN, Uri Classhttp://msdn.microsoft.com/en-us/library/system.uri.escapeuristring.aspx MSDN blogs, http://blogs.msdn.com/b/yangxind/archive/2006/11/09/don-t-use-net-system-uri-unescapedatastring-in-url-decoding.aspx Continue reading
-
Quick .Net Encryption Reference
The code below represents a very basic .NET encryption class which has been tested and should work in your application – simply plug and play. 🙂 Contains two static methods that can be called without needing to instantiate the class.… Continue reading