Skip to content

Instantly share code, notes, and snippets.

@BlackFrog1
BlackFrog1 / Dockerfile
Created July 25, 2022 12:20 — forked from danopia/Dockerfile
ERCOT Frozen Grid 2021 - Metrics Reporters
FROM hayd/alpine-deno:1.10.1
WORKDIR /src/app
ADD deps.ts ./
RUN ["deno", "cache", "deps.ts"]
ADD *.ts ./
RUN ["deno", "cache", "mod.ts"]
ENTRYPOINT ["deno", "run", "--unstable", "--allow-net", "--allow-hrtime", "--allow-env", "--cached-only", "--no-check", "mod.ts"]
@BlackFrog1
BlackFrog1 / MyArg.cs
Created April 22, 2020 21:47
PowerArgs sample testing slash issue with absolute path
using PowerArgs;
namespace SlashIssueDemo
{
public class MyArg
{
[ArgShortcut("-f"), ArgPosition(0), ArgExistingFile]
public string File { get; set; }
}
}
@BlackFrog1
BlackFrog1 / keybase.md
Created June 11, 2017 14:00
Keybase proof

Keybase proof

I hereby claim:

  • I am blackfrog1 on github.
  • I am blackfrog (https://keybase.io/blackfrog) on keybase.
  • I have a public key ASBXAULP2l0Bz8TK_hT21HHivOaLli-umLkhvSNwZQisGAo

To claim this, I am signing this object:

@BlackFrog1
BlackFrog1 / countries-for-mssql.sql
Last active March 17, 2016 16:30
Sql dump of all the Countries, Country Codes, Phone codes.
/* ################################################################################
# AUTHOR : Markus Kofler - http://www.kofler-it.com
# NAME : countries-for-mssql.sql
# DATE : 2015-06-21
# Version : 1.0
# COMMENT : This script creates a table within your MS-SQL-Server with all
# the ISO-codes for countries, phonecodes, etc.
# The script is based on the following github-resources:
# + https://gist.github.com/adhipg/1600028
# + https://gist.github.com/paulochf/9616f85f3f3904f1c36f
@BlackFrog1
BlackFrog1 / BlinkingColors.h
Created May 4, 2011 02:18
Blinking Label Operation
//
// BlinkingColors.h
#import <Foundation/Foundation.h>
@interface BlinkingColors : NSObject {
@private
UIColor *back_;
UIColor *text_;
}
@BlackFrog1
BlackFrog1 / BFGeoname.h
Created April 15, 2011 10:08
Class to load GeoName raw text file (draft)
//
// BFGeoname.h
// Rooster
//
// Created by Collin Bennett on 3/20/11.
//
// This work is licensed under a Creative Commons Attribution 3.0 License,
// see http://creativecommons.org/licenses/by/3.0/
// The Data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.
//
@BlackFrog1
BlackFrog1 / English.txt
Created March 24, 2011 16:15
Localized Dictionary for the Formatter
Localized String: {
LookupDictionary = {
EastKey = (
East,
E
);
NorthKey = (
North,
N
);
//
// LoginItem.h
// Medium
//
// Created by Collin Bennett on 1/13/11.
// Copyright 2011 Black Frog. All rights reserved.
//
#import <Cocoa/Cocoa.h>