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]"
#List all remote branches merged to master | |
git branch -r --merged | |
#For all old branches log last commit e.g. | |
git log --decorate -1 origin/Gauss | |
#To delete the branches you want | |
git push origin --delete Gauss | |
#For everyone to run locally to remove the remove references |
## The `substring(8)` returns the input with everything after "payload=" which is the only parameter passed in, | |
## everything else is encoded JSON inside that parameter. | |
#set ($encodedJSON = $input.body.substring(8)) | |
$util.urlDecode(${encodedJSON}) |
const request = require('request'); | |
const DATA_API = 'https://data.example.com/api'; | |
const DATA_API_KEY = process.env.API_KEY; | |
exports.search = function(event, context, callback) { | |
const targets = [ 'ID1', 'ID2', 'ID3' ]; | |
callback(null, targets); | |
}; |
func fetchResultsFromApi() { | |
struct MyGitHub: Codable { | |
let name: String? | |
let location: String? | |
let followers: Int? | |
let avatarUrl: URL? | |
let repos: Int? | |
private enum CodingKeys: String, CodingKey { |
This is a quick-and-dirty walkthrough to set up a fresh project with Storybook Docs, Create React App, and TypeScript. If you're looking for a tutorial, please see Design Systems for Developers, which goes into much more depth but does not use Typescript.
The purpose of this walkthrough is a streamlined Typescript / Docs setup that works out of the box, since there are countless permutations and variables which can influence docs features, such as source code display, docgen, and props tables.
npx create-react-app cra-ts --template typescript