Month: April 2012

  • Delete git branch both remote and local

    There are simple way to delete git branch locally and remote. But first thing to do, you should move from branch that you will delete. Just checkout master or development branch and start removing git branch. 123git checkout <not-branch-name> git branch -D <branch-name> git push origin :<branch-name> To create new github branch that clone from […]

  • Solve github ssh key Agent admitted failure to sign using the key. Permission denied (publickey).

    Today, I change my ssh key and I see this error when pushing commit into my Github repository : 12Agent admitted failure to sign using the key. Permission denied (publickey). So, to solve this problem is pretty easy : 1ssh-add ~/.ssh/id_rsa

  • Solve EnvironmentError: mysql_config not found Mysql-Python pip on Ubuntu

    If you installing MySQL-python from pip in Ubuntu and see this error : 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879Downloading/unpacking MySQL-python==1.2.3 (from -r requirements.txt (line 3))   Downloading MySQL-python-1.2.3.tar.gz (70Kb): 70Kb downloaded   Running setup.py egg_info for package MySQL-python     sh: mysql_config: not found     Traceback (most recent call last):       File "<string>", line 14, in <module> […]

  • How to solve problem HFSplus OS X partition sharing as home partition in Ubuntu

    I have dual-OS in my Macbook Pro, OS X Leopard and Ubuntu Oneiric. I want to share partition between OS X and Ubuntu. I use hfplus partition (without journaled) as user home in Ubuntu Oneiric. Then the problem begin. When I adding launcher in Desktop (Ubuntu), it can’t be executed and throw error : 1the […]