Running windows applications on Mac without Vmware or parallel (Virtual emulators)

 

How to run  windows applications without installing parallels or vmware kind of emulation softwares  ?

How to use  windows applications without having bootcamp installed & rebooting mac  ?

The answer is  install the application wine or CrossOver .

Wine is an open source project  and free to use  but difficult to install for non-tech-savvy users .Crossover is a single click installation but  you need to pay to      codeweavers

Finally the limitation is we  can run many but not all windows applications& Games  with cross over or wine  ( Compatible application databse here)

 

 

A script to show linux directory,file size

here is a small script to show the  size  of directories and files under linux . This will do what du command does but displays in a nice format.You can use this like treesize free tool for linux (: .

 

Save this script with some name like  filesz  in /usr/bin  and make it executable  . Type the command   filesz  from any directory to check the file/directory sizes

 

# vi filesz

copy the script  and !wq to save changes

#cp filesz /usr/bin

#chmod +x /usr/bin/filesz

 

####script starts##################

#/bin/sh
du -k --max-depth=1 | sort -nr | awk '
     BEGIN {
        split("KB,MB,GB,TB", Units, ",");
     }
     {
        u = 1;
        while ($1 >= 1024) {
           $1 = $1 / 1024;
           u += 1
        }
        $1 = sprintf("%.1f %s", $1, Units[u]);
        print $0;
     }
    '

##########script ends################################

git error

 

Error: failed to push some refs to 'git@myproject.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Merge the remote changes (e.g. 'git pull') hint: before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.

I used force switch when I got above error while pushing the code

#git push -f myproject master

myproject is the repository name