Skip to content

Instantly share code, notes, and snippets.

View karstengresch's full-sized avatar
:octocat:
.

Karsten Gresch karstengresch

:octocat:
.
View GitHub Profile
@karstengresch
karstengresch / settings.json
Created March 13, 2023 00:00
My settings.json as of 2023-03-13
{
/* GENERAL/WORKBENCH*/
"update.mode": "manual",
"workbench.colorTheme": "Mayukai Sunset",
"workbench.editor.enablePreview": false,
"workbench.editor.untitled.hint": "hidden",
"workbench.fontAliasing": "auto",
"workbench.iconTheme": "vscode-icons",
"workbench.settings.editor": "json",
"workbench.settings.useSplitJSON": true,
@karstengresch
karstengresch / keybindings.json
Created October 19, 2022 10:21 — forked from kevinslin/keybindings.json
Kevin's VSCode Keybindings
// Place your key bindings in this file to override the defaults
[
// The following are Kevin's keybindings for VSCode
// They are made available under CC BY 4.0
//
// To navigate
// `==` denote sections
// `---` denotes subsections
//
// == Dendron
@karstengresch
karstengresch / DisableBigSur.sh
Created May 30, 2022 06:45 — forked from b0gdanw/DisableBigSur.sh
Disable Big Sur services
#!/bin/zsh
#Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
#Disabling unwanted services on macOS 11 Big Sur (11) and macOS Monterey (12)
#Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
#Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist & disabled.205.plist
# user
TODISABLE=()
@karstengresch
karstengresch / mkdim.py
Created August 20, 2021 13:02 — forked from esemwy/mkdim.py
Create DAZ Install Manager packages from zip or directory
#!/usr/bin/python
import uuid
import os
from zipfile import ZipFile, is_zipfile
import sys
import time
from random import randint
import argparse
import re
@karstengresch
karstengresch / devfile.yaml
Last active July 3, 2021 16:51
Quarkus Fork Getting Started devfile
apiVersion: 1.0.0
metadata:
generateName: quarkus-
projects:
- name: quarkus-quickstarts
source:
type: url
location: "https://github.com/karstengresch/quarkus-quickstarts.git"
components:
- type: chePlugin
apiVersion: v1
kind: ConfigMap
metadata:
name: fluentd-config
namespace: fluentd
labels:
app: fluentd
data:
fluentd.conf: |
@include prometheus.conf
@karstengresch
karstengresch / calibre-import-regex.txt
Created December 16, 2020 10:44
Calibre Import RegEx for Files following the naming convention (<author_last_name>, <author_first_name>)* - <title>
^(?P<author>([^\-_0-9]+)(?=\s*-\s*)(?!\s*-\s*[0-9.]+)|\b)(\s*-\s*)?(?P<title>([^\-_\[\(]+))
@karstengresch
karstengresch / gist:d9e53751f717a46e972db0543f4c940f
Created August 17, 2020 14:31 — forked from 480/gist:3b41f449686a089f34edb45d00672f28
MacOS X + oh my zsh + powerline fonts + visual studio code terminal settings

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
metadata:
name: quarkus-commandmode-u0k0p
projects:
- name: quarkus-quickstarts
source:
location: 'https://github.com/sunix/quarkus-quickstarts.git'
type: git
sparseCheckoutDir: getting-started-command-mode
branch: commandmode
attributes:
metadata:
name: user1-workspace
components:
- id: redhat/java/latest
type: chePlugin
- mountSources: true
endpoints:
- name: web-user1
port: 8080
attributes: