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
{ | |
"rules": { | |
"users" { | |
"$uid": { | |
".read": "$uid === auth.uid", | |
".write": "$uid === auth.uid" | |
} | |
} | |
} | |
} |
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
{ | |
"schedules": [ | |
{ | |
"schedule_id": "833ADC6F-B47D-4398-9EE7-43525BEB15D8", | |
"schedule_settings" : [ | |
{ | |
"defaultUrl": "http://404.jodi.org/", | |
"defaultDuration": 1200000 , | |
"name": "hourly rotating schedule" | |
} |
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
{ | |
"dashboards": { | |
"active": "slidespresentation", | |
"items": [ | |
{ | |
"id": "slidespresentation", | |
"display": "Slides Presentation", | |
"url": "https://docs.google.com/presentation/d/e/2PACX-1vQAvcs1q2d1ftuMtmOm1pV2cawiHbNS8jRY52a8vJX9FNIB_LxyX52oYlI6a5cB0esDIoC4EugRDp5E/pub?start=true&loop=true&delayms=3000" | |
}, | |
{ |
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
version: '3.6' | |
services: | |
custompios: | |
image: guysoft/custompios:devel | |
container_name: mydistro_builder | |
tty: true | |
restart: always | |
privileged: true | |
volumes: |
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 firebase from 'firebase/app'; | |
import 'firebase/firestore'; | |
const firebaseConfig = firebase.initializeApp({ | |
//create a Firestore database in your Firebase project and | |
//replace only the internal part of this object from your Firebase web settings | |
apiKey: "", | |
authDomain: "your.firebaseapp.com", | |
databaseURL: "https://your.firebaseio.com", | |
projectId: "yourprojectid", |
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
void main(){ | |
print("App started"); | |
App(); //no need to use the new keyword in Dart | |
print("App finished"); | |
} | |
class App{ | |
App(){ | |
print("Constructing a class."); | |
} |
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
main() { | |
StringBuffer sb = new StringBuffer('initial_content'); | |
print('sb.length is ${sb.length}'); | |
print('${sb.toString()}\n'); | |
sb.write("_Hello"); | |
sb.writeAll(['_space', '_and', '_more']); | |
print('sb.length is ${sb.length}'); |
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
main() { | |
var theNumber = 42; | |
const PI = 3.14159; | |
var theText = 'Hello World!'; | |
var learningDart = true; | |
print('theNumber is type ${theNumber.runtimeType}'); | |
print('PI is type ${PI.runtimeType}'); | |
print('theText is type ${theText.runtimeType}'); | |
print('learningDart is type ${learningDart.runtimeType}'); |
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
main() { | |
List list = [1,'two',3,'four']; | |
print('list.length is ${list.length}'); | |
print('list: $list'); | |
print('list index 1 value: ${list[1]}'); | |
print('list index 0 value: ${list[0]}\n'); | |
print('Adding 10 to the end of the list'); |
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
main() { | |
Map map = { | |
'key1': 'value1', | |
'key2': 'value2', | |
'key3': 'value3' | |
}; | |
print('map.length is ${map.length}'); | |
print('map: $map'); | |
print('map[\'key1\'] is ${map['key1']}'); |
OlderNewer