Skip to content

Instantly share code, notes, and snippets.

View ggazzo's full-sized avatar
:octocat:
:)

Guilherme Gazzo ggazzo

:octocat:
:)
View GitHub Profile
import { useSyncExternalStore } from 'use-sync-external-store/shim';
import { appLayout } from '../../lib/appLayout';
import { blazePortals, useBlazePortals } from '../../lib/portals/blazePortals';
import PageLoading from './PageLoading';
import { useEscapeKeyStroke } from './hooks/useEscapeKeyStroke';
import { useGoogleTagManager } from './hooks/useGoogleTagManager';
export const AppLayout = (): ReactElement => {
const layout = useSyncExternalStore(appLayout.subscribe, appLayout.getSnapshot);
main {
--rcx-color-background-light: #1F2329;
--rcx-color-background-tint: #2F343D;
--rcx-color-surface-light: #1F2329;
--rcx-color-surface-tint: #2F343D;
--rcx-color-surface-neutral: #6C727A;
--rcx-color-surface-disabled: #2F343D;
--rcx-color-surface-hover: #6C727A;
--rcx-color-surface-selected: #9EA2A8;
@ggazzo
ggazzo / rocket_theme_dark.js
Created October 17, 2019 13:45 — forked from edvinassabaliauskas/rocket_theme_dark.js
Dark theme enabler for Rocket.Chat. Theme taken from https://github.com/0x0049/Rocket.Chat.Dark
var ThemeEnabler = {
isThemeOn: false,
controls: null,
onAppLoaded: async function() {
this.checkCookie()
do {
### Keybase proof
I hereby claim:
* I am ggazzo on github.
* I am ggazzo (https://keybase.io/ggazzo) on keybase.
* I have a public key ASAimQ4vDX-jlgvXww1Ty6M2HvyaVt3pni_fIwvsrRv7bAo
To claim this, I am signing this object:
#include "TimerOne.h"
#define PI 3.14159
#define SIZE 50
const float increment = PI / SIZE;
int dregreePhase = 360;
int delayDegree = 90;
float radiansPhase, radiansAux;
float calcRadians(int degree) {
return (float) degree * (PI / 180);
@ggazzo
ggazzo / trabalho.json
Last active September 23, 2015 20:55
{
"holdings": [
{
"codigoHolding": "1",
"nome": "Grupo MasBahTchê",
<?xml version="1.0" encoding="UTF-8"?>
<rede-loja>
<holdings>
<holding codigoHolding="1" nome="Grupo MasBahTchê">
<empresas>
<empresa codigoEmpresa="1" razaoSocial="TchêSapatosLTDA" fantasia="Tchê" logradouro="Rua João Vedelino" codigoHolding="1">
<lojas>
<loja codigoLoja="1" nome="Filial 01" dataAbertura="01/01/2014" nroFuncionario="16">
<lojaDepartamentos>
<lojaDepartamento codigoDepartamento="1" nome="Feminino"/>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="rede-loja">
<xs:complexType>
<xs:sequence>
<xs:element name="holdings">
<xs:complexType>
<xs:sequence>
<xs:element name="holding">
<xs:complexType>
<xs:sequence>
@ggazzo
ggazzo / SassMeister-input-HTML.html
Created August 20, 2015 18:52
Generated by SassMeister.com.
<div class="container outline">
<div class="row">
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
</div>
<div class="row">
@ggazzo
ggazzo / SassMeister-input-HTML.html
Created August 20, 2015 18:40
Generated by SassMeister.com.
<div class="container outline">
<div class="row">
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
<div class="col-1"><p>col-1</p></div>
</div>
<div class="row">