Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
div { | |
margin-bottom: 10px; | |
position: relative; |
/// <reference path="../../library.test.d.ts"/> | |
import * as angular from "angular"; angular; | |
import * as mocks from "angular-mocks/ngMock"; mocks; | |
describe('feat(localStorage Mock): ', function() { | |
beforeAll(() => { | |
angular.module('mock-module',[]) | |
}); |
(function() { | |
let _std_out = ''; | |
let _std_err = ''; | |
/* | |
* HELPERS |
If you need to have a button with minimal information and when the user hover this one give more input before executing the action, here is something interesting. The code illustrates a use case that the button is fixed to the browser at the bottom-right of the screen but this kind of button can be used everywhere. The main purpose is to have a rich user experience with pro-active feedback in a minimal way. The initial state of the button is just a single icon. PlusImage For that example, I haven’t use a glyph icon, neither an image, just a single plus character. This could be replaced with what ever you want. The idea is that when the user hover the icon that we have a transition to a bigger button.
Here is the button’s Html. The container is not required and is just there for the purpose of having this button sticky at the bottom-right of the window. The button element is the real button. This one will grows when hovering. It contains two tex
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"