I hereby claim:
- I am eruvanos on github.
- I am eruvanos (https://keybase.io/eruvanos) on keybase.
- I have a public key ASCBFe9JGaDvOfkHdQAxO0EmGrcCzQ_WvjNyUWaqAPEKrQo
To claim this, I am signing this object:
| package de.siemering.gist; | |
| import org.springframework.util.StopWatch; | |
| public class SwHolder{ | |
| private static StopWatch sw = new StopWatch(); | |
| public static void start(String taskName) throws IllegalStateException { | |
| sw.start(taskName); |
| package de.siemering.spring.controllers; | |
| import org.springframework.beans.factory.annotation.Value; | |
| import org.springframework.boot.autoconfigure.web.ErrorController; | |
| import org.springframework.stereotype.Controller; | |
| import org.springframework.web.bind.annotation.RequestMapping; | |
| @Controller | |
| @RequestMapping("${error.path:/error}") | |
| public class GlobalErrorController implements ErrorController { |
I hereby claim:
To claim this, I am signing this object:
| """ | |
| Configures a logger to log <=INFO to stdout and >INFO to stderr | |
| """ | |
| import logging | |
| import os | |
| import sys | |
| DEFAULT_FORMAT = '%(asctime)s - %(levelname)s - %(name)s - %(message)s' | |
| NO_TIME_FORMAT = '%(levelname)s - %(name)s - %(message)s' |
| #!/usr/bin/env python | |
| import time | |
| from sys import stdin, stdout, argv | |
| try: | |
| from tkinter import * | |
| except ImportError: | |
| from Tkinter import * |
| std::cout << std::flush |
| #!/usr/bin/env bash | |
| function load_service_credentials { | |
| service_name=$1 | |
| # Read credentials for queue | |
| SERVICE_KEY_JSON=$(cf service-key $service_name key | grep -v "Getting") | |
| export AWS_ACCESS_KEY_ID=$(echo ${SERVICE_KEY_JSON} | jq '.access_key' -r) | |
| export AWS_SECRET_ACCESS_KEY=$(echo ${SERVICE_KEY_JSON} | jq '.secret_access_key' -r) | |
| export AWS_DEFAULT_REGION=$(echo ${SERVICE_KEY_JSON} | jq '.region' -r) | |
| export AWS_URI=$(echo ${SERVICE_KEY_JSON} | jq '.uri' -r) |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> | |
| <title>Lob.com Sample 4x6 Postcard Back</title> | |
| <style> | |
| *, *:before, *:after { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| box-sizing: border-box; |
| import math | |
| from typing import List | |
| import arcade | |
| class Block: | |
| def __init__(self, x: float, y: float, r: float): | |
| self.x = x | |
| self.y = y |