This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 ------------------------------------------------------ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"sublime_merge_path": "/snap/sublime-merge/current/opt/sublime_merge/sublime_merge", | |
"added_words": [ | |
"aggregator", | |
"biometrics", | |
"chatbot", | |
"comradery", | |
"denormalizing", | |
"geospatial", | |
"globalization", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem ------------------------------------------------------ | |
@rem Decompiles Java JAR files. | |
@rem This script depends on the following libraries: | |
@rem * 7ZIP CLI : https://www.7-zip.org/a/7z1900-extra.7z | |
@rem * jad decompiler: http://www.kpdus.com/jad/winnt/jadnt158.zip | |
@rem ------------------------------------------------------ | |
@echo off | |
setlocal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <map> | |
#include <array> | |
#include <string> | |
#include <vector> | |
#include <memory> | |
#include <sstream> | |
#include <cassert> | |
#include <iostream> | |
#include <exception> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem ------------------------------------------------------ | |
@rem Usage: | |
@rem mvn.bat <phase_or_goal> <list_of_modules> <path/to/settings.xml> | |
@rem | |
@rem phase_or_goal - compile, package, test | |
@rem list_of_modules - Comma-delimited list of modules in a multi-module project: | |
@rem "module_name_to_include,!module_name_to_exclude" | |
@rem | |
@rem Example: | |
@rem mvn.bat package "main-module,!deprecated-module" "%homepath%\.m2\settings.xml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@rem ------------------------------------------------------ | |
@rem Usage: | |
@rem nexus_mvn_deploy.bat <groupId> <artifactId> <version> <path/to/file> <path/to/maven_settings> | |
@rem | |
@rem ------------------------------------------------------ | |
@echo off | |
setlocal | |
if "%1" == "" ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
rem Must run elevated | |
net session > nul 2>&1 | |
if not %errorLevel% == 0 ( | |
echo Error: Please re-run as admin | |
goto end | |
) |
OlderNewer