Skip to content

Instantly share code, notes, and snippets.

View LeCoupa's full-sized avatar
:octocat:
Keep pushing ⚡️

Julien Le Coupanec LeCoupa

:octocat:
Keep pushing ⚡️
View GitHub Profile
<template name="SignIn">
<form action="/signin" id="signInForm" method="post">
<input id="signInEmail" type="text" name="email" placeholder="Email Address">
<input id="signInPassword" type="password" name="password" placeholder="Password">
<input class="btn-submit" type="submit" value="Sign In">
</form>
<!-- end #sign-in-form -->
</template>
<template name="SignUp">
<form action="/sign-up" id="signUpForm" method="post">
<input id="signUpEmail" name="email" placeholder="Email Address" type="text" >
<input id="signUpPassword" name="password" placeholder="Password" type="password">
<input id="signUpPasswordConfirm" name="password-confirm" placeholder="Confirm" type="password">
<input class="btn-submit" type="submit" value="Join Meteorites!">
</form>
<!-- end #sign-up-form -->
@LeCoupa
LeCoupa / meteor.nginx
Last active January 23, 2022 07:57
How to deploy a Meteor application without SSL on Nginx --> https://github.com/LeCoupa/awesome-cheatsheets
# Note: if you want to run multiple meteor apps on the same server,
# make sure you define a separate port for each.
# Upstreams
upstream gentlenode {
server 127.0.0.1:58080;
}
# HTTP Server
server {
@LeCoupa
LeCoupa / meteor.ssl.nginx
Last active January 23, 2022 07:57
How to deploy a Meteor application with SSL on Nginx --> https://github.com/LeCoupa/awesome-cheatsheets
# Note: if you want to run multiple meteor apps on the same server,
# make sure to define a separate port for each.
# Upstreams
upstream gentlenode {
server 127.0.0.1:58080;
}
# HTTP Server
server {
@LeCoupa
LeCoupa / fake-referer.casper.coffee
Last active October 21, 2020 10:43 — forked from papoms/fake-referrer.casper.js
How to fake the HTTP referer with CasperJS --> https://github.com/LeCoupa/awesome-cheatsheets
# Define Variables + Casper Initialization
fakeReferer = 'https://google.com/'
targetUrl = 'https://facebook.com/'
casper = require('casper').create()
# Fake the referer
casper.start fakeReferer, ->