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
/*Juste to make fun wiht a collegue when he leaves the pc's on*/ | |
/*After F12 */ | |
/*Copy-Paste in in console */ | |
/*to turn the WebWindow around */ | |
(function(){ | |
document.documentElement.style.transitionDuration='30s'; | |
document.documentElement.style.transistionTimingFunction="ease-in"; | |
document.documentElement.style.transform="rotate(360deg)"; | |
}()); |
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
public class Varibles { | |
public static void main(String[] args) { | |
String title = "Indiana Jones and the Last Crusade"; | |
System.out.println("title :"); | |
System.out.println(title); | |
boolean disISeeTheMovie = true; | |
System.out.println("disISeeTheMovie :"); | |
System.out.println(disISeeTheMovie); | |
int year = 1989; | |
System.out.println("year :"); |
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
public class CandyCount { | |
public static void main(String[] args) { | |
double realMoney = 12.4; | |
double realPrice = 1.2; | |
int candies = 0; | |
if (realMoney > 0 && realPrice > 0){ | |
while ((realMoney - realPrice) >= 0) { | |
candies = candies + 1; | |
realMoney = realMoney - realPrice; | |
} |
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
public class Senpai { | |
public static void main(String[] args) { | |
System.out.println("Notice me Senpai"); | |
} | |
} |
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
using System; | |
using System.Collections.Generic; // list and vectors | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
List<string> stringCharacteres = new List<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
using System; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
using System; | |
public class Character | |
{ | |
public string name; | |
public int pv; | |
public int force; | |
public int defense; |
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
--to create the database | |
CREATE DATABASE 'filmsAndActors'; | |
USE 'filmsAndActors'; | |
SHOW TABLES; | |
--to clean this tables on DataBase, in case you have been pratice | |
DROP TABLE castM; | |
DROP TABLE gender_film; | |
DROP TABLE people; | |
DROP TABLE film; |
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 express = require('express'); | |
const session = require('express-session'); | |
const bodyParser = require('body-parser'); | |
const cache = require('memory-cache'); | |
const passport = require('passport'); | |
const { check, validationResult } = require('express-validator/check'); | |
// app.integration.spec.js | |
const request = require('supertest'); |
NewerOlder