This file contains hidden or 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
package libreria; | |
import java.util.Vector; | |
public class AppLibreria { | |
public static void main(String[] args) { | |
// long i=0; | |
// Vector<Long> vals = new Vector<>(); | |
// while (true) { | |
// vals.add(1L); |
This file contains hidden or 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
JMP start | |
R0: DB 140 | |
R1: DB 255 | |
start: | |
CALL sign | |
HLT |
This file contains hidden or 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
package com.ap.pizzeria; | |
import java.util.Scanner; | |
import java.util.StringJoiner; | |
public class GestionalePizzeria { | |
private final InformazioniAttivita informazioni; | |
This file contains hidden or 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
package fileio; | |
import java.io.BufferedReader; | |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.io.IOException; | |
public class FileTest { | |
public static final String FILENAME = "pippo.txt"; |
This file contains hidden or 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
package pianocartesiano; | |
public class App { | |
public static void main(String[] args) { | |
var piano = new PianoCartesiano(); | |
piano.add(new Punto()); | |
piano.add(new Triangolo()); | |
piano.add(new Cerchio()); | |
piano.add(new Vettore2D(new Punto(),new Punto())); | |
piano.draw(); |
This file contains hidden or 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 java.io.IOException; | |
import java.net.InetSocketAddress; | |
import java.net.ProxySelector; | |
import java.net.URI; | |
import java.net.http.HttpClient; | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpResponse; | |
public class App { | |
public static void main(String[] args) { |
This file contains hidden or 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
package pong; | |
import processing.core.PGraphics; | |
import processing.core.PVector; | |
public class Ball { | |
private PVector pos; | |
private PVector vel; | |
private int mag; |
This file contains hidden or 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
package pong; | |
import processing.core.PGraphics; | |
import processing.core.PVector; | |
public class Ball extends GameObject { | |
private PVector vel; | |
private int mag; | |
public Ball(PVector pos, int mag) { |
This file contains hidden or 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
from typing import List, Tuple | |
import pygame as pg | |
pg.init() | |
pg.font.init() | |
clock = pg.time.Clock() | |
SCREEN = (720, 1280) |
This file contains hidden or 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
.......#..............................................#.#..#.#..#.....#.........#.....#............. | |
......................#..........................#.#.....................##......................... | |
......#...#.#...........#...#..........#...........#.........................#..........#..#........ | |
..........#.....#.....##..#..#..............#....#..........................##.#..#......#.....##... | |
.......#....#...#.......#..#......#...#..........#...........................####................... | |
...#.....#....#............#..#.#.....#.#................#..#........#.........#.................... | |
..............#...#....#....................#.#....#.##....#...#.#.# |