Herreshoff


 



As an Amazon Associate I earn from qualifying purchases.

Getting Google YouTube API key

You should follow steps in here:
https://developers.google.com/youtube/android/player/register

with small exception since the command returns error:

$ keytool -list -v my-release-key.keystore
keytool error: java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
    at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
    at sun.security.tools.KeyTool.run(KeyTool.java:171)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)

instead use the following:

$ keytool -list -v -keystore "my-release-key.keystore"
Enter keystore password:  


  • Make sure you use option -v to get both SHA1 and MP5
  • Make sure you quote the file path to your keystore file.




As an Amazon Associate I earn from qualifying purchases.

Getting Google YouTube API key

You should follow steps in here:
https://developers.google.com/youtube/android/player/register

with small exception since the command returns error:

$ keytool -list -v my-release-key.keystore
keytool error: java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
java.lang.RuntimeException: Usage error, /Users/uki/Documents/Dropbox/Android_Keychains/my-release-key.keystore is not a legal command
    at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
    at sun.security.tools.KeyTool.run(KeyTool.java:171)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)

instead use the following:

$ keytool -list -v -keystore "my-release-key.keystore"
Enter keystore password:  


  • Make sure you use option -v to get both SHA1 and MP5
  • Make sure you quote the file path to your keystore file.




As an Amazon Associate I earn from qualifying purchases.

starting with GIT source control


Install git if you don't have it and verify version.

git --version
git version 1.7.10.2 (Apple Git-33)

git config --global user.name "Uki D. Lucas"
git config --global user.email "uki@CyberWalkAbout.com"


Trying to "Clone" remote repository


$ git clone "ssh://git@xyz.xyz.com/xyz/xyz.git" .
Cloning into '.'...



Warning: Permanently added the RSA host key for IP address '174.129.252.219' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly


Add your public key to the external git repository

cat ~/.ssh/id_rsa.pub | pbcopy

Paste it in a notepad:

ssh-rsa AAAAB..........


If you don't have, you can create your public key using command: 
ssh-keygen -t rsa -C ""




If you added your RSA key successfully, try clone again:


uki:git_test uki$ git clone "ssh://zzz@zz.zzz.com/zzz/zzzz.git" .
Cloning into '.'...
remote: Counting objects: 166, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 166 (delta 51), reused 166 (delta 51)
Receiving objects: 100% (166/166), 375.74 KiB | 467 KiB/s, done.
Resolving deltas: 100% (51/51), done.
uki:git_test uki$ 



Initialize Local Git Repo:



uki:~ uki$ cd /Users/uki/.../.../git/..._git_repo 
uki:local_git_repo uki$ git init
Initialized empty Git repository in /Users/uki/..._git_repo/.git/



For GitHub

curl -s -O http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain

uki:~ uki$ which git
/usr/bin/git

sudo mv git-credential-osxkeychain /usr/local/git/bin/

git credential-osxkeychain




As an Amazon Associate I earn from qualifying purchases.

starting with GIT source control


Install git if you don't have it and verify version.

git --version
git version 1.7.10.2 (Apple Git-33)

git config --global user.name "Uki D. Lucas"
git config --global user.email "uki@CyberWalkAbout.com"


Trying to "Clone" remote repository


$ git clone "ssh://git@xyz.xyz.com/xyz/xyz.git" .
Cloning into '.'...



Warning: Permanently added the RSA host key for IP address '174.129.252.219' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly


Add your public key to the external git repository

cat ~/.ssh/id_rsa.pub | pbcopy

Paste it in a notepad:

ssh-rsa AAAAB..........


If you don't have, you can create your public key using command: 
ssh-keygen -t rsa -C ""




If you added your RSA key successfully, try clone again:


uki:git_test uki$ git clone "ssh://zzz@zz.zzz.com/zzz/zzzz.git" .
Cloning into '.'...
remote: Counting objects: 166, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 166 (delta 51), reused 166 (delta 51)
Receiving objects: 100% (166/166), 375.74 KiB | 467 KiB/s, done.
Resolving deltas: 100% (51/51), done.
uki:git_test uki$ 



Initialize Local Git Repo:



uki:~ uki$ cd /Users/uki/.../.../git/..._git_repo 
uki:local_git_repo uki$ git init
Initialized empty Git repository in /Users/uki/..._git_repo/.git/



For GitHub

curl -s -O http://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain

uki:~ uki$ which git
/usr/bin/git

sudo mv git-credential-osxkeychain /usr/local/git/bin/

git credential-osxkeychain




As an Amazon Associate I earn from qualifying purchases.

apt quotation..