Skip to content

Instantly share code, notes, and snippets.

@Skoatpalace
Skoatpalace / findThePrecious.html
Created August 29, 2018 09:21
FindThePrecious.com
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FindThePrecious.com</title>
</head>
<body>
<header>
@Skoatpalace
Skoatpalace / gandalf.css
Last active August 31, 2018 07:16
wanted Gandalf
.container {
position: relative;
width: 45%;
}
img {
width: 70%;
height: auto;
opacity: 0.4;
}
@Skoatpalace
Skoatpalace / sauron.css
Last active September 1, 2018 06:37
The Eye of Sauron
.container {
min-width: 200px;
}
[class*="col-"] {
height: 6vw;
padding: 0;
}
.black {
@Skoatpalace
Skoatpalace / terminal1-linux
Created September 3, 2018 14:00
terminal 1
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
wilder@wilder-ThinkPad-T430:~$ ls
Desktop Documents Downloads Music Pictures Public snap Templates Videos
wilder@wilder-ThinkPad-T430:~$ ls .
Desktop Documents Downloads Music Pictures Public snap Templates Videos
wilder@wilder-ThinkPad-T430:~$ ls -a
. .bashrc Documents .ICEauthority Pictures snap
.. .cache Downloads .local .pki .ssh
DEBUT
argent <- lire entrée
prixBonbon <- lire entrée
nbBonbons = 0
Si argent<=0 OU prix<=0
sortie -> 0
Sinon
Tant que prixBonbon<=argent
argent=argent-prixBonbon
nbBonbon=nbBonbon+1
@Skoatpalace
Skoatpalace / Senpai.java
Created September 10, 2018 12:56
Senpai
class Sempai {
public static void main(String[] args) {
System.out.println("Notice me Senpai");
}
}
@Skoatpalace
Skoatpalace / CandyCount.java
Created September 10, 2018 15:31
CandyCount.java
class candyCount {
public static void main(String[] args) {
double HaveMoney = 12.4;
double IsPrice = 1.2;
int NbCandies = 0;
if ((HaveMoney > 0) && (IsPrice > 0)) {
while ((HaveMoney - IsPrice) >= 0) {
@Skoatpalace
Skoatpalace / indiana_jones.java
Created September 17, 2018 14:12
indiana_jones.java
public class indiana_jones {
public static void main(String args[]) {
String titleIndiana = "Indiana Jones and the Last Crusade";
System.out.println(titleIndiana);
boolean haveYouSeen = false;
if (haveYouSeen == true) {
System.out.println("You have never seen this movie !!!!!");
@Skoatpalace
Skoatpalace / SecretSentence.java
Created September 17, 2018 15:33
SecretSentence.java
import java.util.Scanner;
public class SecretSentence{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
System.out.println("Veuillez saisir un argument:");
String argument1 = sc.nextLine();
System.out.println("veuillez saisir un deuxième argument:");
@Skoatpalace
Skoatpalace / Classroom.java
Created September 21, 2018 13:26
Classroom and Wilder
public class Classroom{
public static void main(String[] args){
Wilder who = new Wilder("Michel", true);
System.out.println(who.whoAmI());
Wilder she = new Wilder("Jeanine", false);
System.out.println(she.whoAmI());
}
}