Skip to content

Instantly share code, notes, and snippets.

Avatar

Jan De Dobbeleer JanDeDobbeleer

View GitHub Profile
View settings.json
{
"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
View codepoints.csv
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
View cleanup.sh
#!/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
View Error 1
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
View posh.omp.json
{
"$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
View changelog.md

(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)

View post-install.ps1
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
View egg.go
package main
import (
"fmt"
"io/ioutil"
"net/http"
"net/url"
"strings"
)
View conemu.xml
<?xml version="1.0" encoding="utf-8"?>
<key name="Software">
<key name="ConEmu">
<key name=".Vanilla" modified="2018-03-16 12:27:08" build="180206">
<value name="StartType" type="hex" data="02"/>
<value name="CmdLine" type="string" data=""/>
<value name="StartTasksFile" type="string" data=""/>
<value name="StartTasksName" type="string" data="{Shells::PowerShell}"/>
<value name="StartFarFolders" type="hex" data="00"/>
<value name="StartFarEditors" type="hex" data="00"/>
@JanDeDobbeleer
JanDeDobbeleer / .env
Last active August 15, 2017 18:25
GitHub Tools
View .env
XHUB_SECRET=your_secret
GITHUB_API_KEY=your_personal_access_token