Skip to content

Instantly share code, notes, and snippets.

View VladimirTaytor's full-sized avatar
🕺
Dancing

Volodymyr Pihol VladimirTaytor

🕺
Dancing
View GitHub Profile
@VladimirTaytor
VladimirTaytor / RivneAptekas.ts
Created December 28, 2023 00:09
Google Maps API
/**
* @license
* Copyright 2019 Google LLC. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
// This example requires the Places library. Include the libraries=places
// parameter when you first load the API. For example:
// <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places">
@VladimirTaytor
VladimirTaytor / CSV without headers
Last active December 18, 2020 13:14
Invalid csv example
value1, value2
value3, value4
value5, value6
@VladimirTaytor
VladimirTaytor / .gitconfig
Last active September 15, 2023 18:41
My .gitconfig
[alias]
desc = "!f() { git log $(git merge-base dev $(git rev-parse --abbrev-ref HEAD) )..HEAD --no-merges --reverse --pretty=format:%B | awk '!/trello.com/' | sed 's/\\[\\#[0-9]\\{1,\\}\\]//g' | sed 's/\\[A-Za-z]\\{1,\\}\\-[0-9]\\{1,\\}\\:/-/gi' | sed 's/\\[[A-Za-z]\\{1,\\}\\-[0-9]\\{1,\\}\\]/-/gi' | awk NF | pbcopy ;}; f"
list = "! git log --graph --abbrev-commit --decorate $@"
pr = "!f() { github_url=$(git remote -v | awk '/fetch/{print $2}' | sed -Ee 's#(git@|git://)#https://#' -e 's@com:@com/@' -e 's%\\.git$%%' | awk '/github/'); branch_name=$(git symbolic-ref HEAD | cut -d\"/\" -f 3,4); pr_url=\"${github_url}/compare/dev...${branch_name}\"; open $pr_url ; }; f"
g = "! fork commit"
c = checkout
cb = checkout -b
co = commit --no-verify -m
s = status
st = stash