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, { Component } from 'react'; | |
| import logo from './logo.svg'; | |
| import './App.css'; | |
| import User from './User'; | |
| class App extends Component { | |
| render() { | |
| return ( | |
| <div className="App"> |
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
| body { | |
| font-family: Arial, Helvetica, sans-serif; | |
| } | |
| .gandalf{ | |
| position:relative; | |
| max-width: 420px; | |
| height: 500px; | |
| padding: 40px; |
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
| process.stdin.resume() | |
| process.stdin.setEncoding('utf8') | |
| console.log('How old are you ? ') | |
| process.stdin.on('data', (age) => { | |
| console.log('you are' + age.trim() +'years old') | |
| if (age > 99){ | |
| console.log ('Too old') | |
| } else if (age < 1) { | |
| console.log ('You have not been born yet') |
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
| process.stdin.resume() | |
| process.stdin.setEncoding('utf8') | |
| console.log('How old are you ? ') | |
| process.stdin.on('data', (age) => { | |
| console.log('You are ' + age.trim() + ' years old ') | |
| if (age > 99){ | |
| console.log('Too old!!') | |
| } else if (age < 0) { |
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
| var assert = require('assert'); | |
| var fizzbuzz = require('./fizzbuzz') | |
| assert.equal("fizz", fizzbuzz(3), 'Should return fizz (3)'); | |
| assert.equal("fizz", fizzbuzz(6), 'Should return fizz (6)'); | |
| assert.equal("fizz", fizzbuzz(18), 'Should return fizz (18)'); | |
| assert.equal("buzz", fizzbuzz(5), 'Should return buzz (5)'); | |
| assert.equal("buzz", fizzbuzz(10), 'Should return buzz (10)'); | |
| assert.equal("buzz", fizzbuzz(25), 'Should return buzz (25)'); |
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
| process.stdin.resume() | |
| process.stdin.setEncoding('utf8') | |
| console.log('How old are you?') | |
| process.stdin.on('data', function(age) { | |
| console.log('You are ' + age.trim() + ' years old') | |
| if (!Number(age)) { | |
| console.log('eh?') | |
| } else if (age > 99) { | |
| console.log('Too old!') |
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 lang="zxx"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>findThePrecious.com</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| </head> | |
| <body> | |
| <nav> | |
| <ul> |
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
| 477 cd ../Study/WildCodeSchool/Quests/Unix/clmystery-master | |
| 478 cd mystery/ | |
| 479 ls | |
| 480 cat crimescene | grep CLUE | |
| 481 cat crimescene | grep CLUE | |
| 482 cat crimescene | grep CLUE | |
| 483 cd memberships/ | |
| 484 ls | |
| 485 cat AAA | |
| 486 cat Delta_SkyMiles |
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
| # @see https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository | |
| # Remove Docker & update packages | |
| sudo apt-get remove docker docker-engine docker.io && true | |
| sudo apt-get update | |
| # Install tools and HTTPS certificates | |
| sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common git |
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
| static jclass callbacksClass; | |
| static jobject callbacksInstance; | |
| JNIEXPORT void JNICALL Java_com_example_NativeClass_nativeMethod(JNIEnv* env, jclass callingObject, jobject callbacks) | |
| { | |
| // Cache the Java callbacks instance | |
| callbacksInstance = env->NewGlobalRef(callbacks); | |
| // Cache the Java callbacks class (in case of interface, this will be the concrete implementation class) | |
| jclass objClass = env->GetObjectClass(callbacks); |