Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
This command returns all last changes including deleted files..
git checkout -- .
by Luka Tatarishvili
4 years ago
0
Git
Info
0
change repository
git remote rename origin upstream
git remote add origin URL_TO_GITHUB_REPO
git push origin master
by Luka Tatarishvili
4 years ago
0
Git
commands
0
This command creates a directory:
mkdir NAME-OF-YOUR-NEW-DIRECTORY
by Luka Tatarishvili
4 years ago
0
Git
commands
0
This command creates a new file
touch "index.html"
by Luka Tatarishvili
4 years ago
0
Git
commands
0
Search
Search the working directory for foo():
git grep "foo()"
by Luka Tatarishvili
4 years ago
0
Git
commands
0
To go back to a previous state of your project code that you committed, you can use the following command:
git checkout <commit-hash>
To go back to the latest commit (the newest version of our project code), you can type this command:
git checkout master
by Luka Tatarishvili
4 years ago
0
Git
commands
0
$sizes: 40px, 50px, 80px;

@each $size in $sizes {
  .icon-#{$size} {
    font-size: $size;
    height: $size;
    width: $size;
  }
}
by Valeri Tandilashvili
4 years ago
0
Sass
SASS documentation
0
$spaceamounts: (1, 2, 3, 4, 5);

@each $space in $spaceamounts {
    .m-#{$space} {
        margin: #{$space}rem;
    }
}
by Valeri Tandilashvili
4 years ago
0
Sass
Sass Crash Course
0
.alert {
  // The parent selector can be used to add pseudo-classes to the outer
  // selector.
  &:hover {
    font-weight: bold;
  }

  // It can also be used to style the outer selector in a certain context, such
  // as a body set to use a right-to-left language.
  [dir=rtl] & {
    margin-left: 0;
    margin-right: 10px;
  }

  // You can even use it as an argument to pseudo-class selectors.
  :not(&) {
    opacity: 0.8;
  }
}
This will generate the following regular CSS:
.alert:hover {
  font-weight: bold;
}
[dir=rtl] .alert {
  margin-left: 0;
  margin-right: 10px;
}
:not(.alert) {
  opacity: 0.8;
}
by Valeri Tandilashvili
4 years ago
0
Sass
SASS documentation
0
.accordion {
  max-width: 600px;

  &__copy {
    display: none;
    padding: 1rem 1.5rem 2rem 1.5rem;

    &--open {
      display: block;
    }
  }
}
This will generate the following regular CSS:
.accordion {
  max-width: 600px;
}
.accordion__copy {
  display: none;
  padding: 1rem 1.5rem 2rem 1.5rem;
}
.accordion__copy--open {
  display: block;
}
by Valeri Tandilashvili
4 years ago
0
Sass
SASS documentation
0
Results: 1580