- GET Requests
- POST/PUT Requests
| using System; | |
| class MainClass { | |
| public static void Main (string[] args) { | |
| Bateau One = new Bateau("Titanic", 52.310); | |
| var Information = One.InfoBateau(); | |
| Console.WriteLine(Information); | |
| // print : The bateau is Titanic and the weight is 52.31 tons | |
| Console.ReadLine(); | |
| } |
| /* Normally, this query prints to you any programming language | |
| containing the letters S (as SQL) | |
| */ | |
| SELECT * FROM Languages | |
| WHERE LanguageType = 'Programming' AND LanguageName LIKE 'S%' | |
| ORDER BY LanguageType | |
| ; |
| class Robot: | |
| def __init__(self, n, c, w): | |
| self.name = n | |
| self.color = c | |
| self.weight = w | |
| def introduce_self(self): | |
| print("My name is " + self.name) | |
| /* PROTOTYPE */ | |
| const bookProtos = { | |
| getSummary : () => { | |
| return `${this.title} was written by ${this.author} in ${this.year}`; | |
| }, | |
| getAge : () => { | |
| const years = new Date().getFullYear() - this.year; | |
| return `${this.title} in ${years} old`; | |
| } |
| # Methode to add matrix in a array | |
| def add(matrix_a, matrix_b): | |
| rows = len(matrix_a) | |
| columns = len(matrix_a[0]) | |
| matrix_c = [] | |
| for i in range(rows): | |
| list_1 = [] | |
| for j in range(columns): | |
| val = matrix_a[i][j] + matrix_b[i][j] | |
| list_1.append(val) |
You are looking at the most important, and most abundant thing on the web. You can't see it, unfortunately, because it's very small… aaaaand it's invisible — so having a magnifying glass doesn't really help here. But still.
I'm talking, of course, about U+0020; not to be confused with the band U2, who are just as ubiquitous, but far less useful.
This unicode point, representing the humble space character, is between every word, in every run of text, on every page of the web. And it has a very special characteristic: it's not sticky like glue. If two words are neighbors but there's not enough room for both of them, the space will free the second word to wrap around and start a new line.
Before getting into flexible containers, viewport meta tags, and @media breakpoints this humble character is what makes the web fundamentally 'responsive'. That is: able to change the layout of its content to suit different devices, contexts, and settings. Browser text does this automa
Docker est une plateforme permettant aux développeurs et aux administrateurs système de développer, déployer et exécuter des applications avec des conteneurs. L'utilisation de conteneurs Linux pour déployer des applications s'appelle la conteneurisation. Les conteneurs ne sont pas nouveaux, mais leur utilisation pour déployer facilement des applications l'est.
Docker est une plateforme permettant aux développeurs et aux administrateurs système de développer, déployer et exécuter des applications avec des conteneurs. L'utilisation de conteneurs Linux pour déployer des applications s'appelle la conteneurisation. Les conteneurs ne sont pas nouveaux, mais leur utilisation pour déployer facilement des applications l'est. La conteneurisation est de plus en plus populaire car les conteneurs sont:
- Flexible: même les applications les plus complexes peuvent être conteneurisées.
- Lightweight: les conteneurs exploitent et partagent le noyau hôte.
- Interchangeable: vous
| /* functional programming without Side Effect*/ | |
| let conf = { name: "SaintJS", date: 2017 } ; | |
| function renameConference(oldConf , newNameConf) { | |
| return { name: newNameConf , date: oldConf.date }; | |
| } | |
| let newConf = renameConference(conf , "No side effect Conference"); | |
| console.log(newConf); | |
| console.log(conf); |