Skip to content

Instantly share code, notes, and snippets.

View deas's full-sized avatar

Andreas Steffan deas

View GitHub Profile
# Define the Font Face
$fontName = "JetBrainsMono NF"
# Locate Windows Terminal settings.json (Standard vs Preview paths)
$settingsPath = "$env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json"
if (-not (Test-Path $settingsPath)) {
$settingsPath = "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"
}
if (Test-Path $settingsPath) {
# Script to install a Nerd Font for the current user (Non-Admin)
# Usage: ./install_nerd_font.ps1 [[-FontName] <String>] [[-Version] <String>] [-Force]
# Example: ./install_nerd_font.ps1 -FontName "FiraCode"
# Example: irm https://example.com/install_nerd_font.ps1 | iex
#
param (
[Parameter(Mandatory=$false)]
[string]$FontName = "JetBrainsMono",

Keybase proof

I hereby claim:

  • I am deas on github.
  • I am asteffan (https://keybase.io/asteffan) on keybase.
  • I have a public key whose fingerprint is CEDB 1150 3AFA 6FA2 79DA 9B43 AFA9 84BE D99B 1DF7

To claim this, I am signing this object:

@deas
deas / meta1.cljg
Created November 20, 2019 13:55
unittest-meta1
;; gorilla-repl.fileformat = 2
;; @@ [meta]
{:test 789}
;; @@
;; gorilla-repl.fileformat = 1
;; **
;;; # Render tests
;;;
;;; Some test cases for the new renderer.
;; **
;; @@
(use '[gorilla-repl table latex html])
@deas
deas / DBBFSearch.groovy
Created March 23, 2012 13:58
Generic Brute Force SQL Search - Groovy Style
#!/usr/bin/env groovy
/*
* deas - http://www.contentreich.de/generic-brute-force-sql-search-groovy-style
*
* Created on Mar 15, 2012
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0