Web Development resources

Other, Web design
A few links to resources to build your own website FreeFrontEnd.com Website with free stuff to add to your website, like this list of CSS loaders. Unsplash A database with thousands of great Creative Commons photos free to use on your website. CodePen and jsFiddle Both are quite good online editors to test some stuff in a clean environment and even share such example with other devs. Json Formatter When you need to check a JSON object with tabbing, collapsing and colors, this quick online tool really helps.
Read More

Using LESS client-side

Other
You need to download and add to your project less.js and call it from the HTML page: <script src="less.js" type="text/javascript"></script> Then, add the call to the .less file/s making sure you set the rel="stylesheet/less": <link type="text/css" rel="stylesheet/less" href="MyStyles.less"> Tips: - Make sure you call the styles before calling less.js - When you link more than one .less stylesheet each of them is compiled independently. So any variables, mixins or namespaces you define in a stylesheet are not accessible in any other. Options You can set up some LESS options by using this code: [sourcecode language="js" wraplines="false"] <script> less = { env: "development", logLevel: 2, async: false, fileAsync: false, poll: 1000, functions: {}, dumpLineNumbers: "comments", relativeUrls: false, globalVars: { var1: '"string value"', var2: 'regular value' }, rootpath: ":/Content/" }; </script> [/sourcecode]…
Read More

Search tool for SSMS 2008 Express

Other
Redgate has developed a very useful tool to search for code between all your storeds, functions and tables etc. inside your SQL Server databases: http://www.red-gate.com/products/sql-development/sql-search/ It works with Microsoft SQL Management Studio 2005, 2008, Denali or the 2008 Express version (which is free). Note: If you try to install the x64 but on the menu to select what to install you don't have the "Management Studio" listed, try the x86 as I downloaded a few times the x64 but instead of installing the Management Studio was installing the SQL Server Express 2008 only.
Read More

Changing Outlook 2013 default theme and View settings to make it look a bit better

Other
I never really liked Outlook being honest, but the new one is much worst than the old, in terms of design I've always reminded myself one of the foundations of design: its purpose is to help the user to do what it's designed for, not to look great, if it also looks great then... marvelous! That is not the case with Outlook 2013, the panels and messages all share the same color unallowing me to differentiate the different regions and forcing more my eyes to find each thing I need, also, the emails listing uses more space in vertical displaying less messages per page on my window than before, not good either as the more messages I can see the easier to handle them. That said, looking here and there,…
Read More

Installing a local script with Greasemonkey

Other, Web programming
Though greasemonkey is thought to share your scripts with the community, you may prefer to have some script for personal websites, local applications or just very personal customization of a page. Most greasemonkey tutorials show you how to install a script stored online but forget about how to create your own script and install it in local: Quick guide Install Greasemonkey Click on Greasemonkey icon -> Manage scripts -> New User Script... Create your script following GM rules and save it. If you already have the script, open it with the browser (you can drag and drop the file into the browser or use "Open with...") and the install window will appear immediately (install button has a few seconds wait for security issues though). Writing your own script If you…
Read More

System networking tricks

Other
Quick accesses Open Commands Window: Execute: cmd Open IIS: Execute: inetmgr Change PC hosts Open this with notepad: c:\windows\system32\drivers\etc\hosts Now, you can set an ip and its host setting the ip and the dns separated by at least one space in the same line. Example: 15.140.114.22 myprivateserver.com That will make requests to 15.140.114.22 go to myprivateserver.com, and viceversa, requests to myprivateserver.com will go to 15.140.114.22. Check where a dns is pointing IN YOUR PC Open cmd, ping the host dns and see which real ip is requesting. Alternatively, open the hosts file at c:\windows\system32\drivers\etc\hosts
Read More

Setting .Net Framework version in IIS 7

Other
When upgrading from an older version of .Net to a new one you are going to need to set this into IIS7 so that it knows which engine to use when handling a website (it will not check this on the webconfig as, to start with, it doesn't know there is a webconfig without knowing the engine to handle that website). Inside IIS 7, notice you have a node with the server/PC under which you can find "Application Pools" and "Sites". Under Sites you will have configured your websites, but under Application Pools you need to configure the engine each of them is using. So we go to Application Pools > Choose the one your website is using > double click > change .Net Framework version > accept. If you…
Read More

Visual Studio Intellisense not working

Other
This has happened to me a few times and, when it happens, I just don't know what to check to see if I've changed any configuration or what. So I decided to write here a list of possible solutions: 1 - Make your project an application Sometimes when you use the quick access to a project instead of opening it as an application it is opened as a "folder project". Then classes are not being compiled and Intellisense doesn't work. Solution: Open it using the .sln file or right click on the project main folder and select "Make it an application". 2 - Error on compilation Similar to the last one, sometimes an error doen't let VS to compile your class, try to fix that compiling error and recompile. That…
Read More

Hello World!

Other
This is the first post on this blog I'm just releasing today, same day as my 27th birthday. I hope it will be as successful as it's Spanish older brother entrecodigos.com (betweencodes.com). I'm gonna translate some of my Spanish blog old posts to this one during the next weeks. I hope you enjoy them as much as I did!
Read More