Skip to content

Instantly share code, notes, and snippets.

HoloCure on Android instructions

(These instructions are for Windows, Mac users will need to download the Mac versions of everything, Linux users you're on your (very capable) own.)

Setup

You will first need to obtain the most update to date version of HoloCure that is not built with YYC (which is unfortunately an older patch, but still 0.6):

  1. Install Steam, create an account/login and add HoloCure to your library, but do not download it.
  2. Either open your web browser, or on Windows hit Win+R and type the following and hit enter: steam://open/console, allowing Steam to open if needs be. This starts the Steam console.
  3. The latest patch of HoloCure without YYC is Build 11968500, to download this, execute the command download_depot 2420510 2420511 2583401865065080709 in the console, and wait for the download to finish, which should give yo
@jdah
jdah / network_demo.c
Created January 31, 2024 14:22
the world's most basic client/server
#include <stdio.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netdb.h>
#include <unistd.h>
static void server() {
// create socket
@jdah
jdah / macro_explanation.c
Created January 31, 2024 14:21
explaining some C macro magic
// so a cool trick with macros in C (and C++) is that since macros inside of
// macros are stille evaluated by the preprocessor, you can use macro names as
// parameters to other macros (and even construct macro names out of out of
// parameters!) - so using this trick if we have some macro like
// this:
#include <stddef.h>
#define MY_TYPES_ITER(_F, ...) \
_F(FOO, foo, 0, __VA_ARGS__) \
@aamiaa
aamiaa / RevertNewLayout.md
Last active April 29, 2024 21:25
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
@Xeukxz
Xeukxz / RevertUI.md
Last active March 9, 2024 10:06
Revert Discord UI

Updated Version:

If you want to download an older version ive heard 205.15 works well, i reccomend ApkMirror

Using a modified app (Android & IOS friendly):

  1. Follow the instructions from https://github.com/vendetta-mod/Vendetta
  2. After the client is installed, navigate to Settings > Plugins, then click the +, and finally paste https://vd-plugins.github.io/proxy/maisymoe.github.io/strife/Experiments into the input and click Install
  3. Once the experiments plugin is enabled, reload the app then go to Settings > Experiments > Tabs V2 - redesign opt-out/in for all and select Control Bucket.

Ive also heard enmity works well for IOS.

@DinleyH
DinleyH / windowkill.py
Last active April 8, 2024 01:28
Automatically close problematic dialog popups in sublime text 3.
This closes the popups instantly so you never see them and they dont effect indenting etc. Works on windows.
To install
1. open sublime
2. go to tools -> Developer -> New Plugin
3. paste the code into the document (replacing any existing code sublime includes in the document)
4. save the file using the default user plugin directory sublime suggests.
(on windows this is C:\Users\yourname\AppData\Roaming\Sublime Text\Packages\User)
5. Restart.
@Rian8337
Rian8337 / dpprebalance_2021-10-17.md
Last active November 3, 2021 16:01
DPP Rebalance October 17, 2021 Changelog
  • Aim revamp
    • Aim skill calculation is reverted to what it used to be, along with the addition of movement strain (moved from original speed skill).
  • Rhythm revamp
    • Rhythm skill has been removed and incorporated to speed skill (applied to tap strain).
  • HD bonus bug fix
    • This bug caused HD bonus to be 20% more than they should.
  • AR>10.33 bonus bug fix
    • This bug caused high AR (above 10.33) bonus to become nonexistent (literally).
  • Merge of PC star rating/pp changes:
  • Better star rating that correlates with pp
@tylermorganwall
tylermorganwall / submarine_cable_map.R
Last active April 19, 2024 07:36
Submarine Cable Map Dataviz
library(geojsonsf)
library(sf)
library(rayrender)
#Data source: https://github.com/telegeography/www.submarinecablemap.com
cables = geojson_sf("cable-geo.json")
cablescene = list()
counter = 1
for(i in 1:length(cables$geometry)) {
this video was created earlier in january from a stupid idea and was driven by sheer determination
despite lacking programming skill. here's a decent description of how it was made (because i am
too lazy to write a github readme):
1. the video
i downloaded the pv off youtube and used ffmpeg to resize it down to 70x54 dimensions (for easy
math calculations, i used 27 firefox windows, 7 tabs each, so it divided nicely). i then used
ffmpeg (again) to splice the source video into 15-second segments to reduce desyncing and cpu load.
2. the frames