Thursday, 14 May 2015

Ubuntu 15.04 Photoshop system font missing

Running Photoshop on Ubuntu is super natural desire for most of advanced linux users. Faster and easiest way to do this is to use WINE, just install wine and every win application can be handled on your side. The most often noticeable bug is missing some microsoft fonts for adobe photoshop UI, damn adobe... why do you have to integrate microsoft fonts inside photoshop? :D

Ok, how to fix this in Ubuntu 15.04?
Don`t try to install core fonts from Software Center, they don't install correctly because of license issue.

Instead install it from terminal, that way you can agree license agreements.

open terminal and type
sudo apt-get install ttf-mscorefonts-installer

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 :)

Thursday, 24 April 2014

Mac OS X 10.9 Mavericks virtualization (VMware 10) in Linux Ubuntu 14.04 (HP probook 450 G0)

At this moment 10.9 Mavericks is the last OS from Mac, the only reason for me to virtualized this in ubuntu 14.04 lts is Xcode IDE. As a mobile developer a need Xcode for iphone / ipad developing, but i don`t need separated OS for booting, i just need Xcode. There is only one way to run Xcode under linix / windows pc: virtualization :)
Required to run 10.9 Maverisk
  • Hardware Virtualization Technology (VT) enabled processor
    Note: if you have intel i3, i5, i7 - you have it, other way check manifacturer site if your processor support VT
  • Pre installed image of OS X Mavericks
    Note: check in thepiratebay com for "OS X Mavericks vmware"
  • VMware workstation 10
    Note: check in thepiratebay com for "vmware 10 linux"


My hardware: HP 450 Probook
  • CPU intel Core i5-3230M (1 core for Mac OS)
  • RAM 4GB DDR3 1600Mhz (1 GB for Mac OS)
  • VGA Ivybridge Mobile x86/MMX/SSE2
  • HDD 1TB Sata2 (20 GB for Mac OS)
  • AUDIO HDA Intel PCH 92HD91BXX Analog

Create your Mac OS X Mavericks guest os
  • Install VMware 10 and extract Maverick image.
  • We need to use an unlocker patch to make VMware workstation to support Mac guest. The patch is located inside OS X Mavericks image folder. You can use terminal to navigate and run this files.
    Note: terminal commands, all files have to be on your main drive (or you wouldn't have privileges)
    cd OS X Mavericks 10.9 Retail VMware Image/VMware Unlocker - Mac OS X Guest/VMware 8.x + 9.x + 10.x Series/VMware Workstation Unlocker - Linux
    sudo ./Unlocker.Linux32
    sudo ./install.sh
  • Now import .vmx file into VMware (File > Open > pick .vmx file)
  • Start image and install the Mavericks OS

What work on this configuration
  • audio - OK (select sound card in image preferences)
  • network - OK
  • screen resolution - OK (different resolution in image preferences)
  • camera - not tested
  • microphone -not tested
  • sleep - OK
  • all Mavericks software
  • and finaly: Xcode - OK