Skip to content

Instantly share code, notes, and snippets.

View OJ7's full-sized avatar
🦁
Woof!

Omair OJ7

🦁
Woof!
View GitHub Profile
@Allavaz
Allavaz / bakkesmod-proton.md
Last active February 12, 2024 18:58
Running BakkesMod on Linux with Steam Proton

This guide is outdated

Check this one out: https://github.com/CrumblyLiquid/BakkesLinux

Running BakkesMod on Linux with Steam Proton

Prerequisites

I had to install these packages along the process. I'm on Fedora 36 though, so package names may vary depending on what distro you're on:

  • protontricks
@khongi
khongi / .zshrc
Created April 23, 2021 07:34
Unraid Zsh with persistent config
# This is your .zshrc, put it in /boot/config/extra/
export ZSH="/root/.oh-my-zsh"
ZSH_THEME="robbyrussell"
DISABLE_UPDATE_PROMPT="true"
plugins=(
zsh-autosuggestions
@jthodge
jthodge / universal-switcher
Created September 6, 2020 22:07
Show macOS app switcher across all monitors
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock
@MichaelCurrin
MichaelCurrin / README.md
Last active May 16, 2024 12:45
GitHub GraphQL - Get Pull Requests using GH's GraphQL API

Get Pull Requests using GH's GraphQL API

How to get Pull Requests data using Github in the browser, or using the API to allow for automating reporting or building in values into a website.

Resources

# this file contains keys needed for decryption of file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
b5d8ab06ed7f6cfc529f2ce1b4ea32fd # Starbuck Ancast
9a164ee15ac7ceb64d3cc130094095f6 # 007 Legends [EUR, NUS]
@GLMeece
GLMeece / Steps_to_Terminal_Enlightenment_on_a_Mac.md
Last active June 6, 2024 06:10
Steps to Terminal Enlightenment on a Mac (tweaking your terminal for fun and profit)
@simon987
simon987 / youtube-dl_soundcloud.md
Created October 16, 2018 00:10
snippet for using youtube-dl to download soundcloud playlists

Heres a snippet for using youtube-dl to download soundcloud playlists:

youtube-dl -w -o "Playlist/%(playlist_title)s (%(playlist_uploader)s) - %(playlist_id)s/%(title)s.%(ext)s" -f bestaudio --embed-thumbnail --add-metadata https://soundcloud.com/tommisch/sets
@SciresM
SciresM / tz_5x.idc
Created April 24, 2018 01:12
IDC for the Nintendo Switch's Secure Monitor, version 5.0.0.
#define UNLOADED_FILE 1
#include <idc.idc>
static main(void)
{
// set 'loading idc file' mode
set_inf_attr(INF_GENFLAGS, INFFL_LOADIDC|get_inf_attr(INF_GENFLAGS));
GenInfo(); // various settings
Segments(); // segmentation
Enums(); // enumerations
@enh
enh / build-boost-for-android.sh
Last active July 19, 2023 00:19
Shell script to build boost for Android
#!/bin/bash
version=1.68.0
echo "Building boost $version..."
set -eu
toolchain=$PWD/toolchain
if [ ! -d "$toolchain" ]; then
echo "Building toolchain..."
@Jogan
Jogan / FloatingActionButton.java
Last active December 4, 2023 12:48
Implementation of Android L's floating action button pattern. API 14+
package your_package;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;