- Cannot work when I do
close tabs whose id is not in closeTabList
=> Will getcan’t make {241, 246} into type specifier
error - Cannot get the index of tab (therefore I cannot get the current Tab's index and filter those that is on the right)
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init
-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath>
-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example,vagrant init ubuntu/trusty64
.
vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)
I hereby claim:
- I am samkahchiin on github.
- I am kcsam (https://keybase.io/kcsam) on keybase.
- I have a public key ASDkWsrAyVDGFAyBRxvmCT7gzjje-LeZ6gXWHM9CYvUeNgo
To claim this, I am signing this object:
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
// Place your key bindings in this file to override the defaultsauto[] | |
[ | |
{ | |
"key": "ctrl+space", | |
"command": "editor.action.triggerSuggest", | |
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+space", | |
"command": "-editor.action.triggerSuggest", |
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
git-wip() { | |
git commit -S -s -m ":poop: - $(printf '%s ' "$@")" | |
} | |
git-finish() { | |
git commit -S -s -m ":sparkles: $(printf '%s ' "$@")" | |
} | |
git-ci-commit() { | |
git commit -S -s -m ":green_heart: $(printf '%s ' "$@")" |
- Linux Computer (Windows or MacOS is compatible but you need to install GIT manually)
- You need to install Keybase, login or sign up one if you don't have.
- Your basic skill with Git and Github:
You need to know that Linux are have a default software: gpg
for sign the GPG key. but we are going to use Keybase instead.
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
# specify a global exclusion list | |
git config --global core.excludesfile ~/.gitignore_global | |
# adding .DS_Store to that list | |
echo .DS_Store >> ~/.gitignore_global |
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 onFormSubmit(e) { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var row = sheet.getLastRow(); | |
var receiptId = row - 1; | |
sheet.getRange(row,6).setValue(receiptId); | |
var user = {receiptId: receiptId, name: e.namedValues['Name'][0], email: e.namedValues['Email'][0], amount: e.namedValues["Donation Amount"][0]}; | |
sendDoc_(user); | |
} | |
function sendDoc_(user) { |
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
require "google/cloud/storage" | |
require "google/cloud/speech" | |
# puts "Your project id?" | |
# project_id = gets.chomp | |
# | |
# puts "Your bucket name?" | |
# bucket_name = gets.chomp | |
puts "File name?" |