October 24, 2014

icecast2 debian

apt-get install icecast2

nano /etc/icecast2/icecast.xml
change values betweeen
    <authentication>       </authentication>
    <hostname> </hostname>
save
nano /etc/default/icecast2
set enable=true

/etc/init.d/icecast2 start


binary hex converters

http://www.binaryhexconverter.com/

add backports to source.list

For squeeze add this line

deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports(-sloppy) main
to your sources.list (or add a new file with the ".list" extension to /etc/apt/sources.list.d/).

set fodler rights recursevly

icacls "Folder_Name" /grant User_Name:(OI)(CI)F /T

May 16, 2014

Setting locales correctly on Mac OSX Terminal application

terminal - settings
choose profile
choose tab "advanced"

uncheck "set locale environment variables on startup"

January 11, 2014

install python package management

curl -O http://python-distribute.org/distribute_setup.py
sudo python distribute_setup.py
sudo easy_install pip

oprand % python

print 14 % 5

output:: 4

why?

because 14 - 4 = 10 / 5 - will have no remaining part

install java on ubuntu

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

How to type letters with accent

Very useful article https://www.freecodecamp.org/news/how-to-type-letters-with-accents-on-mac/