I hereby claim:
- I am hyperupcall on github.
- I am kofler (https://keybase.io/kofler) on keybase.
- I have a public key ASDvl9eavF5GcQPBYILol_kSykhUEmf4100BewIrJ4WgHAo
To claim this, I am signing this object:
Sub recreateEdwinForecast(dateDifference As Integer, startRow As String, endRow As String, startDate As String, endDate As String) | |
Sheets("Edwin").Select | |
ActiveWindow.SelectedSheets.Delete | |
Sheets("Main").Select | |
Range("A" & startRow & ":C" & endRow).Select | |
ActiveWorkbook.CreateForecastSheet Timeline:=Sheets("Main").Range("A" & startRow & ":A" & endRow), _ | |
Values:=Sheets("Main").Range("C" & startRow & ":C" & endRow), ForecastEnd:=endDate, ConfInt _ | |
:=0.95, Seasonality:=1, ChartType:=xlForecastChartTypeLine, Aggregation _ | |
:=xlForecastAggregationAverage, DataCompletion:= _ | |
xlForecastDataCompletionInterpolate, ShowStatsTable:=False |
instance-id: 60a5a5b4-5c2f-4b7c-ade5-1d07483a2725 |
FROM python:3 | |
WORKDIR /usr/src/app | |
COPY . . | |
RUN pip install flask waitress | |
EXPOSE 8080 |
/** | |
* @description given the location of this file, find the package.json of the closest parent package | |
* @async | |
* @return {string} absolute path of parent packageJson file | |
*/ | |
export function findParentPackageJson() { | |
function parentDirOf(fileOrDir: string): string { | |
return path.join(fileOrDir, '..') | |
} | |
async function packageJsonExists(dir: string): Promise<boolean> { |
#!/bin/sh -eu | |
# code licensed under BSD 2-Clause "Simplified" License | |
# see `change-master-branch-to-main.sh --help` for usage | |
# see twitter thread for more details: https://twitter.com/EdwinKofler/status/1272729160620752898 | |
site="github.com" | |
oldDefaultBranch="master" | |
newDefaultBranch="main" |
#!/usr/bin/env bash | |
IsShellVariable() { declare -p $1; } &>/dev/null | |
PrintShellVariable() { | |
if IsShellVariable $@; then | |
echo [\'$1\' as Shell Variable]: "${!1}" | |
else | |
echo [\'$1\' as Shell Variable]: "NOT FOUND" | |
return 1 | |
fi |
#!/usr/bin/env bash | |
set -euo pipefail | |
# little script that extracts some SPDX licenses from the choosealicense.com project using sed and grep. | |
# this was before i found https://github.com/spdx/license-list-data | |
# you will very likely have to tweak things to get this to work. it's just a paste of a shell script in one of my repositories that will be removed in the near future | |
cd ../licenses | |
licenses="$(curl -o- --silent https://github.com/github/choosealicense.com/tree/gh-pages/_licenses \ |
// goal: to read `user-dirs.dirs` and | |
// generate parts of fstab for that | |
package main | |
import ( | |
"fmt" | |
"strings" | |
) |
I hereby claim:
To claim this, I am signing this object:
# shellcheck shell=bash | |
# Caveat: Only one start_peek can be ran for any particular case block | |
start_peek() { | |
if [ "$peek_status" = not_peeking ]; then | |
peek_status='currently_peeking' | |
peek_current=0 | |
peek_total="$1" | |
REPLY_PEEKED_CHARACTERS="$2" |