zip -er "<protected>.zip" "<folder path>"
Open Terminal and execute the ff:
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
git config --global core.editor "sublime -n -w"
references: https://help.github.com/en/articles/associating-text-editors-with-git
git push origin <local_branch>:<remote_branch>
git push --force-with-lease origin <local_branch>:<remote_branch>
- Topic-B depends on Topic-A
- Topic-A has updates
- Topic-B want Topic-A updates by replacing old merge to have clean graph
(topic-b)$ git tag "outdated"
(topic-b)$ git reset --hard master #if master is parent of Topic-B
git rerere forget {file_path}
git checkout --conflict merge {file_path}
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
class AmongUsGame { | |
init(players: [Player]) { | |
self.players = players | |
listenToPlayerEvents() | |
} | |
func start() { | |
assignTasks() | |
} |
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
// This function will be called everytime the form is submitted. | |
function onFormSubmit(event) { | |
sendAutomatedEmail() | |
} | |
function sendAutomatedEmail() { | |
SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Form Responses 1").activate(); | |
var responsesheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); // Get main Database Sheet | |
var emailsheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet2"); // Get Sheet with the Email Content | |
var promocodesheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("PromoCodes"); |
OlderNewer