Skip to content

Instantly share code, notes, and snippets.

View WiNiFiX's full-sized avatar
🏠
Working from home

WiNiFiX

🏠
Working from home
View GitHub Profile
@WiNiFiX
WiNiFiX / remove_curseforge_ads.md
Created September 24, 2024 09:26 — forked from timyc/remove_curseforge_ads.md
Remove CurseForge ads from the launcher

This only applies for Windows on the default CurseForge installation. You should have a modern Node.JS installation (I'm using version 20)

  1. Go to C:\Users\<YOUR USER>\AppData\Local\Programs\CurseForge Windows\resources
  2. Run npx @electron/asar extract app.asar app_made_by_tards on your cmd
  3. Go to the new app_made_by_tards folder and locate the dist folder
  4. Go to the dist folder and locate the desktop folder
  5. Go to the desktop folder and open desktop.js

As of right now, what needs to be edited is on LINE 165

@WiNiFiX
WiNiFiX / SpriteBatchExample.cs
Created July 21, 2019 13:13 — forked from bcreswell/SpriteBatchExample.cs
SharpDX Direct2D spritebatch example
using SharpDX;
using _d2d = SharpDX.Direct2D1;
using _d3d = SharpDX.Direct3D;
using _d3d11 = SharpDX.Direct3D11;
using _dxgi = SharpDX.DXGI;
using _directWrite = SharpDX.DirectWrite;
using _wic = SharpDX.WIC;
using SharpDX.Direct2D1;
using SharpDX.Direct3D;
using SharpDX.Direct3D11;