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
0x31CC42b23c7E6846Ca44722Ae5128Df16A0eFC28 |
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
spec: | |
restartPolicy: Never | |
initContainers: | |
- name: init | |
image: busybox | |
command: ["/bin/sh"] | |
args: ["-c", | |
"touch /tmp/shared-volume/migration.lock"] | |
volumeMounts: | |
- name: shared-volume |
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
# This config block will check if the current public IP of the host is 8.8.8.8 | |
# If this is true, we can assume we're on the same network as our server, bob. In this case we should use it's local IP. | |
# If this is false, we can assume we're not on the same network as our server, bob. In this case we should use it's public IP. | |
Match OriginalHost bob Exec "curl -s 'https://api.ipify.org?format=text' | grep '8.8.8.8'" | |
Hostname 192.168.1.2 | |
Host bob | |
Hostname 8.8.8.8 |
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
# Copyright 2017 Google Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# https://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
## | |
## Looks for python virtualenv directories and activates them. | |
## If you've left a project directory where there is no | |
## virtualenv folder, the env will be disabled. | |
## | |
VENV_DIR=".venv" | |
CLOSEST_VENV="" |
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
import httplib2, argparse, os, sys, json | |
from oauth2client import tools, file, client | |
from oauth2client.service_account import ServiceAccountCredentials | |
from googleapiclient import discovery | |
from googleapiclient.errors import HttpError | |
#Project and model configuration | |
project_id = '132567073760' | |
model_id = 'HAR-model' |
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
source 'https://rubygems.org' | |
gem 'httparty' |