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
https://google-gruyere.appspot.com/446189207851996622915780513020583367416/deletesnippet?index=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
function letterToColumn(letter){ | |
letter = letter.toUpperCase(); | |
var column = 0, length = letter.length; | |
for (var i = 0; i < length; i++) | |
{ | |
column += (letter.charCodeAt(i) - 64) * Math.pow(26, length - i - 1); | |
} | |
return column; | |
} |
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
function onOpen() { | |
var ui = SlidesApp.getUi(); | |
// Or DocumentApp or FormApp. | |
ui.createMenu('Make it Snow') | |
.addItem('Add Flakes', 'drawFlakes') | |
.addItem('Clear Flakes', 'clearFlakes') | |
.addToUi(); | |
} | |
function drawFlakes(){ |
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
1 ls | |
2 cat instructions | |
3 cat hint1 | |
4 cd mystery/ | |
5 ls | |
6 head -n 20 people | |
7 grep "CLUE" crimescene | |
8 grep "Annabel" people | |
9 head -n 173 streets/Mattapan_Street | tail -n 1 | |
10 head -n 40 streets/Hart_place | tail -n 1 |
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 titleFilm = 'Le cinquième élément'; | |
const yearFilm = '1997'; | |
const authorFilm = 'Luc Besson'; | |
const message = titleFilm + ', réalisé par ' + authorFilm + ', est sorti en ' + yearFilm; | |
// Display a popup | |
alert(message); |
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
{ | |
"_ANCHORS": [ | |
{ | |
"boot_command": [ | |
"<esc><esc><enter><wait>", | |
"install initrd=/install/initrd.gz ", | |
"auto=true ", | |
"url=http://{{.HTTPIP}}:{{.HTTPPort}}/{{user `preseed_file`}} ", | |
"language={{user `language`}} ", | |
"country={{user `country`}} ", |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="apple-touch-icon" sizes="76x76" href="/img/logo-cr-cvl.png"> | |
<link rel="icon" type="image/png" href="/img/logo-cr-cvl.png"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<title>Equipe Régionale d'Exploitation Energétique des Lycées</title> |
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
-- MySQL dump 10.13 Distrib 5.7.24, for Linux (x86_64) | |
-- | |
-- Host: localhost Database: richard_f_wcs_toulouse | |
-- ------------------------------------------------------ | |
-- Server version 5.7.24-0ubuntu0.18.04.1 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
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
DELETE FROM movie WHERE id = '5'; | |
DELETE FROM movie WHERE id > '10'; |
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
INSERT INTO movie VALUES (null, 'blablacar et tinder', 'http://ekfhdjd.fdgfs', 'dsfsdgbshfdg fdjsf fsdqf'); | |
INSERT INTO movie (name, poster, comment) VALUES ('blop en route', 'http://sfdfsdgsgsgf.sqd', 'dsgsf qseZkkl fdgff'); | |
INSERT INTO movie (name, poster, comment) VALUES ('blop en voyage', 'http://sfdfsdgsgsgf.sqd', 'dsgsf qseZkkl fdgff'), ('blop au cimetiere', 'http://sfdfsdgsgsgf.sqd', 'dsgsf qseZkkl fdgff'), ('blop au supermarché', 'http://sfdfsdgsgsgf.sqd', 'dsgsf qseZkkl fdgff'); | |
INSERT INTO movie (name) VALUES ('Salut les blops'); ( En parametrant une valeur par defaut aux autres colonnes à null) |