Monday, October 28, 2013

Android SDK installation issue - Peer not authenticated

In order to fix "Peer not authenticated" error just force Android SDK Manager to fetch all  https://...sources to be fetched using http://

1. Open Android SDK Manager (e.g. from Eclipse IDE)
2. Open from top menu Android SDK Manager/Settings
3. Check box Force https://...sources to be fetched using http://



How to install ANT on Mac OSX 10.9 and later


1. Download and install Homebrew by executing following command in terminal:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

2. Install Apache Ant via Homebrew by executing
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/ant.rb

Friday, October 25, 2013

Why maven doesn't downloads source and javadoc files

When you can not see any source code in your IDE such as Eclipse this most probably happen because your Maven (if you do use Maven) does not downloaded source jar file (e.g. filename-source.jar).

Maven does not downloads a source and javadoc jar files by default.

This option should be added to its settings file in ~/.m2/settings.xml file like this:

<profiles>
<profile>
    <id>downloadSources</id>
    <properties>
        <downloadSources>true</downloadSources>
        <downloadJavadocs>true</downloadJavadocs>           
    </properties>
</profile>
</profiles>

<activeProfiles>
  <activeProfile>downloadSources</activeProfile>
</activeProfiles>

Here is the link about this topic:
http://stackoverflow.com/questions/5780758/maven-always-download-sources-and-javadocs

How to enter on Apple Dev Site

https://daw.apple.com

Thursday, October 24, 2013

SHODANHQ


To get this info is a big deal, 
to know how to use it is the second one... 
and how many out there who knows it? 
)))

Thursday, September 26, 2013

How to Clean up Directory Service cache

If you can not resolve locally any domain name try to clean up Directory Service cache. Use with sudo this utility:

dscacheutil – gather information, statistics and initiate queries to the Directory Service cache.

Use it with the option:

flushcache – Flushes the entire cache.  This should only be used in extreme cases.  Validation information is used within the cache along with other techniques to ensure the OS has valid information available to it.

For example:

sudo dscacheutil -flushcache

Friday, August 16, 2013

How to add a variable to the the existed environment variable in a bash command

How to add a variable to the the existed environment variable in a bash command:

1. Let's suppose that you already have a some env.variable (check all variables that you have with command env). As an example we'll use REPO_B

2. Say you want to run svn check out from the branch repository and do check out the specific branch branchA.

3. The syntaxys is like this:
svn co REPO_B/branchA branchA

If you're a developer and have an iPad

If you're a developer and have an iPad sheck this link:
http://omz-software.com/editorial/