Skip to content

Instantly share code, notes, and snippets.

View LucasLevino's full-sized avatar
🏢
Working in office

Lucas Levino LucasLevino

🏢
Working in office
View GitHub Profile
@LucasLevino
LucasLevino / GitAlias.txt
Last active November 17, 2023 19:20
Comando de personalização do git
commands in shell
git config --global core.editor code
git config --global --edit
add in .gitconfig
[alias]
c = !git add --all && git commit -m
nb = !git checkout -b
p = !git push -u origin
s = !git status -s
@LucasLevino
LucasLevino / .editorconfig
Created September 22, 2020 02:24
Config editorconfig
root = true
[*]
end_of_line = lf
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@LucasLevino
LucasLevino / How to Use
Last active January 14, 2021 21:11
Better Comments - Setup Darcula (for VS Code)
1. Install plugin in VS Code (Better Comments)
2. Enter setting.json
3. insert the config code
@LucasLevino
LucasLevino / gist:6872e4d5f1429c5580a5292822af4237
Created January 25, 2021 19:36
Dart snippet test for VScode
"Dart Unit Test": {
"prefix": "darttest",
"body": [
"import 'package:test/test.dart';",
"",
"void main() {",
" test('', () {",
"",
" });",
"}"
@LucasLevino
LucasLevino / input.scss
Created March 12, 2021 14:50
Generated by SassMeister.com.
@mixin clearfix {
&::after, &::before {
content: '';
display: table;
clear: both;
}
}
@LucasLevino
LucasLevino / input.scss
Created March 12, 2021 19:43
Generated by SassMeister.com.
@mixin clearfix {
&::after, &::before {
content: '';
display: table;
clear: both;
}
}
@LucasLevino
LucasLevino / input.scss
Created March 29, 2021 19:24
Generated by SassMeister.com.
@mixin circle($i) {
border-radius: 100%;
height: $i;
width: $i;
}
$base: #172A3A;
$number-of-slides: 5;
@mixin bg-clr($color, $slides) {
@LucasLevino
LucasLevino / input.scss
Created March 29, 2021 20:23
Generated by SassMeister.com.
$breakpoints: (
small: 40em,
medium: 65em,
);
@mixin media-query($key) {
$size: map-get($breakpoints, $key);
@LucasLevino
LucasLevino / input.scss
Last active March 30, 2021 15:38
Generated by SassMeister.com.
@function font($tag: p, $size: 15, $scale: 1.333) {
@if($tag == p or $tag == h4 ){
$result: $size;
@return #{ceil($result)}px;
} @else if($tag == h3 or $tag == h5) {
$result: $size * $scale;
@return #{ceil($result)}px;
} @else if($tag == h2) {
$result: $size * $scale * $scale;
@return #{ceil($result)}px;
@LucasLevino
LucasLevino / input.scss
Created April 1, 2021 18:45
Generated by SassMeister.com.
.hidden-elements {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;