Skip to content

Instantly share code, notes, and snippets.

@9to5IT
9to5IT / Script_Template.ps1
Last active November 3, 2024 18:13
PowerShell: Script Template
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
@marshyski
marshyski / Windows 10 Gaming Performance.md
Last active March 25, 2024 08:42
Windows 10 Gaming Optimizations

Windows 10 Gaming Performance

Tested On: MSI GS66 Stealth 10SFS-037 Laptop | Intel i7-10750H | Nvidia RTX 2070 Super

Date Updated: 28JUN2020

Est. Time to Completion: 1 hour

Expected improvement from stock Windows 10 install for gaming is 1-3x network improvement and reduction in OS overhead.

@Priva28
Priva28 / GradientEffect.swift
Last active December 1, 2023 04:43
Gradient effect to emulate Apple Music Lyrics/Now Playing screen.
//
// ContentView.swift
// GradientEffect
//
// Created by Christian Privitelli on 18/7/20.
//
import SwiftUI
struct ContentView: View {
@lykn
lykn / buttons.md
Last active November 17, 2024 10:10
A gist which shows/tells you how to make buttons using discord.py v2(version 2.0.0a)

Note: Before we go any further. Let me make this real clear that the following gist uses the OFFICIAL discord.py library and not forks like discord_components, nextcord, etc... So when your using this code but a different library and fuck up don't comment something mean or go to a help channel in the server and say "this gist is misleading" or "bad gist who wrote this" when your at fault, trust me I'm going to fuck you up😅

Just a reminder^^

Related Links:

DPY's Docs

Discord's Docs

@rstewa
rstewa / Controller_Overclock_Guide_with_Secure_Boot_Enabled.md
Last active September 20, 2024 10:39
Controller (DS4, Duelsense, Xbox, etc.) Overclock Guide with Secure Boot ON/ENABLED via LordOfMice/Hidusbf

Controller (DS4, Duelsense, Xbox, etc.) Overclock Guide with Secure Boot ON via LordOfMice/Hidusbf for Windows 10/11

Guide created by rstewa35

Warning

Use the guide at your own risk. Read the warnings/risks HERE.

Step 1

@BalazsGyarmati
BalazsGyarmati / scroll_to_plusminus_macos.swift
Last active August 13, 2024 18:45
Use cmd + scroll wheel to zoom inside apps in MacOS
//
// main.swift
// scroll_to_plusminus
//
// Created by uniqueidentifier on 2021-01-08.
// Modified by alex on 2022-07-08 to use modifiers for scrolling
// Modified by BalazsGyarmati on 2023-01-04 to use command instead of control + respect any keyboard layout for + and -
//
import Foundation
@rstewa
rstewa / Ruby-On-Rails-Install-Guide-MacOS-Ventura.md
Created June 11, 2023 21:57
Ruby on Rails install guide for MacOS Ventura

Ruby Rails Install Guide for MacOS Ventura

Step 1: Install Homebrew

Run this command inside your terminal to install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"