I hereby claim:
- I am gimmi on github.
- I am gimmi (https://keybase.io/gimmi) on keybase.
- I have a public key whose fingerprint is 48FA AC9B F061 21B9 2C1B 3885 9811 334F 30C7 55C3
To claim this, I am signing this object:
| # syntax=docker/dockerfile:1 | |
| FROM busybox:musl | |
| # IMPORTANT: line ending must be LF, indentation must be tabs | |
| COPY --chmod=777 <<-EOF /wait.sh | |
| #!/bin/sh | |
| trap 'pkill sleep' INT TERM | |
| echo 'Started, press Ctrl+C to stop' | |
| sleep infinity & | |
| wait |
| function debounce(func, timeout = 300) { | |
| let timerId = null; | |
| const debouncedFunc = (...args) => { | |
| window.clearTimeout(timerId) | |
| timerId = window.setTimeout(() => func(...args), timeout) | |
| } | |
| debouncedFunc.cancel = () => { | |
| window.clearTimeout(timerId) |
| class MultipartBodyBuilder: | |
| def __init__(self): | |
| self.boundary = uuid.uuid4().hex | |
| self.body = io.BytesIO() | |
| @property | |
| def content_type(self): | |
| return f'multipart/mixed; boundary={self.boundary}' | |
| def add_image(self, name, data): |
| param( | |
| [String] | |
| [ValidateSet('pull', 'clean')] | |
| $Cmd | |
| ) | |
| $ErrorActionPreference = "Stop" | |
| function Run-Git() { | |
| $GitExe = (Get-Command -Name git -CommandType Application).Source |
| // var dynamicLoggingConfiguration = new DynamicLoggingConfiguration(); | |
| //var hostBuilder = new HostBuilder() | |
| // .ConfigureHostConfiguration(cfg => { | |
| // cfg.Add(dynamicLoggingConfiguration); | |
| // }) | |
| namespace MyNs | |
| { | |
| // Inspired by this: | |
| // https://medium.com/@pawel.gerr/asp-net-core-in-production-changing-log-level-temporarily-2nd-approach-5e032b4955ac |
| body { | |
| font-family: sans-serif; | |
| padding: 45px; | |
| } | |
| code { | |
| font-family: monospace; | |
| } | |
| pre { |
I hereby claim:
To claim this, I am signing this object:
| # Run with: | |
| # env GODADDY_PASSWORD=secret LIBERO_PASSWORD=secret LIBERO_EMAIL=secret FATAL_EMAIL=secret ./bin/python sync.py | |
| import sys | |
| import os | |
| import logging | |
| import logging.handlers | |
| import pif | |
| import pygodaddy |
| using System; | |
| using System.Web; | |
| using System.Web.Routing; | |
| namespace WebApplication1 | |
| { | |
| public class Global : HttpApplication | |
| { | |
| protected void Application_Start(object sender, EventArgs e) | |
| { |