- Head on to https://docs.docker.com/get-docker and select the appropriate OS
- Since I'll be doing it on Ubuntu 20.04 - https://docs.docker.com/engine/install/ubuntu/
- Now there are 3 options to install -
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
// this is the background code... | |
// listen for our browerAction to be clicked | |
chrome.browserAction.onClicked.addListener(function (tab) { | |
// for the current tab, inject the "inject.js" file & execute it | |
chrome.tabs.executeScript(tab.ib, { | |
file: 'inject.js' | |
}); | |
}); |
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
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |
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
from django.db import models | |
class Page(models.Model): | |
path = models.CharField(max_length=100, blank=False, primary_key=True) | |
title = models.CharField(max_length=255, blank=False) | |
rank = models.IntegerField(default=0) | |
def __str__(self): | |
return str(self.title) |
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
function dumpEditResponseUrlsForYourForm() { | |
// Change this next line to use the id of your form | |
var myFormId = "id"; | |
var form = FormApp.openById(myFormId); | |
var formResponses = form.getResponses(); | |
for (var i = 0; i < formResponses.length; i++) { | |
var formResponse = formResponses[i]; | |
var string = ""; |
- Instance State Restoration
- Navigation b/w fragment or views in so-called navigation components way.
- Basic viewmodels should be attached to fragment/view that has lifecycle of activity-retained scope.
- Service locator/DI for simple apps that works at Singleton Component and ActivityRetainedComponent.
- [Pro-point] You can control your navigator from viewModel, so no more dependence on channelFlow for such basic action.
- Make a new Activity[SimpleStackMainActivity.java].