Skip to content

Instantly share code, notes, and snippets.

Fred Grott shareme

View GitHub Profile
@shareme
shareme / 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,
@shareme
shareme / 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 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

@shareme
shareme / 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;
  }
}
@shareme
shareme / preloadcsstransitions.md
Created Feb 13, 2018
prevent premature triggering of css transtions
View preloadcsstransitions.md

Pre Load CSS Transitions

html

<body class="preload">

CSS

@shareme
shareme / 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>
   
View keybase.md

Keybase proof

I hereby claim:

  • I am shareme on github.
  • I am fredgrott (https://keybase.io/fredgrott) on keybase.
  • I have a public key ASDmgZOa9Q9HALSgS3g6eIM1ObWPvXV0QK4ZW2KcrQc5pAo

To claim this, I am signing this object:

View advance_gmd_color_palette_colors.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Full Google Material Design Palette
Copyright(C) 2016 Apache 2.0 License Fred Grott(GrottWorkShop)
-->
<color name="gws_turquoise50">#b8f2ec</color>
<color name="gws_turquoise100">#9fece4</color>
<color name="gws_turquoise200">#8aeee3</color>
View strictmode.md

Apache 2.0 License Copyright(C) Fred Grott(GrottWorkSHop)

This is my strict mode stetup...to be effective you combine this with obviously having some gradle product flavors for each api levlel you are targeting

@SuppressLint("NewApi")
  public void strictModeSetUp(){
    if(BuildConfig.DEBUG){
You can’t perform that action at this time.