Skip to content

Instantly share code, notes, and snippets.

View tuokri's full-sized avatar

Tuomo tuokri

  • Finland
  • 14:43 (UTC +02:00)
View GitHub Profile
@Sacristan
Sacristan / push_commits_by_chunks.sh
Last active September 10, 2024 16:36
Push commits by chunks
REMOTE=origin
BRANCH=$(git rev-parse --abbrev-ref HEAD)
BATCH_SIZE=10
# check if the branch exists on the remote
# if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then
# # if so, only push the commits that are not on the remote already
# range=$REMOTE/$BRANCH..HEAD
# else
# # else push all the commits
@GavinRay97
GavinRay97 / flags.txt
Last active May 31, 2024 10:34
Good Clang C++ Flags
# Created with: $ diagtool tree
-Wall
-Wextra
-Wpedantic
-Warray-bounds-pointer-arithmetic
-Wbind-to-temporary-copy
-Wcalled-once-parameter
-Wcast-align
@jamiephan
jamiephan / README.md
Last active November 14, 2024 23:02
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com