master
branch is always production-ready, deployable, 100% green test suite- New development is done on feature branches, with frequent rebasing onto master
- Clean commit history by preferring to rebase instead of merge (
git pull
is configured to automatically rebase)
This file contains 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
#Remove submodule | |
git submodule deinit ocv-raml | |
git rm ocv-raml | |
#Add new remote repository with specification | |
git remote add -f ocv-raml https://github.com/ThomasCookOnline/ocv-raml.git | |
#Copy paste all commits from spec to our repository | |
git read-tree --prefix=ocv-raml/ -u ocv-raml/master | |
#Commit new commits | |
git commit -m "Replace ocv-raml submodule by subtree" |
This file contains 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
#!/bin/sh | |
echo "Running tests" | |
STATUS=0 | |
npm test | |
if [ $? -ne 0 ] | |
then | |
echo "Tests had failed - commit aborted" | |
STATUS=1 |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am galkin on github. | |
* I am galkin (https://keybase.io/galkin) on keybase. | |
* I have a public key whose fingerprint is B2B7 338B CC37 855B 4F0F 3083 38F5 74AF 3123 16AE | |
To claim this, I am signing this object: |
This file contains 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
#!/bin/bash | |
if ! mkdir temp_dir >/dev/null 2>&1 | |
then | |
echo "Cann't make 'temp_dir' folder. Aborting."; | |
exit 1; | |
fi | |
if ! type java >/dev/null 2>&1 | |
then |
This file contains 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
#!/bin/bash | |
# Get current swap usage for all running processes | |
# Erik Ljungstrom 27/05/2011 | |
# Modified by Mikko Rantalainen 2012-08-09 | |
# Pipe the output to "sort -nk3" to get sorted output | |
# Modified by Marc Methot 2014-09-18 | |
# removed the need for sudo | |
SUM=0 | |
OVERALL=0 |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed
- Endpoints. Реализованы все кроме put. File-storage завязан на имена файлов, а не на asset id.
- Payloads. Реализованы не правильно. Структура payload-а имеет
status
для определения успешности операции. Для этого используют http коды. Asset size не передается. - Headers. Не реализованы. Заявленный в контракте Location отсутвует.
- Read. Реализовано.
- Write. Реализовано через временую дирректорию с использованием koa-body вместо стриминга сразу в FileStorage.
OlderNewer