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
@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 / 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

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',

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:

@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
name: countr-desktop
version: '0.1'
summary: Countr Desktop Kiosk Mode
description: |
Countr Desktop Kiosk Mode
base: core18
confinement: strict
grade: devel
apps:
{"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}]}