Posts

Aspnet MVC Cheatsheet

Probably the best place to start with this cheatsheet is with this blog itself. I have tons of articles under my tags "aspnet" and "aspnet-mvc" on this blog. Since aspnet is where I started in my career its probably the most important cheatsheet I should have ready. This article will always be on going... Assigning and Setting Bound models some of my notes here include javascript because so much of my code is, but you need to be aware how it ties in with the backend. Accessing Your Model's Data from a Controller Microsoft Workers Worry Most About Re-Org - Dice News Use View Models instead of FormCollection - Jaco Pretorius Assign Model property value from JavaScript value MVC 3 form post and persisting model data Setting property on the model object? (javascript) Controller without a form? Sending JSON to an ASP.NET MVC Action Method Argument JSON.stringify not converting array.object correctly (javascript) associative array to JSON (javascri...

Linux Cheatsheet

With everything going on with logicoma, I will be frequently updating this page so I can just jump back into whatever system tasks at hand. I should add this I'm going to keep this focused on ubuntu/debian. http://www.yolinux.com/TUTORIALS/LinuxTutorialAdditionalHardDrive.html http://www.cyberciti.biz/faq/linux-viewing-drive-partitions-with-fdisk-parted/ X11 Forwarding using Putty on Windows - YouTube Storage http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/checking-storage-space.html https://www.cyberciti.biz/faq/linux-check-memory-usage https://unix.stackexchange.com/questions/106561/finding-the-pid-of-the-process-using-a-specific-port Commands fdisk -l mkdir ← a directoy of where to mount the disk mount ← mount a disk using /dev/[disk] ln ← creates a link file from another name ← use 'a' to get all the information on the server rm /path/to/directory/* https://askubuntu.com/questions/402589/the-following-packages-were-automatical...

Javascript Cheatsheet

At times I do still just use pure javascript and nothing else because how small I want the project to be. As always more coming soon... JavaScript best practices 19+ JavaScript Shorthand Coding Techniques Best way to find an item in a JavaScript array? - Stack Overflow Replace multiple whitespaces with single whitespace in JavaScript string - Stack Overflow javascript - How can I disable highlighting in html or JS? - Stack Overflow javascript - drag and drop, prevent awkward highlighting? - Stack Overflow Basic Json Request Using XMLHttpRequest Performance    There is a lot of talking about how to test the real performance of javascript and for the most part I have no clue where to start as I write this. Hopefully that will change be the end, skip to it if you dont want to learn the process as well. http://stackoverflow.com/questions/1003855/howto-benchmark-javascript-code Fun Example  function DisplayQuestions() { var Questions = new Array(20);...

EF6 Cheatsheet

Image
When I was first learning EF I tried using model first however migrations and the setup to handle it was too buggy. I'm sure I could have gotten it in time but I've learned right way the importance of being a good dba. Performance Considerations for EF 4, 5, and 6 Entity Framework - Entity Framework 6: The Ninja Edition Best practices to improve Entity Framework performance | InfoWorld Tips to improve Entity Framework Performance EntityFramework Performance and AutoDetectChanges RoleEntryPoint Class (Microsoft.WindowsAzure.ServiceRuntime) <sessionState> Element using Statement (C# Reference) More coming soon

IIS Cheatsheet

Setting up a website in iis is pretty easy and its where I'm most comfortable doing my professionally work. However with newer frameworks I'm look outside of iis because of the non-window based servers. So this cheatsheet is even better because I'm sure it will be a long time before convince my peers to use linux. Server Error: HTTP Error 500.19 - Internal Server Error ASP.NET IIS Registration Tool (Aspnet_regiis.exe) How to Configure HTTP Access to SQL Server 2008 Analysis Services on IIS7 Reverse Proxy with URL Rewrite v2 and Application Request Routing Security & Users What are all the user accounts for IIS/ASP.NET and how do they differ? Solution iis 7 - IIS7 Permissions Overview - ApplicationPoolIdentity http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx ssl - IIS process cannot access file in use - Stack Overflow Side note Installing and Running node.js applications within IIS on Windows Run IIS + ASP.NET on Windows 10 with...

C++/C Cheatsheet

I really should have more notes on this but I haven't touched c++ this year. Last year I had more projects to help this but I've put them off until I finish a few projects using python. Beep your PC speaker in linux » LinuxPlayer | LinuxPlayer UNIX programming examples The GNU C Library Beep for Linux and Windows Linux Signals – Example C Program to Catch Signals (SIGINT, SIGKILL, SIGSTOP, etc.) The GNU C Library - Table of Contents system - C++ Reference https://stackoverflow.com/questions/3878303/c-udp-socket-port-multiplexing Other Notes SLIDE Pipeline Assignment 5 OpenGL Mathematics Generalized linear model Data Type (GLSL) - OpenGL.org opengl - Rotate an object given only by its points? http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/scoped_ptr.htm

Sql Cheatsheet

After my first job I realized the importance of learning a bit about it all. None should be in the dark when it comes to their website. I might not be a master of relational databases but give me a mongodb or reddis and even a firebase database any day. Still some projects are dependent on mysql and etc so I have enough info to help me move forward. Nothing I had more than a dba or team who locks me out. Throw exception from SQL Server function to stored procedure - Stack Overflow HOW TO: Return Errors and Warnings from a SQL Server Stored Procedure in ADO.NET RAISERROR (Transact-SQL) SQL server management studio local database connection error in windows 7 Visual Studio Database Guide - Home How to: Use Source Control with SQL Server Management Studio mysql - Sending multiple data parameters with jQuery AJAX sql server - Inserting multiple rows in a single SQL query? LuaSQL: Database connectivity for the Lua programming language DECLARE @local_variable (Transact-SQL) Pa...

Popular posts from this blog

Aspetcore: NLog with Postgresql

Mongodb Cheatsheet

Installing Windows on Acer chromebook 15 cb3-532