- Download this gist.
- You can use the git cli tool or download and extract the ZIP from the "Download ZIP" button at the top right of this gist
- Open the extracted contents from this repo.
- in vsc, one quick way to do this is navigating to
File->Open Folder
in the menu bar and locating the directory.
- in vsc, one quick way to do this is navigating to
- Create
/.vscode/
and moveextensions.json
there.- For example, if your download path was
C:/Users/User/Desktop/dooder
, then place it here:C:/Users/User/Desktop/dooder/.vscode/extensions.json
- For example, if your download path was
- On Windows,
ctrl+shift+p
brings up the command pallet by default. start by typing:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("node:fs"); | |
const sh = require("shelljs"); | |
if (!sh.which("git")) { | |
sh.echo("Sorry, this script requires git"); | |
sh.exit(1); | |
} | |
let schema = new CreateSchema(); | |
prompter(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author doodercodes | |
* @description Async JavaScript - Creating promises and handling promise chains. | |
* @description JAVASCRIPT WAITS FOR NOTHING! | |
* @date 08/03/2023 | |
**/ | |
const cart = randCart(); | |
createOrder(cart) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// npm install --save jimp | |
var Jimp = require("jimp"); | |
// Example usage (Promise will never resolve if callback is passed): | |
// open a file called "lenna.png" | |
Jimp.read("lenna.png", (err, lenna) => { | |
if (err) throw err; | |
lenna | |
.resize(256, 256) // resize |
Opera | OperaGX
made by /r/operabrowser/wiki/opera, pasted by me.
These are directs to Opera/GX's settings and customization pages for faster navigation. I found it handy to bookmark some of the ones that I use most often.
I should organize/section these, but some URLs are strictly for Opera and some only works for OperaGX.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://pypi.org/project/discord-rpc.py/ | |
# pip install discord-rpc.py | |
import discord_rpc | |
import time | |
if __name__ == '__main__': | |
def readyCallback(current_user): | |
print('Our user: {}'.format(current_user)) | |
def disconnectedCallback(codeno, codemsg): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# manage corsair preferables | |
choco install icue | |
# Browsers | |
choco install googlechrome | |
choco install opera-gx | |
# Auth | |
choco install bitwarden | |
choco install bitwarden-cli | |
# Productivity | |
choco install notion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://pypi.org/project/pypresence/ | |
# pip install pypresence | |
# Only Python versions 3.8 and above are supported. | |
from pypresence import Presence | |
import time | |
client_id = '64567352374564' # Fake ID, put your real one here | |
RPC = Presence(client_id) # Initialize the client class | |
RPC.connect() # Start the handshake loop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from gimpfu import * | |
import os, sys | |
import datetime | |
today = datetime.date.today() # Get today's date | |
formatted_date = today.strftime("%d/%m/%Y") # Format the date as DD/MM/YYYY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/cslee/list-my-gists | |
#!/bin/bash | |
public_only=0 | |
secret_only=0 | |
public_and_secret=0 | |
signature=1 | |
while test $# -gt 0; do | |
case "$1" in |
NewerOlder