Skip to content

Instantly share code, notes, and snippets.

View svlasov's full-sized avatar

Sergey Vlasov svlasov

  • Israel
View GitHub Profile
@svlasov
svlasov / gcrgc.sh
Created February 8, 2018 12:03 — forked from ahmetb/gcrgc.sh
Script to clean up Google Container Registry images pushed before a particular date
#!/bin/bash
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@svlasov
svlasov / stopper.py
Created July 25, 2018 08:05
stopper context manager
import datetime
import logging
import logging.config
from common.util.app_context import ConfigManager
STOPPER_LOGGER_NAME = "stopper"
_sdcc_config = ConfigManager(portal={'debug': True},
log={'logdir': '/var/log/sdcc',
'verbosity': 'DEBUG'},