Skip to content

Instantly share code, notes, and snippets.

View gustavom's full-sized avatar

Gustavo Martusewicz gustavom

View GitHub Profile
@gustavom
gustavom / Lando Windows 10 and WSL 2.md
Last active October 10, 2023 15:22
Lando - install on windows 10 and wsl 2

Lando on Windows Home Edition and WSL 2

Config your windows in order

1 - windows 10 home edition - insider preview Beta Channel 2 - wsl 2 - ubuntu 18.04 3 - Docker Desktop for windows with wsl integration

Installing Lando on Ubuntu

* create new file called: npm-shrinkwrap.json
```
{
"dependencies": {
"graceful-fs": {
"version": "4.2.2"
}
}
}
{
// Define o tema do VSCode
"workbench.colorTheme": "Dracula",
// Configura tamanho e família da fonte
"editor.fontSize": 18,
"editor.lineHeight": 24,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
// Place your settings in this file to overwrite the default settings
{
"workbench.startupEditor": "newUntitledFile",
"workbench.colorTheme": "Dracula",
"window.zoomLevel": 0,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.fontSize": 16,
"editor.lineHeight": 24,
"editor.formatOnSave": true,
@gustavom
gustavom / table.html
Created February 5, 2019 11:58
Tabela de acentos e caracteres especiais em HTML
<title>Tabela de acentos e caracteres especiais em HTML</title>
<h3>Tabela de acentos e caracteres especiais em HTML</h3>
<p>
<table border cellpadding=10>
<tr><td>
<center>
&Aacute; .............. &amp;Aacute;<br>
&aacute; ............... &amp;aacute;<br>
&Acirc; ................. &amp;Acirc;<br>
@gustavom
gustavom / SCSS.md
Created August 11, 2017 11:17 — 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

@gustavom
gustavom / config.rb
Created August 2, 2017 13:41 — forked from nathansmith/config.rb
Example config.rb file for Compass
preferred_syntax = :sass
http_path = '/'
css_dir = 'assets/stylesheets'
sass_dir = 'assets/sass'
images_dir = 'assets/images'
javascripts_dir = 'assets/javascripts'
relative_assets = true
line_comments = true
# output_style = :compressed
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@gustavom
gustavom / server.py
Created April 14, 2017 00:51
server in pyhton
python -m http.server 9001