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 December 25, 2024 09:04
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 November 11, 2024 18:56
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 July 5, 2024 15:31
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
@bastomiadi
bastomiadi / post-installation-void-linux-glibc.txt
Last active December 9, 2024 15:00
Post installation Void Linux (Glibc)
1. Update all package system
sudo xbps-install -Suv
2. add non-free repo
sudo xbps-install -Rs void-repo-nonfree
3. Software & utilities
sudo xbps-install -Rs xdg-desktop-portal xdg-desktop-portal-gtk xdg-user-dirs xdg-user-dirs-gtk xdg-utils vlc pipewire libspa-bluetooth noto-fonts-cjk noto-fonts-emoji noto-fonts-ttf noto-fonts-ttf-extra libreoffice-writer libreoffice-calc libreoffice-impress rhythmbox neofetch ntfs-3g gimp inkscape lm_sensors wget udisks2 gvfs mtpfs gvfs-mtp gvfs-gphoto2 xtools WoeUSB xz unrar qt5-wayland nano ffmpeg Kooha handbrake inxi streamlink
4. Install chrome gnome, gnome menu For Gnome & extension
@tylermorganwall
tylermorganwall / submarine_cable_map.R
Last active November 18, 2024 06:55
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)) {