Skip to content

Instantly share code, notes, and snippets.

View nkpgardose's full-sized avatar
🖥️
Dev life

Neil Gardose nkpgardose

🖥️
Dev life
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"extends": [
"next/core-web-vitals",
"plugin:jsx-a11y/recommended",
"plugin:react/recommended",
"prettier"
],
"plugins": [ "prettier", "jsx-a11y" ],
"rules": {
"prettier/prettier": [
@nkpgardose
nkpgardose / syncing-cool.md
Created July 6, 2016 02:12
Syncing your forked repository from the orignal repository
  1. To sync your repository, first you must have a pointer from the original repository. Let's call it upstream
$ git remote -v # List all remote repository from your fork
$ git remote add upstream [https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git]

Let us say the original repository is https://github.com/google/material-design-lite

  1. Next, fetch the upstream branch
$ git fetch upstream
.list {
  background-color: red;

  & .list-item {
    color: white;
    
    & .list-item-icon {
      margin-right: 5px;
 }
.textfield {
@include font-sans-N3;
box-sizing: border-box;
margin-bottom: $form-space;
min-height: 44px;
padding: 11px 10px 11px 13px;
font-size: $base-font-size;
background-color: $color-white;
border: 1px solid $color-gray;
border-radius: $base-border-radius;
def user_params
other_phones = params.require(:user).fetch(:other_phones, nil).try(:permit!)
params[:user].delete(:other_phones)
params.require(:user).
permit(:email, :password, :password_confirmation, ...).
merge(other_phones: other_phones)
end
$columns-phone: 4;
$columns-tablet: 8;
$columns-desktop: 12;
$columns-default: 4;
$gutter-phone: 16px;
$gutter-tablet: 16px;
$gutter-desktop: 16px;
@nkpgardose
nkpgardose / app.scss
Created December 7, 2015 13:28
Add f6 thru rails-assets and add this to a scss file
// Third-party libraries
@import "foundation-sites/vendor/normalize";
// Sass utilities
@import "foundation-sites/util/util";
// Global variables and styles -- Add a global file `app/assets/stylesheets`
@import "global";
// Components
@import "foundation-sites/grid/grid";
@nkpgardose
nkpgardose / app.scss
Created December 7, 2015 13:28
Add f6 thru rails-assets and add this to a scss file
// Third-party libraries
@import "foundation-sites/vendor/normalize";
// Sass utilities
@import "foundation-sites/util/util";
// Global variables and styles -- Add a global file `app/assets/stylesheets`
@import "global";
// Components
@import "foundation-sites/grid/grid";