Skip to content

Instantly share code, notes, and snippets.

View bagusnl's full-sized avatar
🅱️
Derp

Bagus Nur Listiyono bagusnl

🅱️
Derp
View GitHub Profile
@bagusnl
bagusnl / readme.md
Created July 6, 2023 00:56
Setting up Cloudflare R2 as CDN with HTTP frontend also uploads files from GitHub repository to said CDN with Actions

Setting up Cloudflare R2 as CDN

This guide will set up a CDN with URL frontend and sync them up from GitHub Repo with Actions

Things needed:

  • A domain that is tied to Cloudflare (free CF account is probably enough, depends on the load to your CDN)

Steps:

  1. Make a Cloudflare R2 bucket > Take a note of its bucket name.

1.70.0: Name Pending

[Note]: This is a DRAFT release, which means that many of the changes are not final and are subject to change without notice. This version is being released to those who want to test Collapse, and may not be released to the general public for some time. Please report any issues by creating an issue here. Thanks!

Welcome to another release of Collapse! We know that we just released 1.69.0: Codename: Version Kiana, but we want to stick to a faster release schedule. That being said, expect less new features, and more maintenance releases in the near future, as we have big plans for Collapse! Let's jump right into this version \o/

What's New?

@bagusnl
bagusnl / cm_autobench.bat
Created September 4, 2022 15:50
CPU CCX/Cache/Memory Benchmark Script
@echo off
:: CCX, Memory, and Cache benchmark automator by bagusnl
:: Requires CCXLatency.exe (can be found in Ryzen DRAM Calculator by 1usmus) and AIDA64 Engineer Edition
echo RUN THIS BATCH FILE AS ADMINISTRATOR TO PREVENT ERRORS/EXCESSIVE UAC REQUESTS
:: Set your AIDA64 Engineer and CCXLatency.exe path here
set aida=".\tools\AIDA64\aida64.exe"
set ccxlat=".\tools\CCXLatency.exe"
[Script Info]
; Script generated by YTSubConverter 1.6.0
; https://github.com/arcusmaximus/YTSubConverter/
ScriptType: v4.00+
WrapStyle: 0
ScaledBorderAndShadow: yes
PlayResX: 1280
PlayResY: 720
[V4+ Styles]
Unable to validate information for weapon ID#1
Weapon ID: 1
Name: AmosBow
Level 86+
Refinement: 1
Locked: False
Equipped character: Fischl
Unable to validate information for weapon ID#0
@bagusnl
bagusnl / Application Error
Created September 16, 2021 10:51
ryzenadj debug event viewer output
Error 9/16/2021 5:41:24 PM Application Error 1000 (100)
- System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Version 0
Level 2
@bagusnl
bagusnl / Event 1000 Application Error Log.xml
Last active September 15, 2021 13:16
RyzenAdj WER log dump
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-09-15T03:29:50.6528616Z" />
12:00:07.114: CPU Name: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx
12:00:07.114: CPU Speed: 2595MHz
12:00:07.114: Physical Cores: 2, Logical Cores: 4
12:00:07.114: Physical Memory: 14274MB Total, 10720MB Free
12:00:07.114: Windows Version: 10.0 Build 19043 (release: 2009; revision: 1110; 64-bit)
12:00:07.114: Running as administrator: false
12:00:07.114: Aero is Enabled (Aero is always on for windows 8 and above)
12:00:07.115: Windows 10 Gaming Features:
12:00:07.115: Game Bar: On
12:00:07.115: Game DVR: On
@bagusnl
bagusnl / ytdl.bat
Created March 11, 2021 05:26
youtube-dl Batch Wrapper Auto Download Best Quality + Subs (if available) and Remux
@echo off
title youtube-dl Autodownload Script
echo Automatically downloading best video and audio quality of given YouTube url
echo Also embed subtitles/closed captions if available
echo Require youtube-dl and ffmpeg to be installed and on PATH (Chocolatey install recommended)
echo.
set /p url="Enter Youtube URL: \\" \\""
youtube-dl -f bestvideo+bestaudio --write-sub --merge-output-format mkv -v --console-title --embed-subs %url%
echo.
title Download Complete
@bagusnl
bagusnl / run.bat
Created June 18, 2020 07:11
waifu2x ncnn batch script
@echo off
title waifu2x Vulkan CLI
echo waifu2x Vulkan CLI
set processor=
set thread_load=
set thread_proc=
set thread_save=
set thread=
set scaler=