Find the latest version here: https://github.com/harold-b/odin-bindings/blob/master/sdl3/sdl3.odin
This file contains hidden or 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 audio | |
import "core:fmt" | |
// https://miniaud.io/docs/ | |
import ma "vendor:miniaudio" | |
// 0 - Use native channel count of the device | |
AUDIO_CHANNELS :: 0 | |
AUDIO_SAMPLE_RATE :: 0 |
This file contains hidden or 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
using System.Security.Cryptography; | |
namespace TgServer.Crypto; | |
public sealed class AesCtr { | |
private readonly byte[] _key; | |
private readonly byte[] _counter; | |
private readonly byte[] _blockKey; | |
private readonly ICryptoTransform _encryptor; |
This file contains hidden or 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
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b | |
#:: just copy-paste into powershell - it's a standalone hybrid script | |
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @' | |
$also_remove_webview = 1 | |
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps | |
$also_remove_widgets = 1 | |
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people | |
$also_remove_xsocial = 1 | |
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap |
This file contains hidden or 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 microui_raylib | |
import "core:fmt" | |
import "core:unicode/utf8" | |
import rl "vendor:raylib" | |
import mu "vendor:microui" | |
state := struct { | |
mu_ctx: mu.Context, | |
log_buf: [1<<16]byte, |
WARNING: This process is EXTREMELY experimental and not officially supported yet!
Thanks to the ongoing work on .NET WebAssembly support, it is now possible to build FNA games for the web!
If you decide to give this a try, be sure to tell us about it in the FNA Discord! I'm happy to help if you run into problems or have any further questions that are not answered here.
Chrome stores .user.js
scripts in a .ldb
, which isn't in a user accessible format to recovery. On some versions of macOS the provided python script can't compile the leveldb package. As a workaround, we can use the node level package to recover our userscripts.
This file contains hidden or 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
using System; | |
using System.Net.Http; | |
using System.Threading.Tasks; | |
using System.Text.RegularExpressions; | |
using System.Threading; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Microsoft.ClearScript.V8; |
This file contains hidden or 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
using System; | |
using DotGLFW; | |
using static DotGL.GL; | |
class Program | |
{ | |
/// <summary> | |
/// Obligatory name for your first OpenGL example program. | |
/// </summary> | |
private const string TITLE = "Hello Triangle!"; |
This file contains hidden or 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
using System; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
using System.Security; | |
using System.Text; | |
namespace OpenGL | |
{ | |
/// <summary> | |
/// Returns a function pointer for the OpenGL function with the specified name. |
NewerOlder