Skip to content

Instantly share code, notes, and snippets.

View axelrindle's full-sized avatar
🌴
California looks good on ya

Axel Rindle axelrindle

🌴
California looks good on ya
View GitHub Profile
@axelrindle
axelrindle / lcov.info
Created February 9, 2023 17:21
LCOV Report for .mts files
View lcov.info
TN:
SF:src/container.mts
FN:1,__name
FN:25,dispose
FN:30,startContainer
FNF:3
FNH:3
FNDA:1,__name
FNDA:3,dispose
FNDA:1,startContainer
@axelrindle
axelrindle / log_create_repository.txt
Last active March 15, 2022 09:30
Gitea Emoji Error
View log_create_repository.txt
2022/03/15 10:26:47 Started POST /repo/create for 192.168.0.1:37778
2022/03/15 10:26:47 Completed POST /repo/create 500 Internal Server Error in 63.108214ms
2022/03/15 10:26:47 ...ers/web/repo/repo.go:190:handleCreateError() [E] CreatePost: Error 1366: Incorrect string value: '\xF0\x9F\x9A\x97 D...' for column `gitea`.`repository`.`description` at row 1
@axelrindle
axelrindle / hs_err.log
Created December 28, 2021 11:04
FabricMC Java Crash Report
View hs_err.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffe967f54c2, pid=9672, tid=15388
#
# JRE version: OpenJDK Runtime Environment Microsoft-28056 (17.0.1+12) (build 17.0.1+12-LTS)
# Java VM: OpenJDK 64-Bit Server VM Microsoft-28056 (17.0.1+12-LTS, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# V [jvm.dll+0x2d54c2]
#
@axelrindle
axelrindle / telegram.yml
Created November 15, 2019 14:48
Actions Failure Telegram Message
View telegram.yml
- name: notify on failure
uses: appleboy/telegram-action@0.0.3
if: job.status == 'failure'
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
args: Die Tests für {{ github.repository }} sind fehlgeschlagen!
@axelrindle
axelrindle / show-temperatures.sh
Created October 14, 2019 15:56
bash utilities
View show-temperatures.sh
#!/bin/sh
cpu=$(cat /sys/class/thermal/thermal_zone0/temp)
echo "GPU => $(vcgencmd measure_temp | cut -d '=' -f 2)"
echo "CPU => $((cpu/1000))'C"
@axelrindle
axelrindle / Bundle.cs
Last active April 12, 2019 13:30
Unity3D Script Collection
View Bundle.cs
using System.Collections.Generic;
/// <summary>
/// A bundle holds data that will be saved to disk later.
/// </summary>
public class Bundle
{
#region Fields
private readonly Dictionary<string, object> _data;
@axelrindle
axelrindle / update-phpMyAdmin.sh
Last active September 2, 2018 20:50
phpMyAdmin Updater Shell Script
View update-phpMyAdmin.sh
#!/bin/bash
# Directories
BASE_PATH="/mnt/1TBHDD/www"
BACKUP_DIR="$BASE_PATH/backup"
DOCROOT="$BASE_PATH/docroot"
APP_DIR="$DOCROOT/phpmyadmin"
# Ask for the latest version
printf " > Enter the latest phpMyAdmin version: "
@axelrindle
axelrindle / electron-window-manager-utils.coffee
Created January 26, 2018 21:11
Utils for electron-window-manager
View electron-window-manager-utils.coffee
# -------------------------------------------------
# Modules
#
path = require 'path'
url = require 'url'
fs = require 'fs'
Menu = require('electron').Menu
# -------------------------------------------------
@axelrindle
axelrindle / cson.xml
Created January 29, 2017 09:43
Notepad++ CSON Language Definition (UDL)
View cson.xml
<NotepadPlus>
<UserLang name="CSON" ext="cson" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02\n 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@axelrindle
axelrindle / .htaccess
Last active May 27, 2018 10:36
Small PHP Blog System
View .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([^/]+)/?$ $1.php [L]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ - [L]