Skip to content

Instantly share code, notes, and snippets.

View projected1's full-sized avatar
๐Ÿ˜Ž
Coding

Daniel Gorbatov projected1

๐Ÿ˜Ž
Coding
View GitHub Profile
@projected1
projected1 / Preferences.sublime-settings
Last active August 28, 2024 12:46
My Sublime Text 3 settings
{
"sublime_merge_path": "/snap/sublime-merge/current/opt/sublime_merge/sublime_merge",
"added_words": [
"aggregator",
"biometrics",
"chatbot",
"comradery",
"denormalizing",
"geospatial",
"globalization",
@projected1
projected1 / git-branch-cleanup.bat
Created August 9, 2020 10:56
Locates branches that were already merged and deletes them from the remote GIT repository.
@rem ------------------------------------------------------
@rem Locates branches that were already merged and deletes
@rem them from the remote GIT repository.
@rem
@rem Usage: git_branch_cleanup.bat [--force]
@rem --force - delete the remote branch. optional.
@rem if not specified, performs dry run
@rem by default.
@rem ------------------------------------------------------
@projected1
projected1 / ab-testing-lambda.js
Created October 6, 2019 22:29
A/B Testing AWS Lambda@Edge demo.
/**
* A/B Testing AWS Lambda@Edge demo.
*
* Serves content from server hosts, based on an A/B Testing
* header value.
*
* NOTE: For every new request, an A/B Testing header is added
* and a test value is selected and set. This header should
* be returned in the response and cached by the client, so
* it can be re-submitted with every consecutive API request.