Skip to content

Instantly share code, notes, and snippets.

View SOY4RIAS's full-sized avatar
🔪

Santiago Arias SOY4RIAS

🔪
View GitHub Profile
@SOY4RIAS
SOY4RIAS / pull_request_template.md
Created May 30, 2024 15:36
pull_request_template

Pull request type

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Build related changes
  • Documentation content changes
@SOY4RIAS
SOY4RIAS / cloudSettings
Last active September 1, 2020 15:55
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-09-01T15:55:01.681Z","extensionVersion":"v3.4.3"}
@SOY4RIAS
SOY4RIAS / prepare-commit-msg
Created June 15, 2020 05:35
A git hook to prepend the branch name on the commit message
#!/bin/bash
# This way you can customize which branches should be skipped when
# prepending commit message.
if [ -z "$BRANCHES_TO_SKIP" ]; then
BRANCHES_TO_SKIP=(master develop test)
fi
BRANCH_NAME=$(git symbolic-ref --short HEAD)
@SOY4RIAS
SOY4RIAS / user_preferences.dart
Created September 8, 2019 03:42
Flutter SharedPreferences template
import 'package:shared_preferences/shared_preferences.dart';
/**
* This Class was developed by Singleton pattern
*
* The recommended use is:
* * init on main function before runApp
*/
class UserPreferences {
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }