Function | Shortcut |
---|---|
New Tab | ⌘ + T |
Close Tab or Window | ⌘ + W (same as many mac apps) |
Go to Tab | ⌘ + Number Key (ie: ⌘2 is 2nd tab) |
Go to Split Pane by Direction | ⌘ + Option + Arrow Key |
Cycle iTerm Windows | ⌘ + backtick (true of all mac apps and works with desktops/mission control) |
This file contains hidden or 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
<template> | |
<div> | |
<button @click="showForm = !showForm" class="btn btn-success">Toggle Form</button> | |
<form v-if="showForm" @submit.prevent="addNote()"> | |
<fieldset> | |
<div class="form-group"> | |
<label for="text">Title</label> | |
<input | |
type="text" | |
class="form-control" |
This file contains hidden or 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
<template> | |
<div class="dashboard jumbotron"> | |
<h1>Dashboard !</h1> | |
<h5 v-if="!user">Getting info...</h5> | |
<p class="username" v-if="user">Hello {{user.username}} 👋 </p> | |
<button @click="logout()" type="submit" class="btn btn-primary">Logout</button> | |
<!-- Notes component <begin> --> | |
<Notes /> | |
<!-- Notes component </end> --> |
This file contains hidden or 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
<template> | |
<section> | |
<h1>Dashboard</h1> | |
<h1 v-if="!user">Getting user information...</h1> | |
<h1 v-if="user">Hello, {{user.username}}!! 👋</h1> | |
<button @click="logout()" class="btn btn-primary">Logout</button> | |
<br /> | |
<br /> | |
<button @click="showForm = !showForm" class="btn btn-info">Toggle Form</button> | |
<form v-if="showForm" @submit.prevent="addNote()"> |
This file contains hidden or 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
<template> | |
<section> | |
<h1>Dashboard</h1> | |
<h1 v-if="!user">Getting user information...</h1> | |
<h1 v-if="user">Hello, {{user.username}}!! 👋</h1> | |
<button @click="logout()" class="btn btn-primary">Logout</button> | |
<br /> | |
<br /> | |
<button @click="showForm = !showForm" class="btn btn-info">Toggle Form</button> | |
<form v-if="showForm" @submit.prevent="addNote()"> |
This file contains hidden or 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
{ | |
"font_face": "Fira Code", | |
"font_options": | |
[ | |
"gray_antialias", | |
"subpixel_antialias", | |
"no_italic", | |
"no_bold" | |
], | |
"font_size": 11, |
// Imperattive (How - means not have trust that's y we telling how gonna execute things)
var numbers = [3,2,4,5]
var total = 0
for(var i=0; i< numbers.length; i++){
total += numbers[i]
}
You can use multiple remote repositories with git. But you'll have to push separately into 2 of your remotes.
cd project
$ git remote add github https://github.com/your_user/your_repo.git
$ git remote add bitbucket https://[email protected]/your_user/your_repo.git