Skip to content

Instantly share code, notes, and snippets.

View felixfbecker's full-sized avatar

Felix Becker felixfbecker

View GitHub Profile
#Requires -Module PSGitHub
#Requires -Module PowerGit
[CmdletBinding()]
param()
$items = Get-Content not-needed-packages.txt | Select-String -Pattern 'Typings already defined for ([^ ]+)' -Context 0,5
$i = 0
$items | ForEach-Object {
@felixfbecker
felixfbecker / interviews.psm1
Last active January 31, 2020 09:47
Automation for sending out coding exercises
#Requires -Modules PSGitHub, PSGSuite
function New-CodingExercise {
[CmdletBinding()]
param (
[Parameter(Mandatory)]
[string] $CandidateUsername,
[Parameter(Mandatory)]
[string] $CandidateName,
@felixfbecker
felixfbecker / morph.ts
Last active April 27, 2020 16:11
TypeScript codemod to add history prop drilling where it was missing
/* eslint-disable no-unused-expressions */
/* eslint-disable @typescript-eslint/prefer-includes */
import {
Project,
Diagnostic,
SyntaxKind,
Node,
StructureKind,
QuoteKind,
@felixfbecker
felixfbecker / github_estimate_sum.js
Created September 16, 2021 15:50
Tampermonkey script to sum up estimates in GitHub Beta project boards
// ==UserScript==
// @name GitHub estimate sum
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://github.com/orgs/sourcegraph/projects/*
// @icon https://www.google.com/s2/favicons?domain=github.com
// @grant none
// ==/UserScript==
@felixfbecker
felixfbecker / restore_cmd_f_on_github_project_boards.js
Created September 16, 2021 17:10
Restore Cmd+F on GitHub Beta boards
// ==UserScript==
// @name Restore Cmd+F on GitHub Beta boards
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Felix Becker
// @match https://github.com/orgs/sourcegraph/projects/*
// @icon https://www.google.com/s2/favicons?domain=github.com
// @grant none
// ==/UserScript==