FOLLOW ME Twitter Facebook Вконтакте LinkedIn RSS Feed

Dating Service Commercial

Apr 21, 2012
Category: Fun


I can dance!!

Apr 21, 2012
Category: Fun



How to setup a private git repository on Debian using Gitosis

Apr 19, 2012
Category: Tips and Tricks

In this post I’m going to give you step by step instructions of how to setup your own git repository. I’ve got a VDS (Virtual Dedicated Server) running on Debian 6.0.4, but all steps are valid for Ubuntu too.

First of all we should setup all necessary tools including git:

apt-get install git python-setuptools python-dev

After that, get gitosis sources. Official repository git://eagain.net/gitosis.git stopped working, so use github repository instead:

git clone https://github.com/tv42/gitosis.git
cd gitosis
python setup.py install

Check that you’ve got sudocommand installed and if it’s not install it.

apt-get install sudo

I didn’t have sudo installed on my VDS so that’s why I care about it.
Ok, then create and add a gitosis user:

sudo adduser --system --shell /bin/sh --gecos 'gitosis user' 
             --group --disabled-password --home /home/git git

Now it’s time to set up a security connection between your local machine and the server. If you already have a private key and you know what is that, just skip the next step. Otherwise, you should generate keys on your local machine.

ssh-keygen -t rsa

If you’re a Windows user, you should find some way to generate security keys. For instance, use PuTTY gen.

Next step is to copy your public key to the server. Continue reading »


How to make an iPhone ringtone from an mp3 file?

Apr 14, 2012
Category: Tips and Tricks

Ok, everybody. This post is for those of you who don’t want to buy iPhone ringtones in AppStore. The cheapest way to get a ringtone is to make it by ourselves. Here is a step-by-step instruction how to make and install an iPhone ringtone from an mp3-file.

  1. First of all you should have an mp3-file which is the best ringtone ever. Keep in mind that your ringtone’s length should be 30 seconds or less. It’s important. If you need to cut some part of the mp3-file, you can use simple Web 2.0 utility on CutMP3.net
  2. Open iTunes and drag-n-drop the mp3 file from Explorer/Finder/etc to the iTunes Library. It will appear in the Music list.
  3. Now let’s go to the iTunes Preferences -> General and click on Import Settings button. This will open a dialog.
  4. In the dialog set Import Using as AAC Encoder and click OK and click OK again on the Preferences dialog.
  5. We’re very close to the finish now. Go to Music and select the mp3-file you added on step 2. In the context menu select Create AAC Version
  6. Select just created file and select Get info from context menu. You will see a dialog. Look at Summary tab and you will find where the converted file is located.
  7. Go to the file and change its extension from m4a to m4r.
  8. Drag-n-drop the m4r file to iTunes as we already did on step 2 and you’ll notice that you have it in Tones section.
  9. Connect your iPhone to iTunes and drag-n-drop the ringtone from the Tones section to the iPhone section. That’s all!


Awesome Chinese driver

Mar 30, 2012
Category: Fun
Tags:


Google Chrome redirecting Google Search to wrong country

Mar 30, 2012
Category: Tips and Tricks

I’ve been using Google Chrome since 2009 and one thing I like and use the most is a googling just inside URL-bar. Some month ago Google started to detect my location automatically and redirect me to appropriate  google domain. For instance, I live in Germany and I’d like to use google.com but Google Chrome redirects me to google.de every f*cking time I search something in URL-bar. If you have the same problem as I had the workaround is  simple. Go to Google Chrome Options -> Basics and click “Manage search engines”. Add a new one with any name and keyword, but the URL should be
https://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=%s

Make just created search engine default and that’s it! Enjoy.


Pages:«12345