Skip to content

Instantly share code, notes, and snippets.

View crse's full-sized avatar
🎨
open art commission!

Chris crse

🎨
open art commission!
  • Antarctica
View GitHub Profile
export var viewportResizeStanddown = 0.5
var viewportResizeCounter = 0.0
signal settingsChanged()
signal particlesSettingsChanged()
signal removeGpuParticles()
func forbidParticles(time):
particlesForbiddenCounter = time
particlesForbidden = true
@pratyakshm
pratyakshm / Sideloading_apps_in_WSA.md
Last active May 10, 2024 13:22
Sideloading apps on Windows Subsystem for Android in Windows 11

Sideloading APKs in to Windows Subsystem for Android

Update (9th July, 2022): An app is available that does just this.

Check out WSATools by Simone Franco: https://www.microsoft.com/store/apps/9N4P75DXL6FG


Setting up ADB to work with WSA

  • Launch Windows Subsystem for Android.
@giorgi-o
giorgi-o / discord tic tac toe.js
Last active March 23, 2023 10:49
Discord Tic Tac Toe using Buttons (Components)
/**
* Tic Tac Toe using Discord's new components!
* https://reddit.com/r/discordapp/comments/nn733r
*
* Discord released their "components" feature yesterday,
* and I thought I might as well create something to
* try and learn how to use them, so here we go.
* This version doesn't even check for a winner lol.
*
* NOTE: As of 28/05, THIS WILL NOT WORK on the
@AndrewKvalheim
AndrewKvalheim / mastodon-notes.md
Last active February 9, 2024 18:30
Notes on running a personal Mastodon instance

Personal Mastodon instance

Effective total cost: $3–5/mo

Setup

Decide on an EC2 instance type:

  1. At AWS Console → EC2 → Instance Types, filter for ≥1 GB RAM and sort by price.
  • t4g.micro is lowest.
@abdilahrf
abdilahrf / hosts
Last active May 16, 2024 00:04
Blokir hostname INDIHOM* ke localhost kita biar kapok, untuk linux tambahin di file /etc/hosts & windows /System32/drivers/etc/hosts
# INDIHOM*
127.0.0.1 x-tags.net
127.0.0.1 a01.uadexchange.com
127.0.0.1 cdn.uzone.id
127.0.0.1 cdn3.uzone.id
127.0.0.1 cfs.uzone.id
127.0.0.1 csf.uzone.id
127.0.0.1 d01.notifa.info
127.0.0.1 d31qbv1cthcecs.cloudfront.net
127.0.0.1 d5nxst8fruw4z.cloudfront.net
@whinette
whinette / root_folder.py
Created January 2, 2019 11:23
tailored script to cleanup mess from pixiv
# -*- coding: utf-8 -*-
import os, sys
from stat import ST_MTIME
import distutils
from distutils import dir_util
import shutil
import logging
from datetime import datetime
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active June 20, 2024 12:30
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.
@infval
infval / emuparadise.download.user.js
Last active June 5, 2024 04:51
emuparadise.me download workaround (Most games + Sega Dreamcast, Books/Comics/Guides/Magazines)
// ==UserScript==
// @name EmuParadise Download Workaround
// @version 1.2.3
// @description Replaces the download button link with a working one
// @author infval (Eptun)
// @match https://www.emuparadise.me/*/*/*
// @grant none
// ==/UserScript==
// https://www.reddit.com/r/Piracy/comments/968sm6/a_script_for_easy_downloading_of_emuparadise_roms/
@dragontamer8740
dragontamer8740 / always-show-expunged.user.js
Created March 4, 2018 20:08
Include expunged galleries in e-hentai and exhentai searches by default
// ==UserScript==
// @name Always show expunged
// @namespace dragontamer8740.expunged
// @description Automatically checks the "show expunged galleries" checkbox. Now works in GreaseMonkey 4.
// @version 1.1
// @include http://g.e-hentai.org/*
// @include http://e-hentai.org/*
// @include http://exhentai.org/*
// @include https://g.e-hentai.org/*
// @include https://e-hentai.org/*
@missingno15
missingno15 / showroom_bot.rb
Created February 5, 2017 22:18
showroom bot
require "active_support/core_ext/numeric/time"
require "capybara"
require "capybara/poltergeist"
require "dotenv"
require "logger"
require "json"
require "pry"
Capybara.register_driver :poltergeist do |app|
Capybara::Poltergeist::Driver.new(app, {js_errors: false})