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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
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
| -- arr to track timers for repeating keys | |
| local repeatTimers = {} | |
| -- function to start repeating an action | |
| local function startRepeating(key, action) | |
| -- run action immediately on press | |
| action() | |
| -- if already running, skip | |
| if repeatTimers[key] then return end | |
| -- Start repeating every 0.1 seconds |
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
| #!/bin/sh | |
| # Tcl ignores the next line -*- tcl -*- \ | |
| exec /usr/local/opt/tcl-tk/bin/wish "$0" -- "$@" | |
| # Copyright © 2005-2016 Paul Mackerras. All rights reserved. | |
| # This program is free software; it may be used, copied, modified | |
| # and distributed under the terms of the GNU General Public Licence, | |
| # either version 2, or (at your option) any later version. | |
| if {[catch {package require Tcl 8.6-} err]} { |
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
| export ZSH="$HOME/.oh-my-zsh" | |
| ZSH_THEME="robbyrussell" | |
| export PATH="/usr/local/opt/ruby/bin:$PATH" | |
| #17 java | |
| # export JAVA_HOME=$(/usr/libexec/java_home -v 17) |
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
| /** | |
| * More robust Instagram "unlike all" script for the Likes activity page. | |
| * Paste on: https://www.instagram.com/your_activity/interactions/likes | |
| * | |
| * Note: Still brittle (depends on Instagram's DOM). Use at your own risk. | |
| */ | |
| ; (async function () { | |
| const DELETION_BATCH_SIZE = 9 | |
| const DELAY_BETWEEN_ACTIONS_MS = 1200 | |
| const DELAY_BETWEEN_WENTWRONG_MS = 3000000 |
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
| 1) - Copypaste all as one line: | |
| git config --global user.email "your_email@gmail.com" && | |
| git config --global user.name "your_username" && | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && brew install --force-bottle gh && | |
| ssh-keygen -t rsa -b 4096 -C "your_email@gmail.com" && | |
| ssh-add ~/.ssh/id_rsa && | |
| gh auth login | |
| 1.1) Click Enter 6 times |
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
| gh repo list gerwld --limit 4000 | while read -r repo _; do | |
| gh repo clone "$repo" "$repo" | |
| done |
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
| # Sample workflow for building and deploying a Next.js site to GitHub Pages | |
| # | |
| # To get started with Next.js see: https://nextjs.org/docs/getting-started | |
| # | |
| name: Deploy Next.js site to Pages | |
| on: | |
| # Runs on pushes targeting the default branch | |
| push: | |
| branches: ["main"] |
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
| // To open and edit javascriptreact.json in VS Code: | |
| // Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the Command Palette. | |
| // Type Preferences: Configure User Snippets and select it. | |
| // Choose javascriptreact.json from the list. | |
| { | |
| "Add Styles Import": { | |
| "prefix": "ims", | |
| "body": ["import style from './style.module.css';"], |
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
| { | |
| "media screen only (max)": { | |
| "prefix": "mas", | |
| "body": [ | |
| "@media only screen and (max-width: $1px) {", | |
| "$2", | |
| "}" | |
| ] | |
| }, | |
| "media screen only (min)": { |
NewerOlder