docker run hello-world
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
import React from 'react' | |
import { StyleSheet, View } from 'react-native' | |
const FlatListCard = props => { | |
const { children, name } = props | |
switch (name) { | |
default: { | |
return <View style={styles.layout}>{children}</View> | |
} |
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
main() { | |
var hugo = new Hugo(); | |
hugo.name = 'Ben10'; | |
hugo.lastName = 'Smith'; | |
hugo.nationality = 'Portuguese'; | |
hugo.greeting = 'Hello!!'; | |
hugo.profession = 'Trainer!!'; | |
hugo.printGreeting(); | |
hugo.printPerson(); |
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
void main() { | |
showName(); | |
sayMyName(); | |
sayHello(9); | |
for(var index = 0; index < 50; index++) { | |
sayHello(index); | |
} | |
} |
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
/* eslint-disable no-undef */ | |
const { randomNumber } = require('../Helpers/index.js') | |
const mockNotification = { | |
"trigger": { | |
"type": "push" | |
}, | |
"title": "From push", | |
"subtitle": "Subtitle", | |
"body": "Body", |
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
void main() { | |
var football = ['Ronaldo', 'Messi', 'Filipe', 'Nmeymar JR']; | |
for(var i = 0; i < 4; i++) { | |
print('$i ${football[i]}'); | |
} | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
void main() { | |
const helloWorld = 'Hello World of Programming in Dart'; | |
print('helloWorld: ${helloWorld}'); | |
} |
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
void main() { | |
const name = 'Americo'; | |
print('Name: ${name}'); | |
if (name == 'Americo') { | |
print('Printing the IF: I LOVE technology'); | |
} else { | |
print('Printing the Else: FOOTBALL!! #young magicians generation'); | |
} | |
} |
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
// 1 | |
let process = function*() { | |
try { | |
while(true) { | |
console.log('Process looped') | |
yield delay(500) | |
} | |
} finally { | |
const cancelled = yield effects.cancelled() | |
console.info('Cancelled?', cancelled) |
NewerOlder