This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This function generates a custom menu on the Spreadsheet Toolbar | |
*/ | |
const onOpen = () => { | |
const ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Custom Menu') | |
.addItem('Send E-mails', 'startProcess') | |
.addToUi(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const canvas = document.getElementById('canvas'); | |
const ctx = canvas.getContext('2d'); | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
canvas.addEventListener('resize', () => { | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const canvas = document.getElementById('canvas'); | |
let ctx = canvas.getContext('2d'); | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
window.addEventListener('resize', () => { | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const canvas = document.getElementById('canvas'); | |
let ctx = canvas.getContext('2d'); | |
canvas.width = window.innerWidth; | |
canvas.height = window.innerHeight; | |
let x = 0; | |
let y = 0; | |
let tour = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var canvas = document.getElementById('canvas'); | |
var ctx = canvas.getContext('2d'); | |
// var img = new Image(); | |
// img.src = 'https://source.unsplash.com/random'; | |
/** Function dégradée couleur */ | |
// for (let i = 0; i < 6; i++) { | |
// for (let j = 0; j < 6; j++) { | |
// ctx.fillStyle = `rgb(${255 - 46.5 * i}, ${255 - 46.5 * j}, ${42.5 * i})` | |
// ctx.fillRect(j * 25, i * 25, 25, 25) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* this function return data from Google calendar | |
* @return(object) return JSON Object with data. | |
*/ | |
const doGet = () => { | |
const events = JSON.stringify(getAllEvents_()); | |
return ContentService.createTextOutput(events).setMimeType(ContentService.MimeType.JSON); | |
} | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { withStyles, createStyleSheet } from 'material-ui/styles'; | |
import Tabs, { Tab } from 'material-ui/Tabs'; | |
import Paper from 'material-ui/Paper'; | |
const TabStylesheet = createStyleSheet(theme => ({ | |
root: { | |
backgroundColor: theme.palette.background.paper, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { withStyles, createStyleSheet } from 'material-ui/styles'; | |
import Tabs, { Tab } from 'material-ui/Tabs'; | |
import Paper from 'material-ui/Paper'; | |
const TabStylesheet = createStyleSheet(theme => ({ | |
root: { | |
backgroundColor: theme.palette.background.paper, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git stash | |
git checkout branch123 | |
git stash apply |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1A | |
2A | |
3A (question sans point dans le formulaire) | |
4B | |
5B | |
6C | |
7B | |
8A | |
9B |
NewerOlder