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
const countries = [ | |
'🇦🇹 Austria', '🇧🇪 Belgium', '🇭🇷 Croatia', '🇨🇿 Czech Republic', '🇩🇰 Denmark', | |
'🏴 England', '🇫🇮 Finland', '🇫🇷 France', '🇩🇪 Germany', '🇭🇺 Hungary', | |
'🇮🇹 Italy', '🇳🇱 Netherlands', '🇲🇰 North Macedonia', '🇵🇱 Poland', | |
'🇵🇹 Portugal', '🇷🇺 Russia', '🏴 Scotland', '🇸🇰 Slovakia', '🇪🇸 Spain', | |
'🇸🇪 Sweden', '🇨🇭 Switzerland', '🇹🇷 Turkey', '🇺🇦 Ukraine', '🏴 Wales' | |
]; | |
const runSweepstake = () => { | |
const contenders = process.argv.slice(2); |
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
<% include partials/head %> | |
<body> | |
<div class="col-sm-10 col-sm-offset-1"> | |
<div class="text-center"> | |
<h1><%= error.status %>: <%= message %></h1> | |
<pre><%= error.stack %></pre> | |
<a href="/" class="btn btn-default"><span class="fa fa-home"></span> Home</a> | |
</div> | |
</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
<% include partials/head %> | |
<body> | |
<div class="col-sm-8 col-sm-offset-2"> | |
<div class="text-center"> | |
<h1 class=" fa fa-user"> Profile</h1><br> | |
<span><strong>user id</strong>: <%= user._id ? user._id : '' %></span><br> | |
<span class="fa fa-sign-out"><a href="/"> Sign out</a></span> | |
<hr> | |
<div class="jumbotron"> |
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
<% include partials/head %> | |
<body> | |
<div class="col-sm-8 col-sm-offset-2"> | |
<div class="jumbotron text-center"> | |
<h1><span class="fa fa-sign-in"></span> Signup</h1> | |
<% if (message != null) { %> | |
<div class="alert-danger"><%= message %></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
<% include partials/head %> | |
<body> | |
<div class="col-sm-8 col-sm-offset-2"> | |
<div class="jumbotron text-center"> | |
<h1><span class="fa fa-sign-in"></span> Login</h1> | |
<% if (message != null) { %> | |
<div class="alert-danger"><%= message %></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
var gulp = require('gulp'); // Require gulp | |
// Sass dependencies | |
var sass = require('gulp-sass'); // Compile Sass into CSS | |
var minifyCSS = require('gulp-minify-css'); // Minify the CSS | |
// Minification dependencies | |
var minifyHTML = require('gulp-minify-html'); // Minify HTML | |
var concat = require('gulp-concat'); // Join all JS files together to save space | |
var stripDebug = require('gulp-strip-debug'); // Remove debugging stuffs |