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
| #!/bin/bash | |
| BASE_PATH=/var/opt/gitlab/gitlab-rails/shared/registry/docker/registry/v2/repositories | |
| DRY_RUN=0 | |
| KEEP_LAST_IMAGES=10 | |
| RUN_GARBAGE_COLLECTOR=0 | |
| GITLAB_CTL_COMMAND=`which gitlab-ctl` | |
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
| #!/usr/bin/env python | |
| import os | |
| import json | |
| import argparse | |
| import math | |
| from datetime import datetime | |
| import dateutil.parser | |
| import time | |
| import sys |
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
| #!/usr/bin/env python2.7 | |
| import os | |
| import json | |
| import argparse | |
| import math | |
| def convert_size(size_bytes): | |
| if (size_bytes == 0): | |
| return '0B' |
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
| watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache |
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
| # Do this on every node of the cluster | |
| curl -O http://www.congiu.net/hive-json-serde/1.3.8/hdp23/json-serde-1.3.8-jar-with-dependencies.jar | |
| sudo cp json-serde-1.3.8-jar-with-dependencies.jar /usr/lib/presto/plugin/hive-hadoop2/ | |
| sudo chown presto:presto /usr/lib/presto/plugin/hive-hadoop2/json-serde-1.3.8-jar-with-dependencies.jar | |
| #restart presto | |
| sudo restart presto-server |
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
| #!/bin/bash | |
| # Add git-crypt to SourceTree's Path | |
| # If you use Sourcetree's embedded GIT, you may have to symlink things into its PATH to make them work. | |
| # git-crypt | |
| ln -s /usr/local/bin/git-crypt /Applications/SourceTree.app/Contents/Resources/bin/ |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: "*" | |
| workflow: tests | |
| workflows: | |
| _tests_setup: | |
| steps: | |
| - activate-ssh-key: {} |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| app: | |
| envs: | |
| - BITRISE_PROJECT_PATH: ios/pro_mobile.xcodeproj | |
| opts: | |
| is_expand: false | |
| - BITRISE_SCHEME: pro_mobile | |
| opts: |
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
| --- | |
| format_version: 1.1.0 | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| trigger_map: | |
| - push_branch: qa | |
| workflow: qa | |
| workflows: | |
| _init_install: | |
| steps: | |
| - activate-ssh-key: |
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
| %% Author: PCHAPIER | |
| %% Created: 25 mai 2010 | |
| -module(utility). | |
| %% | |
| %% Include files | |
| %% | |
| %% | |
| %% Exported Functions |
OlderNewer