Skip to content

Instantly share code, notes, and snippets.

View sunderee's full-sized avatar

Peter Aleksander Bizjak sunderee

View GitHub Profile
@dumazy
dumazy / dart-fix-all-separately.sh
Created June 5, 2024 09:56
Apply all 'dart fix' separately
#!/bin/bash
# This script applies Dart fixes to a project and commits the changes for each fix separately.
# It uses the `dart fix --dry-run` command to find the fixes that can be applied.
# For each fix, it applies the fix and commits the changes with a message indicating the fix code.
checkDart() {
if ! command -v dart &> /dev/null
then
echo "Dart could not be found. Please install Dart first."
@MelbourneDeveloper
MelbourneDeveloper / mostchanged.sh
Created December 20, 2023 09:17
Get Most Changed Files
#!/bin/bash
# This script finds the files with the most changes in a Git repository, tracking renames and excluding binary files and files with zero changes
# Check for the presence of a Git repository
if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
echo "This script must be run inside a Git repository."
exit 1
fi
@ra9r
ra9r / proguard-rules.pro
Created July 4, 2019 20:32
Proguard Properties for Flutter and Firebase #flutter #firebase #android
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
# Basic ProGuard rules for Firebase Android SDK 2.0.0+
-keep class com.firebase.** { *; }
@JamieMason
JamieMason / unfollow.js.md
Last active November 5, 2024 21:42
Unfollow everyone on twitter.com

Unfollow everyone on twitter.com

  1. Go to https://twitter.com/YOUR_USER_NAME/following
  2. Open the Developer Console. (COMMAND+ALT+I on Mac)
  3. Paste this into the Developer Console and run it
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//