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 mailjet = require('node-mailjet'); | |
require('dotenv').config(); | |
async function main() { | |
const mailjet = require ('node-mailjet').connect(process.env.MJ_APIKEY_PUBLIC, process.env.MJ_APIKEY_PRIVATE); | |
const request = mailjet | |
.post("send", {'version': 'v3.1'}) | |
.request({ | |
"Messages":[ | |
{ |
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 mailjet = require('node-mailjet'); | |
require('dotenv').config(); | |
async function main() { | |
const connection = mailjet.connect(process.env.MJ_APIKEY_PUBLIC, process.env.MJ_APIKEY_PRIVATE); | |
const sender = connection.post("send", {'version': 'v3.1'}); | |
const viewer = { | |
firstName: "Nikola", | |
lastName: "Andreev", |
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 fs = require('fs'); | |
const emptyCell = '-'; | |
async function main() { | |
let networkMatrix = await readFile(); | |
let sortedValues = buildArray(networkMatrix); | |
let initialSum = getSum(networkMatrix); | |
await solve(networkMatrix, sortedValues); | |
let reducedSum = getSum(networkMatrix); | |
console.log('Result: ' + (initialSum - reducedSum)); |
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
import org.junit.Assert; | |
import org.junit.Test; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Modifier; | |
import java.util.ArrayList; | |
import java.util.List; |
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
CreateBoatEngine\Break\7\7\Sterndrive | |
CreateSailBoat\WindSurf\200\20 | |
CreateRowBoat\Canoe\550\2 | |
CreateYacht\SeaVoyage\1000\Break\250 | |
CreateRowBoat\Sunken2\999\3 | |
OpenRace\10000\0\0\true | |
SignUpBoat\Sunken2 | |
SignUpBoat\WindSurf | |
SignUpBoat\SeaVoyage | |
SignUpBoat\Canoe |
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
-------------Input---------------- | |
CreateBoatEngine\Shark\100\-250\Jet | |
CreateBoatEngine\Shark\500\250\Jet | |
CreateSailBoat\Sail1\100\100 | |
CreateYacht\Yacht1\500\Shark\250 | |
CreateRowBoat\Rowboat1\100\20 | |
CreateRowBoat\Slow1\300\1 | |
OpenRace\2100\2100\200\true | |
SignUpBoat\Yacht1 | |
SignUpBoat\Sail1 |
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 ExamProblems; | |
import java.util.Scanner; | |
public class TrainingLab { | |
public static void main(String[] args) { | |
Scanner scan = new Scanner(System.in); | |
double width = Double.parseDouble(scan.nextLine()); | |
double height = Double.parseDouble(scan.nextLine()); |
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 SystemSplit; | |
import SystemSplit.Hardware.HardwareComponent; | |
import SystemSplit.Hardware.HeavyHardwareComponent; | |
import SystemSplit.Hardware.PowerHardwareComponent; | |
import SystemSplit.Software.ExpressSoftwareComponent; | |
import SystemSplit.Software.LightSoftwareComponent; | |
import SystemSplit.Software.SoftwareComponent; | |
import java.util.ArrayList; |
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; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace numsTo100inText | |
{ | |
class Program | |
{ |
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; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Numerics; | |
using System.Globalization; | |
using System.Text.RegularExpressions; | |
namespace Praktice |
NewerOlder