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.time.LocalDate; | |
import java.time.LocalTime; | |
import java.time.format.DateTimeFormatter; | |
import java.util.ArrayList; | |
import java.util.List; | |
public class MosikiTasks1 { | |
static void currentDate() { //Current Date Method | |
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("MM/dd/uuuu"); | |
LocalDate localDate = LocalDate.now(); |
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
#!/usr/local/bin/python3 | |
import base64 | |
import subprocess | |
import webbrowser | |
# Converts a string from Base64 to ASCII | |
def converter(message): | |
message_bytes = message.encode("ascii") | |
base64_bytes = base64.b64decode(message_bytes + b'===') | |
base64_message = base64_bytes.decode("ascii") |