Skip to content

Instantly share code, notes, and snippets.

View Uzendayo's full-sized avatar
🌴
On vacation

Paul Nunes Uzendayo

🌴
On vacation
View GitHub Profile
@Uzendayo
Uzendayo / meta-tags.md
Created July 12, 2019 05:57 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@Uzendayo
Uzendayo / print_progress.py
Created December 23, 2018 23:10 — forked from aubricus/License
Python Progress Bar
# -*- coding: utf-8 -*-
# Print iterations progress
def print_progress(iteration, total, prefix='', suffix='', decimals=1, bar_length=100):
"""
Call in a loop to create terminal progress bar
@params:
iteration - Required : current iteration (Int)
total - Required : total iterations (Int)
@Uzendayo
Uzendayo / storeImgInMongoWithMongoose.js
Created November 13, 2017 02:27 — forked from aheckmann/storeImgInMongoWithMongoose.js
store/display an image in mongodb using mongoose/express
/**
* Module dependencies
*/
var express = require('express');
var fs = require('fs');
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// img path
@Uzendayo
Uzendayo / gesture.js
Created August 9, 2016 19:20 — forked from eguneys/gesture.js
A Gesture Manager for Phaser.
'use strict';
define(['phaser'], function(Phaser) {
function Gesture(game) {
this.game = game;
this.swipeDispatched = false;
this.holdDispatched = false;
this.isTouching = false;