Skip to content

Instantly share code, notes, and snippets.

View marceloch2's full-sized avatar
🇧🇷
Solving problems. Sometimes creating.

Marcelo Henrique Carneiro marceloch2

🇧🇷
Solving problems. Sometimes creating.
View GitHub Profile
{"version":1,"resource":"file:///Users/marcelocarneiro/www/Countr/countr-desktop-next/app/preload.js","entries":[{"id":"dODD.js","timestamp":1653665190952},{"id":"SF2E.js","timestamp":1653665280420}]}
name: countr-desktop
version: '0.1'
summary: Countr Desktop Kiosk Mode
description: |
Countr Desktop Kiosk Mode
base: core18
confinement: strict
grade: devel
apps:
@marceloch2
marceloch2 / Makefile
Created April 16, 2021 12:07 — forked from ThinhPhan/Makefile
Setup Electron Kiosk App On Ubuntu 18.04
.PHONY: install uninstall test set-default
test:
sudo apt install plymouth-x11
sudo plymouthd ; sudo plymouth --show-splash ; for ((I=0; I<10; I++)); do sleep 1 ; sudo plymouth --update=test$I ; done ; sudo plymouth --quit
uninstall:
rm -rv /usr/share/plymouth/themes/first || true
install: uninstall

Keybase proof

I hereby claim:

  • I am marceloch2 on github.
  • I am marceloch2 (https://keybase.io/marceloch2) on keybase.
  • I have a public key ASBiRsgJsZgCOosm9vAv8FYT6Hi38buYtHwrUNkf5F7uTQo

To claim this, I am signing this object:

var mqtt = require('mqtt')
// Create a client connection
var client = mqtt.connect('mqtt://mqtt.dioty.co:1883', {
username: 'marceloch2@gmail.com',
password: '7cb3b76d',
})
var felipe = mqtt.connect('mqtt://mqtt.dioty.co:1883', {
username: 'felipecorreio77@gmail.com',
@marceloch2
marceloch2 / SCSS.md
Created September 15, 2019 13:51 — forked from jareware/SCSS.md
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at jrw.fi

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso

@marceloch2
marceloch2 / composing-software.md
Created September 10, 2019 17:56 — forked from rosario/composing-software.md
Eric Elliott's Composing Software Series
@marceloch2
marceloch2 / returned.xml
Created July 28, 2018 09:23
returned message
<?xml version="1.0" encoding="utf-8"?>
<eExact xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="eExact-XML.xsd">
<Messages />
</eExact>
@marceloch2
marceloch2 / matchset.xml
Last active July 28, 2018 10:02
MatchSet imported
<?xml version="1.0" encoding="UTF-8"?>
<eExact xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="eExact-XML.xsd">
<MatchSets>
<MatchSet>
<GLAccount code="8004030" />
<Account code="6785" />
<MatchLines>
<MatchLine finyear="2018" finperiod="7" journal="70" entry="18700520" amountdc="94.38" />
<MatchLine finyear="2018" finperiod="7" journal="21" entry="18210001" amountdc="-94.38" />
</MatchLines>
"items": [
{
"product": {
"current_variant": {
"tax": {
"tax_id": "1",
"name": "Reduced rate",
"_id": "5a019f1e31d87700045022a9",
"rules": [
{