Learning ansible part 1

How to install

$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
Tagged with: , ,
Posted in important links, Linux, Ubuntu

jenkins gitlab integration

have all details here



Tagged with: , , , , ,
Posted in important links, Linux, Ubuntu

how to export sublime text 3 installed packages from one pc to another in ubuntu

  1. first install sublime text 3 in your new machine in ubuntu
  2. https://packagecontrol.io/installation install package control first
  3. make zip of /home/youruser/.config/sublime-text-3/Packages and /home/youruser/.config/sublime-text-3/Installed Packages
  4. paste it into your new ubuntu computer installed sublime text 3 /home/yournewmachineuser/.config/sublime-text-3/ folder after unziping
  5. restart sublime text 3
  6. hope it will work
Tagged with: , , , , , , ,
Posted in Tips And Tricks

Skype group chat not working anymore in ubuntu!

I had problem in my ubuntu 14.04 that I could not send or receive any messages if I am part of a group chat.

can not start group chat, can not send message in group chat.

it shows yellow icon (message stuck)

But I could send receive message in 1-1 chat without problem


How to solve:

signout from skype and to make sure its not running

open terminal

killall -9 skype

in your terminal go to your home directory

cd ~/

mv .Skype Skype.backup

now start skype again it will ask for username password etc just add them

skype will start, and start loading all history. give it some time and wait until its done.



Tagged with: , , , ,
Posted in important links, Linux, Ubuntu

how to exclude files from svn exactly like we do with .gitignore

cd to your directiry where svn is checked out

create a file .svnignore

add there the things you want to ignore for example:


Save the file
now run this command:
svn propset svn:ignore -RF .svnignore .

see svn status now ur files are ignored.
then commit this .svnignore file so others can be benifited by this in your team. they just need to run this command.

Tagged with: , ,
Posted in subversion, Tips And Tricks

command to get 10 largest file in directory

du -a /var | sort -n -r | head -n 10

An update:

found a nice tool called ncdu

to install

sudo apt-get install ncdu

then run ncdu in a directory it will show all directories inside sorted by size descending!

then you can select directory/file with arrow and press d to delete

Tagged with: , , , , , , ,
Posted in important links

SASS install and use

1. install compass and sass https://gist.github.com/stephou0104/233b5c99884f1d8c8b8b

2. SASS cheatsheet:


to configure a folder with compass

  1. mkdir mycompass
  2. cd mycompass
  3. mkdir assets
  4. cd assets
  5. mkdir stylesheets
  6. mkdir sass
  7. mkdir images
  8. mkdir javascripts
  9. add a config.rb file with content like this:
  10. preferred_syntax = :sass
    http_path = /
    css_dir = assets/stylesheets
    sass_dir = assets/sass
    images_dir = assets/images
    javascripts_dir = assets/javascripts
    relative_assets = true
    line_comments = true


Now to start playing:

add a something.sass file inside assets/sass directory with some content like this:

$defaultLinkColor: #46EAC2
color: $defaultLinkColor

$wk: -webkit-

#{$wk}border-radius: 4px

width: 50px

then go to terminal inside mycomass folder

run this command:

compass watch

this will output like this:

⚙ compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
modified assets/sass/something.sass
write assets/stylesheets/something.css


Tagged with: , , , ,
Posted in Javascript, Linux, Tips And Tricks
All content provided on this "tareqalam.com" blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner of [tareqalam.wordpress.com] will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.
December 2017
« Apr    

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 23 other followers