Skip to content

Instantly share code, notes, and snippets.

@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)"
@BalazsGyarmati
BalazsGyarmati / scroll_to_plusminus_macos.swift
Last active April 27, 2024 13:58
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 / Controller_Overclock_Guide_with_Secure_Boot_Enabled.md
Last active April 22, 2024 17:45
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

@lykn
lykn / buttons.md
Last active April 16, 2024 05:39
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

@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 {
@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.

@9to5IT
9to5IT / Script_Template.ps1
Last active April 9, 2024 14:01
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>