Skip to content

Instantly share code, notes, and snippets.

👾
focusing on flutter cross platform mobile dev

Fred Grott fredgrott

👾
focusing on flutter cross platform mobile dev
Block or report user

Report or block fredgrott

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fredgrott
fredgrott / SubscribersExt.kt
Created Nov 5, 2018
better way to log RxJava without the callstack and only appears in debug logs
View SubscribersExt.kt
/* Copyright 2018 Fred Grott
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@fredgrott
fredgrott / gitignore.txt
Created Aug 31, 2018
Gitignore config for git Android Studio projects
View gitignore.txt
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
#local properties
local.properties
View gwsmaterialink_colors.xml
@fredgrott
fredgrott / renameapk
Created Dec 4, 2014
rename android app apk
View renameapk
// in your android.applicationVariants.all { variant ->
// or in your android.libraryVariants.all { variant ->
// code block put this:
if (variant.productFlavors[0] == null){
variant.outputs[0].outputFile = new File(variant.outputs[0].outputFile.parent,
project.ext.ourProjectName + "_"
+ variant.buildType.name + "_"
+ android.defaultConfig.versionCode + "_"
+ android.defaultConfig.versionName + ".apk")
}else{
View Hopes
TheHopesPoem
Hopes,
dashed in the gun hands
of a mentally-ill dissenter
lady liberty gazed upon Florida
and creid at teh Februrary
bitter and cold in its death grip
View thehopespoem.md

#TheHopesPoem

Hopes, dashed in the gun hands of a mentally-ill dissenter lady liberty gazed upon Florida and creid at teh Februrary bitter and cold in its death grip

@fredgrott
fredgrott / carcdolumns.md
Created Feb 13, 2018
bootstrap card columns
View carcdolumns.md

Bootstrap card Columns

CSS

@media (max-width: 575px)  {
  .card-columns{
    column-count: 1;
  }
}
@fredgrott
fredgrott / preloadcsstransitions.md
Created Feb 13, 2018
prevent premature triggering of css transtions
View preloadcsstransitions.md

Pre Load CSS Transitions

html

<body class="preload">

CSS

@fredgrott
fredgrott / notch.md
Created Feb 13, 2018
the notch adjustment in web code
View notch.md

Notch Adjustment

html

   <head>
   <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
   </head>
   
@fredgrott
fredgrott / eclipse-checkstyle-android-best-practices
Created Apr 29, 2011
eclipse checkstyle checks for android
View eclipse-checkstyle-android-best-practices
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<!--
Checkstyle-Configuration: Android checkstyle by Enea
Description: none
-->
You can’t perform that action at this time.