This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
end_of_line = lf | |
indent_style = space | |
indent_size = 2 | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install plugin in VS Code (Better Comments) | |
2. Enter setting.json | |
3. insert the config code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Dart Unit Test": { | |
"prefix": "darttest", | |
"body": [ | |
"import 'package:test/test.dart';", | |
"", | |
"void main() {", | |
" test('', () {", | |
"", | |
" });", | |
"}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin clearfix { | |
&::after, &::before { | |
content: ''; | |
display: table; | |
clear: both; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin clearfix { | |
&::after, &::before { | |
content: ''; | |
display: table; | |
clear: both; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin circle($i) { | |
border-radius: 100%; | |
height: $i; | |
width: $i; | |
} | |
$base: #172A3A; | |
$number-of-slides: 5; | |
@mixin bg-clr($color, $slides) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$breakpoints: ( | |
small: 40em, | |
medium: 65em, | |
); | |
@mixin media-query($key) { | |
$size: map-get($breakpoints, $key); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hidden-elements { | |
border: 0; | |
clip: rect(0 0 0 0); | |
height: 1px; | |
margin: -1px; | |
overflow: hidden; | |
padding: 0; | |
position: absolute; |
OlderNewer