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
# gcsv5-setup | |
globus_organization: Mike A. | |
globus_users: | |
- user: mike.a | |
group: mike.a | |
globus_contact_email: mike.a@globus.org | |
globus_domain: globus.org | |
globus_owner: "{{ vault_globus_owner }}" | |
globus_project_id: "{{ vault_globus_project_id }}" | |
gcs_cli_client_id: "{{ vault_gcs_cli_client_id }}" |
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
# source: http://st-on-it.blogspot.com/2010/01/how-to-move-folders-between-git.html | |
# First of all you need to have a clean clone of the source repository so we didn't screw the things up. | |
git clone git://server.com/my-repo1.git | |
# After that you need to do some preparations on the source repository, nuking all the entries except the folder you need to move. Use the following command | |
git filter-branch --subdirectory-filter your_dir -- -- all | |
# This will nuke all the other entries and their history, creating a clean git repository that contains only data and history from the directory you need. If you need to move several folders, you have to collect them in a single directory using the git mv command. |
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
# We first create a spreadsheet with the ZenHub Pipeline and GitHub Project Column mapping | |
# Then, we moved all the issues manually into an "Unsorted" column in our GitHub Project | |
# Read through each of the issues that is in the Unsorted column and move them to the correct column | |
# if it's in the spreadsheet. | |
# To run: | |
# pip install python-dotenv ghzh-clients | |
import csv | |
import os |
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
# Save this to a file called traefik-redirect.yml | |
# docker stack deploy --compose-file traefik_redirect.yml traefik_redirect | |
version: "3.7" | |
networks: | |
traefik-public: | |
external: true | |
name: traefik-public | |
services: | |
# This is spun up as a "dummy" service. We redirect to another location. | |
staging: |
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
--- | |
platform: linux | |
image_resource: | |
type: registry-image | |
source: | |
password: ((ce-dockerhub-token)) | |
repository: alpine/git | |
username: ((ce-dockerhub-id)) | |
inputs: | |
- name: source-code |
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
export PUBSWEET_SECRET='asecretsecretnotreally' | |
export POSTGRES_USER='dev' | |
export POSTGRES_PASSWORD='secretpassword' | |
export POSTGRES_HOST='0.0.0.0' | |
export POSTGRES_DB='editoria_dev' | |
export POSTGRES_PORT='5432' | |
export SERVER_PORT='3000' | |
export INK_ENDPOINT='http://167.99.161.30:3000/' | |
export INK_USERNAME='admin@admin.com' | |
export INK_PASSWORD='abc12345' |
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
#306998,#FFD43B,#FFD43B,#7F7F7F,#5A9FD4,#F4F4F4,#FFE873,#FFD43B |
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
import csv | |
import os | |
import sys | |
from datetime import datetime | |
from selenium import webdriver | |
HERE = os.path.abspath(os.path.dirname(__file__)) |
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
import csv | |
import os | |
import urllib | |
from datetime import datetime | |
# pip install requests | |
import requests | |
HERE = os.path.abspath(os.path.dirname(__file__)) |
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
import csv | |
import os | |
from datetime import datetime | |
# Requires pip install github3.py | |
from github3 import login | |
# Requires pip install jinja2 | |
from jinja2 import Template | |
NewerOlder