Skip to content

Instantly share code, notes, and snippets.

@v1nn1k
v1nn1k / script.sh
Last active November 19, 2021 12:37 — forked from lopezjurip/script.sh
Github full code review
# Create empty branch.
git checkout --orphan review
git rm -rf .
git commit --allow-empty -m "Create empty branch"
git push --set-upstream origin review
# Create `project` branch from `master` or `main`, or whatever branch your code is located in.
git checkout -b project
# MAKE SURE TO PUT IN YOUR BRANCH NAME :)
git merge <main|master> --allow-unrelated-histories
@v1nn1k
v1nn1k / helper.js
Created August 26, 2018 17:05
Get map region for array of points
export const getRegionForCoordinates = (points) => {
if (!points.length) {
return {
// By default show whole Prague
latitude: 50.0755,
longitude: 14.4378,
latitudeDelta: 0.1,
longitudeDelta: 0.1
}
}
@v1nn1k
v1nn1k / cloudSettings
Last active November 7, 2018 17:54
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-07T17:54:07.075Z","extensionVersion":"v3.2.0"}
@v1nn1k
v1nn1k / ssettings
Last active August 21, 2017 23:16
ss
s