Skip to content

Instantly share code, notes, and snippets.

View SirJson's full-sized avatar
:electron:
Am Heimcomputer sitz' ich hier, und programmier' die Zukunft mir

Raffael Zica SirJson

:electron:
Am Heimcomputer sitz' ich hier, und programmier' die Zukunft mir
View GitHub Profile
@SirJson
SirJson / 0 Odin debugging on windows.md
Created June 24, 2025 17:49 — forked from RednibCoding/0 Odin debugging on windows.md
Odin debugging on windows with vscode. See: readme

Setup

To setup debugging for Odin programs on Windows with VsCode follow these steps:

  • make sure you have the C/C++ extension pack (VsCode extension) installed
  • create a .vscode folder at the root of your Odin project
  • copy the launch.json and tasks.json into it
  • click on the debug tab in VsCode, then click on the debug button at the top (or press F5)

Note: if you want to use a starter template which also sets up a tracking allocator which tracks and reports memory leaks you can use: https://github.com/RednibCoding/Odin-Starter

@SirJson
SirJson / fikaserver.md
Created May 9, 2024 16:05
SPT AKI Fika Server With Docker Ubuntu/Debian
@SirJson
SirJson / openra-launch-server.cmd
Created April 28, 2021 00:47
Modified OpenRA dedicated server launch script for Windows releases
:: example launch script, see https://github.com/OpenRA/OpenRA/wiki/Dedicated for details
@echo on
set Name="Dedicated Server"
set Mod=ra
set ListenPort=1234
set AdvertiseOnline=True
set Password=""
set RecordReplays=False
@SirJson
SirJson / config.json
Last active January 4, 2021 19:48 — forked from bjesus/README.md
Weather widget for waybar
"custom/weather": {
"format": "{}",
"tooltip": true,
"interval": 3600,
"exec": "waybar-wttr.py",
"return-type": "json"
},
@SirJson
SirJson / treestyletab.css
Created December 20, 2020 23:18
Firefox CSS
tab-item {
transition : all 0.3s cubic-bezier(.25, .8, .25, 1) !important;
--tab-size : 2.5vh !important;
height : var(--tab-size);
border : solid 1px #33333344;
font-family : Inter, Source Sans Pro, Bahnschrift, sans-serif !important;
font-size : 11px;
letter-spacing: 0.005em;
line-height : 15px;
@SirJson
SirJson / folders.csx
Created October 16, 2020 03:51
Prints all special folder on the current platform
using System;
using System.Reflection;
using static System.Console;
using static JSPrint;
public static class JSPrint {
private static int groupLevel = 0;
public static void Group()
{
@SirJson
SirJson / install-docker.sh
Last active October 9, 2020 03:59
Install Docker on Ubuntu 20.x without reading the manual
#!/bin/bash
_install_docker() {
echo "> Starting Docker setup!"
apt-get remove docker docker.io containerd runc
apt-get update
apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
@SirJson
SirJson / Powerlevel10k-Improved.psm1
Created September 19, 2020 04:15
Powerlevel10k-Theme color mod for PowerShell
#requires -Version 2 -Modules posh-git
Import-Module PowerColorTerm
function Write-Theme {
param(
[bool]
$lastCommandFailed,
[string]
$with
@SirJson
SirJson / .zprofile
Created June 30, 2020 13:54
How to make zsh use .profile
emulate sh
. ~/.profile
emulate zsh
# Why is that not the default behaviour?
# https://superuser.com/questions/187639/zsh-not-hitting-profile
@SirJson
SirJson / hidetaskbar.csx
Created June 20, 2020 19:05
This is a ugly hacked together C# Script that will hide your taskbar for 5 seconds and restores it. A starting point for a custom taskbar maybe?
using System.Runtime.InteropServices;
using System;
using System.Windows;
using System.Threading;
using System.Drawing;
public enum TaskbarPosition
{
Unknown = -1,
Left,