Skip to content

Instantly share code, notes, and snippets.

@ByK95
ByK95 / sampleREADME.md
Created March 25, 2020 16:14 — forked from FrancesCoronel/sampleREADME.md
A sample README for all your GitHub projects.

FVCproductions

INSERT GRAPHIC HERE (include hyperlink in image)

Repository Title Goes Here

Subtitle or Short Description Goes Here

@ByK95
ByK95 / app.js
Created January 27, 2020 11:11 — forked from pantharshit00/app.js
Simple express app using JWT authentication
/**
* To get started install
* express bodyparser jsonwebtoken express-jwt
* via npm
* command :-
* npm install express bodyparser jsonwebtoken express-jwt --save
*/
// Bringing all the dependencies in
const express = require('express');
@ByK95
ByK95 / index.html
Created January 23, 2020 09:50 — forked from jelmervdl/index.html
Pure Python & Flask server-side event source
<script>
var stream = new EventSource('/api/stream');
stream.onmessage = function(e) {
console.info(e.data);
};
</script>
@ByK95
ByK95 / gist:d18aeaa128d0a949d5cd31fc60c83388
Created November 25, 2019 14:28 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@ByK95
ByK95 / gist:7c29ac50a4147ac37fe07cc878e96f52
Last active May 5, 2019 19:53 — forked from cfjedimaster/gist:3924728
Reveal.js events for slide navigation via mouse
window.addEventListener("mousedown", handleClick, false);
window.addEventListener("contextmenu", function(e) { e.preventDefault(); }, false);
//FIXME:disable this when user in ESC view
//TODO:check same for zoom view
function handleClick(e) {
e.preventDefault();
if(e.button === 0) Reveal.next();
if(e.button === 2) Reveal.prev();
}
@ByK95
ByK95 / object-watch.js
Last active March 15, 2019 15:48 — forked from eligrey/object-watch.js
object.watch polyfill in ES5
/*
*Forked from Eli Grey https://gist.github.com/eligrey/384583
*
*/
// object.watch
if (!Object.prototype.watch) {
Object.defineProperty(Object.prototype, "watch", {
enumerable: false
, configurable: true