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.util.Scanner; | |
public class Main { | |
public static void main(String[] args){ | |
System.out.println("Insert price here:"); | |
Scanner s = new Scanner(System.in); | |
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
object main { | |
def main(args: Array[String]){ | |
println("Insert price here:"); | |
val price = Console.readInt; | |
println("20% of inserted price is: " + (price * 20 / 100)) | |
} |
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
object main { | |
def main(args: Array[String]){ | |
val days = List("Deftera" , "Triti" , "Tetarti" , "Pempti" , "Paraksevi" , "Savato" , "Kiriaki") | |
println("Insert day id here:"); | |
val day_id = normalizeInteger(Console.readInt); | |
println("You chose day: " + days(day_id)) | |
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
@Override | |
public void onDraw(Canvas canvas, Rect bounds) { | |
/* draw your watch face */ | |
// Update the time | |
mTime.setToNow(); | |
int width = bounds.width(); | |
int height = bounds.height(); | |
// Find the center. Ignore the window insets so that, on round watches |
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
//Load the image from file | |
Image<Bgr, Byte> img = new Image<Bgr, byte>(fileNameTextBox.Text).Resize(400, 400, true); | |
//Convert the image to grayscale and filter out the noise | |
Image<Gray, Byte> gray = img.Convert<Gray, Byte>().PyrDown().PyrUp(); | |
Gray cannyThreshold = new Gray(180); | |
Gray cannyThresholdLinking = new Gray(120); | |
Gray circleAccumulatorThreshold = new Gray(120); | |
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
void Update () { | |
angle = 0; | |
bool up = false; | |
bool down = false; | |
bool right = false; | |
bool left = false; | |
bool vert = false; | |
bool hor = false; |
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
Windows 7 Professional 64-bit SP1 | |
CPU | |
Intel Core i5 2400 @ 3.10GHz 33 °C | |
Sandy Bridge 32nm Technology | |
RAM | |
4,00GB Single-Channel DDR3 @ 665MHz (9-9-9-24) | |
Motherboard | |
ASRock B75 Pro3 (CPUSocket) 25 °C | |
Graphics | |
S27C570 (1920x1080@60Hz) |
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
Memory slots | |
Total memory slots 4 | |
Used memory slots 2 | |
Free memory slots 2 | |
Memory | |
Type DDR3 | |
Size 4096 MBytes | |
Channels # Single | |
DRAM Frequency 665,1 MHz | |
CAS# Latency (CL) 9 clocks |
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
auto lo | |
iface lo inet loopback | |
iface eth0 inet static | |
address 192.168.0.180 | |
netmask 255.255.255.0 | |
network 192.168.0.0 | |
broadcast 192.168.0.255 | |
gateway 192.168.0.1 |
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
#NaeNae Official Song Drop That [email protected] | |
#SELFIE (Official Music Video) - The Chainsmokers.mp3 | |
'Boxed Off - Patrick Topping.mp3 | |
'Forget' - Patrick Topping.mp3 | |
12?? ??????? -H µ??a??? st? pe??d??µ??.mp3 |
OlderNewer