cannot download, $GOPATH not set

[Update: as of Go 1.8, GOPATH defaults to $HOME/go, but you may still find this useful if you want to understand the GOPATH layout, customize it, etc.] The official Go site discusses GOPATH and how to lay out a workspace directory. export GOPATH=”$HOME/your-workspace-dir/” — run it in your shell, then add it to ~/.bashrc or … Read more

How to install Android SDK on Ubuntu?

Option 1: The location of Android SDK on Linux can be any of the following: /home/AccountName/Android/Sdk /usr/lib/android-sdk /Library/Android/sdk/ /Users/[USER]/Library/Android/sdk Option 2: Download the Android Studio. Extract downloaded .zip file.The extracted folder name will read somewhat like android-studio To keep navigation easy, move this folder to Home directory. After moving, copy the moved folder by right clicking it. This action will place … Read more

Python official installer missing python27.dll

At least for the ActiveState Python distribution, and in the official Python distribution: The dll is in where NN is the version number. On a 64-bit, a 32 bit dll will be installed here: and a running 32 bit application will magically translate this to the proper path, http://en.wikipedia.org/wiki/WoW64 When I link againsy Python27, I … Read more

How to make rpm auto install dependencies

Create a (local) repository and use yum to have it resolve the dependencies for you. The CentOS wiki has a nice page providing a how-to on this. CentOS wiki HowTos/CreateLocalRepos. Summarized and further minimized (not ideal, but quickest): Create a directory for you local repository, e.g. /home/user/repo. Move the RPMs into that directory. Fix some … Read more

How to change pip installation path

You can tell pip where to install the package. Use the -t flag , that means the target directory where you want to install the package. Have have look at pip install –help You can change this on permanent basis by changing the pip.ini configuration file. See this for detail: pip install path On Unix and Mac OS X the configuration … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)