Nous allons apprendre à créer en à peine quelques minutes, à créer un petite application GraphQL dans un environnement nodejs.
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 ubuntu:18.04 | |
| LABEL version="1.0" | |
| LABEL maintainer="Michael P.O <michael@africa-up.io>" | |
| LABEL description="A Libra <libra.org> dev docker image." | |
| WORKDIR /libra | |
| RUN apt-get update && \ | |
| apt-get install -y git curl sudo && \ |
| title | A propos de lorem Ipsum |
|---|---|
| date | 2019-06-02 12:51:00 -0700 |
| cover | https://picsum.photos/1200/800?grayscale&random=1 |
Le Lorem Ipsum est simplement du faux texte employé dans la composition et la mise en page avant impression. Le Lorem Ipsum est le faux texte standard de l'imprimerie depuis les années 1500..
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
| Map<int, int> cache = new Map(); | |
| int fibo(int n){ | |
| if(cache.containsKey(n)) | |
| { | |
| return cache[n]; | |
| } | |
| int result; |
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
| FASTLANE_TEAM_ID = <your team id> | |
| FASTLANE_USER = <your user email> | |
| PRODUCE_APP_IDENTIFIER = com.fastlanescreencast.FastlaneScreencast | |
| CERT_APP_IDENTIFIER = com.fastlanescreencast.FastlaneScreencast | |
| SIGH_APP_IDENTIFIER = com.fastlanescreencast.FastlaneScreencast | |
| ANDROID_KEYSTORE_KEYSTORE_NAME = FastlaneScreencast.keystore | |
| ANDROID_KEYSTORE_ALIAS_NAME = fastlanescreencast | |
| ANDROID_KEYSTORE_PASSWORD = supersecret |
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 go() { | |
| var userId = prompt('Username?', 'Guest'); | |
| var userData = { name: userId }; | |
| tryCreateUser(userId, userData); | |
| } | |
| var USERS_LOCATION = 'https://SampleChat.firebaseIO-demo.com/users'; | |
| function userCreated(userId, success) { | |
| if (!success) { |
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
| // App | |
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'app', | |
| template: '<span>{{ sayHello() }}</span>', | |
| }) | |
| export class App { | |
| public name: string = 'John'; |
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
| ; Sample supervisor config file. | |
| [unix_http_server] | |
| file=/tmp/supervisor.sock ; (the path to the socket file) | |
| ;chmod=0700 ; sockef file mode (default 0700) | |
| ;chown=nobody:nogroup ; socket file uid:gid owner | |
| ;username=user ; (default is no username (open server)) | |
| ;password=123 ; (default is no password (open server)) | |
| ;[inet_http_server] ; inet (TCP) server disabled by default |
This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.
You want a script that does a local compile to e.g. an out/ directory. Let's call this compile.sh for our purposes, but for your project it might be npm build or gulp make-docs or anything similar.
The out/ directory should contain everything you want deployed to gh-pages. That almost always includes an index.html.