Skip to content

Instantly share code, notes, and snippets.

View JanDeDobbeleer's full-sized avatar

Jan De Dobbeleer JanDeDobbeleer

View GitHub Profile
@JanDeDobbeleer
JanDeDobbeleer / .aliae.yaml
Last active December 5, 2023 12:50
Configs
alias:
- name: a
value: aliae
- name: g
value: git
- name: z
value: zoxide
- name: ls
value: exa -la --icons
if: hasCommand "exa"
@JanDeDobbeleer
JanDeDobbeleer / .aliae.yaml
Created July 5, 2023 08:09
Aliae Configuration
aliae:
- alias: g
value: git
{
"Ansi 7 Color" : {
"Green Component" : 0.73333334922790527,
"Blue Component" : 0.73333334922790527,
"Red Component" : 0.73333334922790527
},
"Tags" : [
],
"Ansi 12 Color" : {
@JanDeDobbeleer
JanDeDobbeleer / codepoints.csv
Created January 27, 2023 13:20
Codepoints test for NF Migration
f500 f0001 vector_square
f501 f0003 access_point
f502 f0002 access_point_network
f503 f0004 account
f504 f0005 account_alert
f505 f0006 account_box
f506 f0007 account_box_outline
f507 f0008 account_check
f508 f0009 account_circle
f509 f000a account_convert
@JanDeDobbeleer
JanDeDobbeleer / cleanup.sh
Created November 24, 2022 13:22
Matodon cleanup scripts
#!/bin/bash
cd /home/mastodon/live
bin/tootctl media remove --days=7
bin/tootctl preview-cards remove --days=7
bin/tootctl statuses remove --days=3
bin/tootctl media remove-orphans
@JanDeDobbeleer
JanDeDobbeleer / Error 1
Created November 13, 2022 18:34
MixedRealityFeatureTool
Application: MixedRealityFeatureTool.exe
CoreCLR Version: 6.0.822.36306
.NET Version: 6.0.8
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException: The process cannot access the file 'C:\Users\jan\AppData\Local\MixedRealityFeatureTool\MixedRealityFeatureTool.log' because it is being used by another process.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"Output": "",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "p:yellow",
"foreground": "p:black",
@JanDeDobbeleer
JanDeDobbeleer / changelog.md
Created October 28, 2021 13:56
oh-my-posh changelog

(2021-10-28)

  • docs: make sidebars collapsible (44409be)
  • docs: remove version information from docs (66d9c1d)
  • docs: style GitHub link (3d0094b)

5.16.2 (2021-10-28)

if (!(Test-Path $PROFILE)) {
$profileDir = Split-Path $PROFILE
if (!(Test-Path $profileDir)) {
New-Item -Path $profileDir -ItemType Directory | Out-Null
}
'' > $PROFILE
}
function Write-ExitIfNeeded {
param (
@JanDeDobbeleer
JanDeDobbeleer / egg.go
Created March 20, 2018 09:32
Break the egg
package main
import (
"fmt"
"io/ioutil"
"net/http"
"net/url"
"strings"
)