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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>WebGL Demo</title> | |
<link rel="stylesheet" href="webgl.css" type="text/css"> | |
<script src="webgl-demo.js" defer></script> | |
</head> | |
<body> | |
<canvas id="canvas"></canvas> |
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
<sub> | |
<div class="alert alert-success" role="alert"> | |
<span class="badge badge-success">Success</span> | |
A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like. | |
</div> | |
<div class="alert alert-danger" role="alert"> | |
<span class="badge badge-danger">Danger</span> | |
A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like. | |
</div> |
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
// Default | |
var gulp = require('gulp'); | |
var ts = require('gulp-typescript'); | |
var tsProject = ts.createProject('tsconfig.json'); | |
gulp.task('default', function () { | |
return tsProject.src() | |
.pipe(tsProject()) | |
.js.pipe(gulp.dest('dist')); |
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
<br/><br/> | |
<nav aria-label="Page navigation example"> | |
<ul class="pagination justify-content-center pagination-sm"> | |
<li class="page-item disabled"> | |
<a class="page-link" href="#" tabindex="-1" aria-disabled="true"> ← </a> | |
</li> | |
<li class="page-item"><a class="page-link" href="#">1</a></li> | |
<li class="page-item"><a class="page-link" href="#">2</a></li> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | |
<title>Canavas and Tooltip</title> | |
<!-- Latest compiled and minified CSS | |
Bootstrap 4.3.1 --> | |
<link rel="stylesheet" | |
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" |
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
// The client ID is obtained from the {{ Google Cloud Console }} | |
// at {{ https://cloud.google.com/console }}. | |
// If you run this code from a server other than http://localhost, | |
// you need to register your own client ID. | |
var OAUTH2_CLIENT_ID = '__YOUR_CLIENT_ID__'; | |
var OAUTH2_SCOPES = [ | |
'https://www.googleapis.com/auth/youtube' | |
]; | |
// Upon loading, the Google APIs JS client automatically invokes this callback. |
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
export default{ | |
Development: { | |
config_id: { | |
host: "localhost", | |
port: 1234, | |
database: "my-app-db-dev" | |
} | |
}, | |
Testing: { | |
config_id: { |
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
{ | |
"development": { | |
"config_id": "development", | |
"app_name": "my app", | |
"app_desc": "my app desc", | |
"node_port": 3000, | |
"json_indentation": 4, | |
"database": "my-app-db-dev", | |
"host": "localhost" | |
}, |
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
APP_NAME=Example | |
APP_ENV=local | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=http://localhost | |
LOG_CHANNEL=stack | |
DB_CONNECTION=mysql | |
DB_HOST=127.0.0.1 |
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
var createError = require('http-errors'); | |
var express = require('express'); | |
var path = require('path'); | |
var cookieParser = require('cookie-parser'); | |
var logger = require('morgan'); | |
var indexRouter = require('./routes/index'); | |
var usersRouter = require('./routes/users'); | |
var app = express(); |
NewerOlder