Skip to content

Instantly share code, notes, and snippets.

View TrevTV's full-sized avatar

Trevor TrevTV

View GitHub Profile
@TrevTV
TrevTV / ArcOn10.md
Last active May 10, 2024 09:29
Guide to installing Arc Browser on Windows 10

As this is not an official way of installing Arc, if you encounter any issues do NOT report them to the developers, they did not intend for people to be running Arc on Windows 10.

This guide is a bit more manual since I wanted to respect the developers' wishes and not directly link any downloads to the beta of Arc.

I don't know how this will work with updates, you may just need to redo the process to update it, but I'm not sure

  1. Install this font: https://aka.ms/SegoeFluentIcons (this fixes the icons since Windows 10 doesn't have this font installed by default)
  2. Download the Arc appinstaller and open it in notepad/some other text editor
  3. Copy everything inside and paste it into this website: https://codebeautify.org/xmlviewer (this is optional, but it makes reading and copying from the file easier)
  4. Find the mainpackage @Uri, it should end in Arc.x64.msix, and open that in a new tab. It should download that msix file.
@TrevTV
TrevTV / YTPlaybackBarToggler.js
Created August 6, 2023 04:09
JavaScript bookmark that toggles the YouTube playback bar
javascript:(()=>{var bottomElement=document.getElementsByClassName("ytp-chrome-bottom")[0];var currentStyle=bottomElement.getAttribute("style");if(currentStyle.includes("display: none;")){bottomElement.setAttribute("style",currentStyle.replace("display: none;","display: block;"))}else{bottomElement.setAttribute("style",currentStyle+"display: none;")}})();
@TrevTV
TrevTV / TogglHourDecimalCalc.user.js
Last active July 11, 2023 00:24
Adds the decimal time count to the project page on Toggl
// ==UserScript==
// @name Toggl Hour Decimal Calculator
// @namespace https://trev.app
// @version 0.1
// @description Show hour decimal on Toggl project page
// @author trev.app
// @match https://track.toggl.com/*
// @grant none
// ==/UserScript==
@TrevTV
TrevTV / LibUnityStripGenerator.cs
Created March 12, 2023 02:43
A mess of decompiled Unity code in an attempt to help create custom stripped versions of libunity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Reflection;
using System;
using System.Text;
using Unity.VisualScripting;
using System.IO;
using System.Linq;