Skip to content

Instantly share code, notes, and snippets.

@ConnorFM
ConnorFM / index.html
Created February 13, 2019 17:15
find the precious
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>findThePrecious.com</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
@ConnorFM
ConnorFM / bootstrap.css
Last active February 23, 2019 10:21
Grand Oeil
.col-1 {
border: 1px solid #ffffff;
padding-top: 8%;
}
.grey {
background: #333333;
}
.black {
1 cd ~/Téléchargements
2 ls
3 cd clmystery-master
4 cat instructions
5 cd mystery
6 ls
7 cat crimescene
8 more crimescene
9 cat crimescene
10 less crimescene
#!/bin/bash
read -p '$ ./bonjour.sh ' paramètre
echo "Bonjour $paramètre !"
foucauld@wilders-ThinkPad-T420:~$ ls
bonjour.sh examples.desktop Musique snap wcs.sh
Bureau files nano.save Téléchargements
cheatsheet.md.save Images nano.save.1 Test
Documents Modèles Public Vidéos
foucauld@wilders-ThinkPad-T420:~$ ls Téléchargements
bootstrap-4.3.1.zip findThePrecious-master.zip
clmystery-master integration_maquette_finale
clmystery-master.zip integration_maquette_finale.zip
findThePrecious-master
foucauld@wilders-ThinkPad-T420:~/quetes/shell/planets$ tree
.
├── fictional
│   ├── arrakis.jpeg
│   ├── coruscant.jpeg
│   └── cybertron.jpeg
├── inhabited
│   ├── arrakis.jpeg
│   ├── coruscant.jpeg
│   ├── cybertron.jpeg
<?php
$movieName = "Indiana Jones and the Last Crusade";
$seen = true;
$releaseDate = 1989;
$rating = 8.2;
echo $movieName."<\br>";
echo $seen."<\br>";
echo $releaseDate."<\br>";
<?php
$chain = "0@sn9sirppa@#?ia'jgtvryko1";
$lengthChain = strlen($chain);
$keyNumber = $lengthChain / 2;
$updtdChain = substr($chain , 5 , $keyNumber);
$updtChain = str_replace('@#?', ' ' , $updtdChain);
$updtChain = strrev($updtChain);
echo $updtChain.' ';
<?php
$movieTitles = [
'Raiders of the Lost Ark' => ['Harrisson Ford', 'Karen Allen', 'Paul Freeman'],
'Indiana Jones & The Temple of Doom' => ['Harrisson Ford', 'Kate Capshaw', 'Jonathan Ke Quan'],
'Indiana Jones & the Last Crusade' => ['Harrisson Ford', 'Sean Connery', 'Denholm Elliott']
];
foreach ($movieTitles as $key => $value) {
<?php
$weapons = ['fists', 'whip', 'gun'];
$opponentWeapon = $weapons[rand(0,2)];
switch ($opponentWeapon) {
case 'fists':
$indyWeapon = 'gun';
break;