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
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
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
import React, { forwardRef } from 'react'; | |
import { | |
Link as MuiLink, | |
LinkProps as MuiLinkProps | |
} from '@material-ui/core'; | |
import NextLink, { LinkProps as NextLinkProps } from 'next/link'; | |
export type LinkProps = NextLinkProps & MuiLinkProps; | |
const LinkComponent = forwardRef<HTMLAnchorElement, LinkProps>(({ |
Copy and pasted from: https://mherman.org/blog/managing-multiple-github-accounts/
Let’s look at how to manage multiple Github accounts from one computer. In essence, it’s simply a matter of balancing both your git and ssh configurations - which actually is not as bad as it might seem.
Note: This tutorial is meant for Unix users.
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
// map | |
var animals = ['ayam', 'sapi', 'bebek'] | |
function digoreng(daging) { | |
return daging + ' goreng' | |
} | |
// var foods = animals.map(digoreng) | |
var foods = animals.map(function(daging) { | |
return daging + ' goreng' |
- Click on the "Clone or download" button
- Copy the URL. Chose "Clone with HTTPS" if you haven't setup your SSH
- Run
git clone https://github.com/USERNAME/REPOSITORY_NAME.git
in your terminal
- After you cloning a repository, usually it make a new folder within you current directory named the same as REPOSITORY_NAME
- Navigate into it by running
cd REPOSITORY_NAME
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
enum PrimaryColor { | |
Blue, | |
Red, | |
Yellow, | |
} | |
type ColorRecipe = { | |
[T in PrimaryColor]: number | |
} |
- Make sure you have created a netlify account
build
your project. You can runnpm run build
command if you init withcreate-react-app
, ornext build
if usingnext
- In netlify app/site-list page, drag and drop your project's
build
folder - Wait until the process is done
- Visit the site link and enjoy
- Login with your google account then go to https://firebase.google.com/
- Click "Get Started" button
- In the welcome page, add new Project
- Fill the project name, project id, region/locations of your project (choose the nearest to your country), accept the terms and submit the form
- Done