Latest Posts
-
Mentally Calculate Percentages of Large Numbers Quickly without using a calculator
The “Infosplit” Method (Future edit: I originally wrote this article following a session for a young relative I was mentoring at the time after they found my explanation useful. This approach is generally more well known as distributive method.) Lesson:… Continue reading
-
Create Custom and Self Signed SSL Certificate in IIS 6 (Windows Server 2003)
Single domain Ex. http://www.ronniediaz.com Note: Foremost, in order to access your site over HTTPS, the HTTP SSL Service will need to be running. This service binds to port 443 and filters HTTP traffic to IIS. Relatively easy to do in… Continue reading
-
Arithmetic overflow error converting type to data type numeric
This error usually occurs when the type you are trying to convert to a decimal or numeric is larger than the column or casted type you are converting to. Ex. Since the number specifed is 7 digits long include after… Continue reading
-
Serialize C# object to JSON JavaScriptSerializer .Net
References MS Blogs, http://blogs.microsoft.co.il/blogs/pini_dayan/archive/2009/03/12/convert-objects-to-json-in-c-using-javascriptserializer.aspx JSON.org, http://www.json.org/js.html C# Cross-Site Page Access, http://stackoverflow.com/questions/6290053/setting-access-control-allow-origin-in-asp-net-mvc-simplest-possible-method PHP Cross-Site Page Access, http://rayfd.wordpress.com/2007/03/28/why-wont-eval-eval-my-json-or-json-object-object-literal/ JS Eval string to JSON Object, http://rayfd.wordpress.com/2007/03/28/why-wont-eval-eval-my-json-or-json-object-object-literal/ Continue reading
-
DLL in Stored Procedure MSSQL
Extended Stored Procedures (MSDN), http://support.microsoft.com/kb/190987 Thread Local Storage in an extended stored procedure (MSDN), http://support.microsoft.com/kb/163449 Continue reading
-
WCF Service Library in Windows Service
References CodeProject (WCF Service in Windows Service), http://www.codeproject.com/KB/WCF/WCF_windows_hosting.aspx MSDN (Debug Windows Service Applications), http://msdn.microsoft.com/en-us/library/7a50syb3(v=vs.80).aspx MSDN (Host WCF Service in Managed Windows Service), http://msdn.microsoft.com/en-us/library/ms733069.aspx Continue reading
-
Validate Credit Card Numbers with Regular Expressions
Expressions below account for IIN numbers on CC’s of most major US issuers which includes validating starting character. These should be used in addition to Luhn Algorithm mod10 check. These expressions can be used on clientside and codebehind to give… Continue reading
-
Intro to git
git is essentially decentralized, which seems to be the direction everything is going, so I decided to take a shot at it. I’ve used cvs, VSS, TFS, SVN and now git and I’ve got to say it is definitely pretty… 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