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
Meteor.http.post('https://api.mailgun.net/v2/movieatmyplace.com/messages', | |
{ | |
auth:"api:" + process.env.MAILGUN_API_KEY, | |
params: | |
{ | |
"from":"Dev McCool <mccool@your-domain.com>", | |
"to":[e.currentTarget.value], | |
"subject":"Behold: the power of Meteor and Mailgun", | |
"html":"A <b>bold</b> greeting goes here", | |
"h:X-Mailgun-Variables":JSON.stringify({tracking_id:my_tracking_var}), |
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
body { | |
background-image: url(film1.jpg); | |
background-size: cover; | |
background-position: center; | |
color: white; | |
margin: 0; | |
font-family: Verdana, Arial; | |
} | |
.film-wrapper { |
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
[ | |
{ | |
"kg": 0.5, | |
"m3": null, | |
"estonia": { | |
"zone1": 4.27, | |
"zone2": 4.79, | |
"zone3": 5.24, | |
"zone4": 5.91, | |
}, |
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
package teema2; | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.Label; | |
import javafx.scene.control.PasswordField; | |
import javafx.scene.control.TextField; | |
import javafx.scene.input.KeyCode; | |
import javafx.scene.layout.StackPane; |
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
package teema2; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class LaevadGrid { | |
static int[][] laud; | |
static int lauaLaius = 4; | |
static int lauaKorgus = 3; | |
static Scanner sc = new Scanner(System.in); |
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
package teema2; | |
import javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Button; | |
import javafx.scene.control.Label; | |
import javafx.scene.control.PasswordField; | |
import javafx.scene.control.TextField; | |
import javafx.scene.input.KeyCode; | |
import javafx.scene.layout.StackPane; |
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
package teema2; | |
import javafx.application.Application; | |
import javafx.scene.Node; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Label; | |
import javafx.scene.image.Image; | |
import javafx.scene.layout.GridPane; | |
import javafx.scene.layout.StackPane; | |
import javafx.scene.paint.Color; |
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
[ | |
{ | |
"kg": 0.5, | |
"m3": null, | |
"estonia": { | |
"zone1": 4.27, | |
"zone2": 4.79, | |
"zone3": 5.24, | |
"zone4": 5.91 | |
}, |
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
/* | |
* Main | |
* Oskab mängu käivitada | |
* Mäng | |
* Oskab mängu seadistada | |
* Oskab mängu töös hoida | |
* Oskab mängu lõpetada | |
* Mängija | |
* Oskab küsida lasu kordinaate | |
* Oskaba tagasisidet anda kui lask läks pihta |
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 Tryout { | |
public static void main(String[] args) { | |
String s = "Tere, TUDENG, 1234!"; | |
String t = asenda(s); // "xxxx, xxxxxx, 1234!" | |
System.out.println(t); | |
} | |
public static String asenda(String s) { | |
String result = ""; | |
for (int i = 0; i < s.length(); i++) { |
OlderNewer