create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Proposed improvement to user authentication for the MEAN boilerplate. See linnovate/mean#121
/auth/<service_provider> uses passport to redirect to the oauth service provider/auth/<service_provider>/callback/. Once authenticated, user data is available as JSON from /users/me.MainCtrl.login method on a service, AuthService. AuthService.login() attempts to make an Angular $http request to /users/me.| // recieve message | |
| // event object contains: | |
| // - data: message sent | |
| // - origin (host from which the message was sent, e.g. http://blah.example.com) | |
| // - source (reference to a Window object from which message was sent) | |
| function postMessageHandler( event ) { | |
| console.log("We've got a message!"); | |
| console.log("* Message:", event.data); | |
| console.log("* Origin:", event.origin); | |
| console.log("* Source:", event.source); |
| <html> | |
| <head> | |
| <title>Test</title> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> | |
| <script src="http://fb.me/react-0.5.1.js"></script> | |
| <script src="http://fb.me/JSXTransformer-0.5.1.js"></script> | |
| </head> |