Skip to content

Instantly share code, notes, and snippets.

@Heshyo
Heshyo / style.css
Last active October 25, 2022 01:47
simple CSS
<style>
.mud-typography-h5 {
font-size: var(--mud-typography-h5-size);
color: yellow;
font-family: var(--mud-typography-h5-family);
font-weight: var(--mud-typography-h5-weight);
line-height: var(--mud-typography-h5-lineheight);
letter-spacing: var(--mud-typography-h5-letterspacing);
text-transform: var(--mud-typography-h5-text-transform);
@Heshyo
Heshyo / MudBlazor.min.css
Created October 25, 2022 01:26
MudBlazor.min.css
@charset "UTF-8";
/*!
* MudBlazor (https://mudblazor.com/)
* Copyright (c) 2021 MudBlazor
* Licensed under MIT (https://github.com/MudBlazor/MudBlazor/blob/master/LICENSE)
*/
.mud-primary{background-color:var(--mud-palette-primary) !important;}.mud-primary-text{color:var(--mud-palette-primary) !important;}.mud-primary-hover{background-color:var(--mud-palette-primary-hover) !important;}.hover\:mud-primary-hover:hover,.hover\:mud-primary-hover:focus-visible{background-color:var(--mud-palette-primary-hover) !important;}.mud-border-primary{border-color:var(--mud-palette-primary) !important;}.mud-theme-primary{color:var(--mud-palette-primary-text) !important;background-color:var(--mud-palette-primary) !important;}.mud-secondary{background-color:var(--mud-palette-secondary) !important;}.mud-secondary-text{color:var(--mud-palette-secondary) !important;}.mud-secondary-hover{background-color:var(--mud-palette-secondary-hover) !important;}.hover\:mud-secondary-hover:hover,.hover\:mud-secondary-hover:focus-visible{b
@Heshyo
Heshyo / gist:317854ba683b77c43b25205dfc31d518
Created January 13, 2021 14:52
`adb logcat` for push plugin error
01-13 22:36:14.856 3104 3104 D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.feedback.internal.IFeedbackService cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }
01-13 22:36:14.856 3104 3104 D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.feedback.internal.IFeedbackService cmp=com.google.android.gms/.chimera.GmsBoundBrokerService }
01-13 22:36:16.113 18435 18435 W Thread-69: type=1400 audit(0.0:459): avc: denied { search } for uid=10135 name="net" dev="sysfs" ino=6810 scontext=u:r:untrusted_app:s0:c135,c256,c512,c768 tcontext=u:object_r:sysfs_net:s0 tclass=dir permissive=0 app=com.skype.raider
01-13 22:36:28.752 22756 26555 D Push_FCMService: onMessage - from: 320175322924
01-13 22:36:28.752 22756 26555 D Push_FCMService: sender id = 320175322924
01-13 22:36:28.753 22756 26555 D Push_FCMService: normalize extras
01-13 22:36:28.753 22756 26555 D Push_FCMService: key = badge
01-13 22:36:28.753 22756 26555 D Push_FCMService: replace key badge wi
@Heshyo
Heshyo / gist:3c45e049072747e0426ef50af2391b5a
Created January 13, 2021 14:47
`cordova info` for push plugin issue
Cordova Packages:
cli: 10.0.0
common: 4.0.2
create: 3.0.0
lib: 10.0.0
common: 4.0.2
fetch: 3.0.0
serve: 4.0.0
@Heshyo
Heshyo / cordova.js
Created July 2, 2015 07:32
Fires "deviceready" when we're not inside a Cordova app
// Fakes the call of "deviceready". This can be useful for test purposes, but potentially also for the real website
// to avoid things like:
// if inside the app, call this method inside "deviceready"
// else call this method now.
(function () {
var oldAddEventListener = document.addEventListener;
document.addEventListener = function (eventName, callback) {
if (eventName === "deviceready") {
callback();
// Q sample by Jeff Cogswell
/*===========
We want to call these three functions in sequence, one after the other:
First we want to call one, which initiates an ajax call. Once that ajax call
is complete, we want to call two. Once two's ajax call is complete, we want to call three.
BUT, we don't want to just call our three functions in sequence, as this quick
demo will show. Look at this sample function and think about what order