Skip to content

Instantly share code, notes, and snippets.

@Shoozza
Shoozza / agent.cmd
Last active April 20, 2022 02:45
Make Cmder work with ssh-agent
@ECHO OFF
SETLOCAL
GOTO:MAIN
REM
REM Info functions start
REM
REM Display version and copyright information
:VERSION
@Shoozza
Shoozza / rust_scope.rs
Last active August 29, 2015 14:11
rust scope
fn main() {
struct Magic<T> { val: T }
let i = "string";
println!("i = {}", i);
let Magic { val: mut i } = Magic { val: 5u };
println!("i = {}", i);
i = 7;
@Shoozza
Shoozza / Cmder.bat
Last active May 10, 2017 10:31
Cmder.bat argument execution support
@ECHO OFF
REM Example: Cmder.bat vim hello_world.c
REM will run vim hello_world.c inside Cmder
REM Note Add following line at the end of init.bat (without REM)
REM @if not "%*" == "" %*
SET "CMDER_ROOT=%~dp0"
IF "%ConEmuDir%" == "" SET "ConEmuDir=%CMDER_ROOT%\vendor\conemu-maximus5"
START "" "%ConEmuDir%\ConEmu.exe" /Icon "%CMDER_ROOT%\icons\cmder.ico" /Title Cmder /LoadCfgFile "%CMDER_ROOT%\config\ConEmu.xml" /cmd cmd /k ""%ConEmuDir%\..\init.bat" %*" -new_console:d:%USERPROFILE%

Keybase proof

I hereby claim:

  • I am shoozza on github.
  • I am shoozza (https://keybase.io/shoozza) on keybase.
  • I have a public key ASAb4DQgMn-DlmoR3g4nnwy7W5GKyjFn02roJRYK_D8A4Ao

To claim this, I am signing this object:

@Shoozza
Shoozza / userContent.css
Last active April 28, 2019 12:59
Firefox Readermode dark sidebar theme + hidden + show on hover + yellow selection + yellow link color
/*
how to install:
- visit about:support
- open profile folder
- create/edit chrome\userContent.css file
*/
@-moz-document url-prefix("about:reader") {
/* fix toolbar */
.toolbar {
@Shoozza
Shoozza / amulet_editor_hotkeys.js
Created September 8, 2018 10:38
amulet editor hotkeys
document.onkeypress=function(e){
var KEY_R = 114;
var KEY_X = 120;
var KEY_Y = 121;
var KEY_C = 99;
var KEY_P = 112;
var KEY_S = 115;
var KEY_H = 104;
var e = e || window.event;
@Shoozza
Shoozza / install_luarocks_windows_10.md
Last active March 10, 2024 09:34
Installing Luarocks on Windows with MSYS2 and gcc

Installing Luarocks on Windows

Getting Luarocks to work on Windows 8.1/10 with MSYS2 gcc (mingw64)

1. MSYS2 installation

  1. Visit https://www.msys2.org/
  2. Click on the link next to "Download the installer"
  3. Run the installer
  4. Add "C:\msys64\usr\bin" to path
@Shoozza
Shoozza / game_engine_framework_export_size_windows.md
Last active May 22, 2023 20:39
Empty Project Game Engine/Framework Export Size (uncompressed Windows Executable and Data)

Empty Project Export sizes on Windows for Game Engines, Game Frameworks, Virtual Consoles and Game Programming Languages

Name Size ↑¹ Size (compressed with UPX ) ↑² Link
rxi/kit 55.00 KB 30.50 KB 🔗
WASM-4 (c version) 236.00 KB ??? 🔗
raylib 0.99 MB 275.00 KB 🔗
BlitzMax (MaxIDE 1.43) 1.49 MB 650.00 KB 🔗
rxi/juno 1.61 MB 759.00 KB 🔗
PICO-8 2.37 MB 987.00 KB 🔗
@Shoozza
Shoozza / japanese-language-learning-apps.md
Created August 26, 2023 13:57
Feature table: Apps for learning japanese
name web mobile paid textbook grammar srs vocab visual vocab cloze vocab writing vocab subs reading kana kanji reading kanji writing audio speaking pitch media games dictionary
bunpro yes yes yes' no yes yes no no no no no no no no no no no no no no ?
bunpo no yes yes'
NAME PLATFORM CATEGORY COMMENT
====================================================================
anki " @android @pc #vocab ()
babbel ' @android @web #course (spanish)
beelinguapp ' @android #reading ()
bunpo ' @android #grammar ()
bunpro ' @android @web #grammar (japanese)
busuu $ @android @web #vocab ()
chatterbug $ @android #streams (spanish)
clozemaster ' @android @web #vocab ()