Skip to content

Instantly share code, notes, and snippets.

View Keirodev's full-sized avatar
🏠
Working from home

Kévin Monteiro Keirodev

🏠
Working from home
View GitHub Profile
@Keirodev
Keirodev / Excel.php
Last active August 3, 2016 17:08 — forked from ihumanable/Excel.php
Simple Excel Writer in 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
@Keirodev
Keirodev / generateRandomLetters.js
Created July 16, 2018 09:10
Generate Random letters in 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 / pair-dual-boot-bluetooth.md
Created April 20, 2023 13:35 — forked from madkoding/pair-dual-boot-bluetooth.md
Pairing bluetooth devices (keyboard or mouse) in dual boot with Linux Ubuntu and Windows 10

1) Pair ALL bluetooth devices in linux (it is to have the files you will need to edit later)

2) Pair ALL bluetooth devices in Windows 10. If you know how, get the MAC address id from your bluethooth keyboard, we will need it later

3) Reboot and go back to Linux

4) Install chntpw package, this is needed to read the registry keys from Wintendo

sudo apt-get install chntpw