Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
California looks good on ya

Axel Rindle axelrindle

🌴
California looks good on ya
View GitHub Profile
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 Dec 28, 2021
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 Nov 15, 2019
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!
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 Apr 12, 2019
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 Sep 2, 2018
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 Jan 26, 2018
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 Jan 29, 2017
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
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]