Skip to content

Instantly share code, notes, and snippets.

View DodoGames7's full-sized avatar
🍕
Pizza?

dodoGames DodoGames7

🍕
Pizza?
View GitHub Profile
@DodoGames7
DodoGames7 / readme.md
Last active November 13, 2023 18:38
A "blog-like" gist describing my experience with windows on old hardware and whether or not you should use modern windows on low end devices.

Introduction

It is common that system requirements do increase with each new version of windows and devices that exist overtime becomes outdated or old being replaced by the newer generation of devices such as High end computers, laptops, etc.

This however does not mean that old devices are "useless" as they still have a use to this today and this can be said to any low end device no matter how old it has aged as time went on.

The question is that, is it worth it to run modern windows on old hardware? That's what this readme is about and i will share my experience with windows 10 on a 2010 hp laptop.

Before we start

Please note that this is an experience i had and results could vary for each modern windows on old hardware. Some old devices actually run modern windows without issues and some are not powerful enough to handle the resources it uses. I'm sadly one of the people that had bad experience with it but though, this is an afterall smth that i wanted to talk about and share it with people on inter

@DodoGames7
DodoGames7 / aoi_coinflip.js
Created June 4, 2023 18:52
Coinflip command for aoi.js v6
// requires aoi.js v6 with aoi.parser installed
// install aoi.parser with "npm i aoi.parser" and go to https://aoi-parser.vercel.app/documentation/quickstart for setup
module.exports = [{
name: "coinflip",
executeAt: "both",
code: `$title[Coin Flip]
$description[The coin is in the air, choose heads or tails below.]
$color[Red]
$addButton[1;Tails;1;tailsbutton_$authorID;false]
$addButton[1;Heads;4;headsbutton_$authorID;false]
@DodoGames7
DodoGames7 / slash_choice_example.js
Last active February 12, 2024 18:09
aoi.js v6 slash choice example with test command
module.exports = [{
name: "create",
code: `The example slash command with choices has been created! Run the command to check out.
$createApplicationCommand[$guildID;choice;slash command choices showcase!;true;false;slash;[{
"name": "option",
"description": "options example",
"required": true,
"type": 3,
"choices" : [{
"name" : "choice 1",
@DodoGames7
DodoGames7 / anonymise.js
Created October 14, 2021 21:17 — forked from insertish/anonymise.js
Randomise your Steam purchases for safely fucking with scammers.
[...document.querySelectorAll('.wallet_table_row')]
.map(x => {
if (x.querySelector('.wht_items').innerText.includes('£')) return x.parentElement.removeChild(x);
let amount = (Math.random() * 20).toFixed(2);
x.querySelector('.wht_total').innerText = "£" + amount;
x.querySelector('.wht_wallet_change').innerText = "-£" + amount;
x.querySelector('.wht_wallet_balance').innerText = "£0.00";
});
[...document.querySelectorAll('.wth_payment')].map(x => x.innerText = 'Visa **37');
@DodoGames7
DodoGames7 / modding_discord.md
Created August 22, 2021 22:47 — forked from vanyle/modding_discord.md
Modding the Discord client

Modding the discord client

Disclaimer: Modding the discord client is against Discord's term of service. I'm not responsible if any action is taken against you.

Why modding ?

Modding the client will allow you to customize to:

  • change the appearance of the discord client
  • have script to automaticaly send messages at specific times
  • log messages from a chat into a local file

This guide will explain how to inject js code into the discord client and send messages. I'm assuming you know you to write javascript code and are using Windows.