Tuesday, 17 March 2015

Linux Folder Color



This short tutorial introduces Folder Color, and how to integrate into Ubuntu 14. Whit this feature you can speed up your work whit folders, as you know visual recognition is the primary brain method for orientation.

How to use?
After instal, you can just right click on any folder and from drop down choose Folder's Color or Folder Category. You can choose from multiple predefined template or just pick your custom color, you also can add every folder a different icon category (ex: favorite, importance, finished etc...)

How to install on Ubuntu?
Just paste this commands in terminal
sudo add-apt-repository ppa:costales/folder-color
sudo apt-get update
sudo apt-get install folder-color
nautilus -q

Here is the official website, there you can find other installation methods.

Happy codding!

Friday, 13 March 2015

Implement Bootstrap Ace Template in ASP.NET MVC 5

Good day young padawans :)

What is Bootstrap? Its a free and open-source collection of tools for creating websites and web applications. It contains HTML- and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. Developed by Twitter web devs.

Ace - Responsive Admin Template is payed and lightweight, feature-rich and easy to use admin template based on Bootstrap.

Today I will share my experience about how do I implement this complex Bootstrap theme (Ace) in MVC 5 web application. After all you will have 100% working theme whit all included features and layouts that are supported by theme developers.

If you wondering how to create ASP.NET MVC 5 application in ubuntu, just follow THIS guide!


So let`s Start

1. Start Visual Studio and create new project web application.







2. Choose MVC from next window.
















3. Copy root theme (ace) folder in Content/ folder.



















4. Now copy all html code from ace/html/empty.html to your /Views/Shared/_Layout.cshtml
Tip: first i have create a copy of _Layout.cshtml if something wrong.



























5. Fix all .css and .js files path by adding Content/ace/ befour assets/css/"file.css".
From this




to this




Tip: fix all .css and .js includes, not only screenshotted rows!

6. Add @RenderBody() to your root page. Find this piece of code and add @RenderBody() to render other page context.












7. Run your web application and voila, ACE them for your web application MVC 5.

Microsoft Windows 8.1 virtualization (VMware 10) on Linux Ubuntu 14.10 (HP probook 450 G0)

Developing C# ASP.NET MVC 5 on Linux?

The best way to developing MVC 5 on Linux for my situation is virtualization. Virtualized Windows in VMWare station is so fast, that you wouldn't notice any difference from real installation. There is no need to partitioning or dual boot just for develop on Visual Studio.

Other way to develop c# MVC is by using Mono Developing IDE which is open source and cross platform. At this moment Mono support only MVC 2, which in my case is not acceptable.

Prepare for installation
1. First you have to install VMWare Workstation 10 or higher for Linux.
2. Then you need to find Windows 8.1 installation image.
3. Here you can find official installation guide for Windows 8.1 from VMWare.
There is no need то hack like for Mac OS installation, just fallow the wizard and you will end up whit ready to start Microsoft Windows 8.1 .
I will strongly recommand you this Windows optimization giude. This will speedup your Windows 8.1 as hell. My Visual Studio IDE is starting only for 5 sec :)

Happy Linux c# .NET codding :)