Find the latest version here: https://github.com/harold-b/odin-bindings/blob/master/sdl3/sdl3.odin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package slang | |
import "base:intrinsics" | |
import "base:runtime" | |
import cffi "core:c" | |
when ODIN_OS == .Darwin { | |
@require foreign import libslang { | |
"./lib/libslang.dylib", | |
// "./lib/libslang_debug.dylib", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bgfx | |
import "base:intrinsics" | |
import "base:runtime" | |
import cffi "core:c" | |
when ODIN_OS == .Linux { | |
@require foreign import bgfx { | |
"libs/windows/bgfx.a", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lldb | |
import math | |
import logging | |
log = logging.getLogger(__name__) | |
def is_slice_type(t, internal_dict): | |
return (t.name.startswith("[]") or t.name.startswith("[dynamic]")) and not t.name.endswith(']') | |
def slice_summary(value, internal_dict): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jni | |
import "base:intrinsics" | |
import "base:runtime" | |
import cffi "core:c" | |
when ODIN_OS == .Linux { | |
foreign import lib { | |
"system:jni", | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
setlocal enabledelayedexpansion | |
wsl.exe krgpg %* |
Simple script to add to /etc/rc.local in order to disable AER spam issue on Asus Pro WS WRX80E-SAGE SE WIFI motherboards
NOTE: This was given to us thanks to https://gist.github.com/zekome/35db528b33206e68f18439ad7fabfcd5
This will disable the error spam for each pcie device listed in the ids
array
#!/bin/bash
set -eo pipefail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am harold-b on github. | |
* I am hbrenes (https://keybase.io/hbrenes) on keybase. | |
* I have a public key ASCzbHUfLxq8Is5VtlwA8cOP__7fo7oB9IddgTzAVW743Qo | |
To claim this, I am signing this object: |
Ubuntu was intalled with the default nvidia drivers that it brought (I believe 3.90)
Clone https://github.com/0xbb/apple_set_os.efi
For details, see the README.md
Build it:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
typedef Union2<T1,T2> = haxe.extern.EitherType<T1,T2>; | |
abstract JSObject( Dynamic ) from Dynamic to Dynamic | |
{ | |
public inline function new() | |
{ | |
this = {}; | |
} |
NewerOlder