create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| from django.contrib import admin, messages | |
| from django.http import HttpResponseRedirect | |
| from django.shortcuts import render | |
| from my_app.forms import CustomForm | |
| class FakeModel(object): | |
| class _meta: | |
| app_label = 'my_app' # This is the app that the form will exist under |
For this tutorial you will need:
ubilinux. YMMV with other linux distros.| function mapValues(obj, fn) { | |
| return Object.keys(obj).reduce((result, key) => { | |
| result[key] = fn(obj[key], key); | |
| return result; | |
| }, {}); | |
| } | |
| function pick(obj, fn) { | |
| return Object.keys(obj).reduce((result, key) => { | |
| if (fn(obj[key])) { |
| package main | |
| import "fmt" | |
| type Node struct { | |
| prev *Node | |
| next *Node | |
| key interface{} | |
| } |
| node { | |
| echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
| echo 'No quotes, pipeline command in single quotes' | |
| sh 'echo $BUILD_NUMBER' // 1 | |
| echo 'Double quotes are silently dropped' | |
| sh 'echo "$BUILD_NUMBER"' // 1 | |
| echo 'Even escaped with a single backslash they are dropped' | |
| sh 'echo \"$BUILD_NUMBER\"' // 1 | |
| echo 'Using two backslashes, the quotes are preserved' | |
| sh 'echo \\"$BUILD_NUMBER\\"' // "1" |
| # INSTALLATION | |
| # - Add the following function to your .oh-my-zsh/themes/agnoster.zsh-theme | |
| # - Call prompt_kubecontext from build_prompt() as showed in the example below | |
| # | |
| # | |
| # build_prompt() { | |
| # prompt_kubecontext | |
| # } | |