Skip to content

Instantly share code, notes, and snippets.

View sergiocarneiro's full-sized avatar

Sérgio Carneiro sergiocarneiro

View GitHub Profile
@sergiocarneiro
sergiocarneiro / .prettierrc.jsonc
Created May 24, 2022 07:09
A complete Prettier configuration file with the default options, in the order as they appear in the official docs: https://prettier.io/docs/en/options.html.
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
@sergiocarneiro
sergiocarneiro / proguard-generic.pro
Created July 14, 2018 01:02
A generic proguard configuration file to make the configuration a lot less painful
-renamesourcefileattribute SourceFile
-dontusemixedcaseclassnames
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,
SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
# Keep - Library. Keep all public and protected classes, fields, and methods.
-keep public class * {
public protected <fields>;
public protected <methods>;
}
@sergiocarneiro
sergiocarneiro / proguard-ads.pro
Last active July 14, 2018 01:05
A proguard configuration for projects using Ad Networks
# This file is to serve as a template proguard configuration for projects using Ad Networks.
#
# Include the relevant ad networks on your complete proguard configuration.
#
# Credits: This template was created based on https://admost.github.io/amrandroid/
# ADMOST
-keepattributes Exceptions, InnerClasses
-dontwarn admost.sdk.**
-keep class admost.sdk.** {*;}
@sergiocarneiro
sergiocarneiro / atom-minimalist-dark-theme.less
Last active September 7, 2017 16:57
Atom Minimalist Dark Theme (UI + Syntax)
// Replaces the file at ~/.atom/styles.less
//
// Generic Variables
//
@background: #1F1F1F;
@foreground: #252526;
@ui-text-color: #CCC;
@dark-gray: #373434; // Current Line & Selection
@gray: #939999;