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 assert from 'assert'; | |
class Person { | |
private name: string; | |
private age: number; | |
constructor (name: string, age: number) { | |
this.name = name; | |
this.age = age; | |
} |
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 assert from 'assert'; | |
class BankCustomer { | |
private name: string; | |
private secretCode: string; | |
public isCodeOk: boolean = false; | |
constructor(name: string, code: string) { | |
this.name = name; | |
this.secretCode = code; |
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 { cpus } from 'os'; // Import ES6 style | |
import chalk from 'chalk'; | |
const os = JSON.stringify(cpus()); | |
console.log(chalk.red(os)); | |
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 { cpus } from 'os'; // Import ES6 style | |
import chalk from 'chalk'; | |
const os = JSON.stringify(cpus()); | |
console.log(chalk.red(os)); | |
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 hello(name: string) { | |
console.log("Hello " + name); | |
} | |
const firstName: string = "bob"; | |
hello(firstName); | |
hello(firstName + " marley"); | |
function concat(a: string, b: string) { |
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
725 grep ^JavaScript wilders.csv > JavaScript.csv | |
726 sudo apt-get install -y curl | |
727 cat wilders.csv | |
728 cat JavaScript.csv | |
729 grep ^JavaScript wilders.csv > javaScript.csv | |
730 grep ^JavaScript wilders.csv > JavaScript.txt | |
731 grep PHP wilders.csv > PHP.txt | |
732 grep PHP wilders.csv > php_france_2019.csv | |
733 cat wilders.csv |
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
716 wc < BiarritzToulouse.csv | |
717 cat wilders.csv | |
718 wc wilders.csv | |
719 ls | |
720 cd Downloads/ | |
721 ls | |
722 sort wilders.csv | |
723 sort Java wilders.csv | |
724 man grep | |
725 grep ^JavaScript wilders.csv > JavaScript.csv |
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
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mkdir real | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mkdir fictional | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mkdir inhabited | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv jupiter.jpeg mars.jpeg venus.jpeg neptune.jpeg real/ | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv earth.jpeg saturn.jpeg uranus.jpeg real/ | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv arrakis.jpeg coruscant.jpeg cybertron.jpeg fictional/ | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv cybertron.jpeg coruscant.jpeg arrakis.jpeg fictional/ | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv earth.jpeg mars.jpeg venus.jpeg mercury.jpeg real/ | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv earth.jpeg mars.jpeg venus.jpeg mercury.jpeg real/ | |
wilder@wilder-ThinkPad-T440p:~/Documents/JavaProjects/planets$ mv jupiter.jpeg neptune.jpeg |
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
bonjour Romain tu vas bien ?? |
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
class Decipherer { | |
public static void main(String[] args) { | |
String msg1 ="0@sn9sirppa@#?ia'jgtvryko1"; | |
String msg2 ="q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj"; | |
String msg3 ="aopi?sedohtém@#?sedhtmg+p9l!"; | |
System.out.println(tailleChaine(msg1)); | |
System.out.println(tailleChaine(msg2)); |
NewerOlder