Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "your_email@example.com"
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - features/** | |
| - dependabot/** | |
| pull_request: | |
| branches: |
| /* eslint-disable no-undef */ | |
| const path = require('path') | |
| const CopyWebpackPlugin = require('copy-webpack-plugin') | |
| const MiniCssExtractPlugin = require('mini-css-extract-plugin') | |
| const VueLoaderPlugin = require('vue-loader/lib/plugin') | |
| const isDevelopment = process.env.NODE_ENV === 'development' | |
| const alias = { | |
| jQuery: path.resolve('./node_modules/jquery'), |
| import React from 'react'; | |
| import { storiesOf } from '@storybook/react'; | |
| // 1. import axios and MockAdapter | |
| import axios from 'axios'; | |
| import MockAdapter from 'axios-mock-adapter'; | |
| // 2. create the mock | |
| const mock = new MockAdapter(axios); |
| package main | |
| import ( | |
| "crypto/rand" | |
| "encoding/base64" | |
| "fmt" | |
| "io" | |
| "math/big" | |
| ) |
| function urlBase64ToUint8Array(base64String) { | |
| const padding = '='.repeat((4 - base64String.length % 4) % 4); | |
| const base64 = (base64String + padding) | |
| .replace(/\-/g, '+') | |
| .replace(/_/g, '/') | |
| ; | |
| const rawData = window.atob(base64); | |
| return Uint8Array.from([...rawData].map((char) => char.charCodeAt(0))); | |
| } |
After installing the postgres app: http://postgresapp.com/
It will create a database user with the current username, to create another user for example 'postgres':
$ createuser postgres -s
Open psql with the created user using -U
$ psql postgres -U postgres
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |