Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Kévin Monteiro Keirodev

🏠
Working from home
View GitHub Profile
@Keirodev
Keirodev / generateRandomLetters.js
Created Jul 16, 2018
Generate Random letters in JS
View generateRandomLetters.js
var f = ''
var r
for (let i = 1; i <= 1000; i++){
r = Math.floor(Math.random() * (36-10) + 10)
f += ' ' + ((r).toString(36).toUpperCase());
}
console.log(f);
@Keirodev
Keirodev / Excel.php
Last active Aug 3, 2016 — forked from ihumanable/Excel.php
Simple Excel Writer in PHP
View Excel.php
<?php
namespace Exaprint\ExaRequete\Models;
/**
* Simple excel writer class with no external dependencies. Handle special caracters as :
* Array('Добрый день', 'Bonne journée','tschüß', 'こんにちは。')
* @author Kévin Monteiro, inspired by Matt Nowack
* @link https://gist.github.com/ihumanable
* @link https://gist.github.com/Keirodev
* @license Unlicensed