This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MultiGetSet = function(opt){ | |
var getType = function(o) { | |
return ({}).toString.call(o).match(/\s([a-zA-Z]+)/)[1].toLowerCase() | |
}; | |
if(!opt.public || !opt.private) | |
return opt.public; | |
if(opt.handler && opt.handler.init) |
WOW! WatchJS became so popular that I've been pushed to migrate it to GitHub
https://github.com/melanke/Watch.JS
Just kidding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MLRoundedImageView extends ImageView { | |
public MLRoundedImageView(Context context) { | |
super(context); | |
} | |
public MLRoundedImageView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
} |
Quando você clona um projeto git pode escolher entre trabalhar com HTTPS ou SSH. Trabalhar com HTTPS é mais prático mas nem sempre é possível, existem alguns mecanismos de segurança que não vão funcionar. Então esse setup é necessário para superar qualquer barreira de permissão:
- Crie uma nova chave:
ssh-keygen -t rsa -C "<seu e-mail logado no github>"
- Copie o conteúdo do arquivo
~/.ssh/id_rsa.pub
- Existe uma pasta oculta chamada
.ssh
dentro da pasta do seu user do windows (C:/Users/seunome/.ssh
), é nessa pasta que está este arquivo.
- Existe uma pasta oculta chamada
- Entre nesse link, cadastre uma nova chave e cole oq vc copiou
- Rode esse código pra testar se funcionou:
ssh -T git@github.com
- Deve mostrar algo como:
Hi developius! You've successfully authenticated, but GitHub does not provide shell access.
OlderNewer