Skip to content

Instantly share code, notes, and snippets.

View faboo03's full-sized avatar

Fabien Rondeau faboo03

View GitHub Profile
This file has been truncated, but you can view the full file.
@faboo03
faboo03 / Code.gs
Created October 17, 2020 13:21
Google App Script - Extract event from calendar to Google Spreadsheet automatically
var calendarId = '[email protected]';
var startDate = "2020-01-01";
var stopDate = "2020-12-31";
// Add element to menu to force the trigger
function addMenu() {
var ui = SpreadsheetApp.getUi()
var menu = ui.createMenu("Menu AddOn").addItem("Extract Calendar", "extractFromCalendar").addToUi()
}
@faboo03
faboo03 / KeyExchange.md
Last active August 8, 2016 09:56
Notes d'installation
@faboo03
faboo03 / installDoc.md
Last active October 10, 2016 13:02
Install Apache With PHP-FPM
@faboo03
faboo03 / RestartMysqlPassword.md
Last active March 16, 2017 09:11
Restart Mysql Root Password

Restart Mysql Password

sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &

Restart password

mysql -u root -e 'update user set authentication_string="" where User="root"' mysql
@faboo03
faboo03 / .travis
Created January 26, 2016 09:11
Example .travis
language: php
php:
- 5.5
- 5.6
- hhvm
matrix:
fast_finish: true
allow_failures:
@faboo03
faboo03 / test.md
Last active January 13, 2016 07:19
Symfony 2 : TP AnonymousGift

Symfony 2 : TP AnonymousGift

Sommaire

  • Présentation du contexte
  • Analyse UML
    • Flow
    • Entités
  • User
@faboo03
faboo03 / test.md
Created January 12, 2016 20:48
Hello!

Symfony 2 : TP AnonymousGift

Sommaire

  • Présentation du contexte
  • Analyse UML
    • Flow
    • Entités
  • User
@faboo03
faboo03 / test.html
Created January 12, 2016 20:46
Hello!
<h1 id="symfony-2-tp-anonymousgift">Symfony 2 : TP AnonymousGift</h1>
<h2 id="sommaire">Sommaire</h2>
<ul>
<li>Présentation du contexte</li>
<li>Analyse UML <br>
<ul><li>Flow</li>
@faboo03
faboo03 / boundingBox.php
Last active August 5, 2020 21:57
boundingBox.php code sample
<?php
interface iBoundingBox {
/**
* Récupère les coordonnées de la BoundingBox
*/
public function getCoords();
/**
* Fusionne 2 BoundingBox et retourne une BoundingBox qui contient les 2 précédentes.
*/