v
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 ( | |
| "fmt" | |
| "unicode" | |
| ) | |
| func isPalindrome(s string) bool { | |
| cleanStr := "" | |
| for _, r := range s { | |
| if unicode.IsLetter(r) || unicode.IsNumber(r) { |
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 "fmt" | |
| func containsDuplicate(nums []int) bool { | |
| record := make(map[int]bool) | |
| for i := 1; i <= len(nums); i++ { | |
| num := nums[i - 1] | |
| if record[num] { | |
| return true |
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 axios, { AxiosInstance } from 'axios'; | |
| import { | |
| KWIK_CLIENT_DOMAIN_NAME, | |
| KWIK_CUSTOM_FIELD_TEMPLATE, | |
| KWIK_EMAIL, | |
| KWIK_PASSWORD, | |
| KWIK_TEAM_ID, | |
| NODE_ENV, | |
| } from '../config'; | |
| import { IAddressDoc, Location } from '../models/types/address.types'; |
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
| require('dotenv').config(); | |
| const nodemailer = require("nodemailer"), | |
| config = process.env | |
| const transporter = nodemailer.createTransport({ | |
| host: "smtp.gmail.com", | |
| port: 465, | |
| secure: true, | |
| auth: { |
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
| * { | |
| box-sizing: border-box; | |
| } | |
| body{ | |
| height: 100vh; | |
| background-color: #212529; | |
| /* display: flex; */ | |
| font-size: 14px; | |
| background: url(./img/background-gd8bdb1f77_1920.jpg); |
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
| <!DOCTYPE html> | |
| <html lang="eu"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title> Time Zones</title> | |
| <link rel='stylesheet' href="page-styling.css"> | |
| <!-- <script src="https://cdn.jsdelivr.net/gh/manuelmhtr/countries-and-timezones@latest/dist/index.min.js" type="text/javascript"></script> --> |
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
| const ct = require('countries-and-timezones/'); | |
| let allTimeZones = ct.getAllTimezones(); | |
| let timeZoneNames = Object.entries(allTimeZones).sort(); | |
| const dropdown = document.getElementById('city-list'); | |
| // Create Option element with all the timeZones -- In dropdown menu | |
| for (let i = 0; i < timeZoneNames.length; i++) { | |
| window.city = document.createElement('option') |
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
| /* Container with other elements within */ | |
| .movie { | |
| position: relative; | |
| } | |
| .movie-preview-img { | |
| height: 100%; | |
| width: 100%; | |
| position: relative; | |
| border-radius: 15px; |
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
| * { | |
| box-sizing: border-box; | |
| font-family: sans-serif; | |
| } | |
| body, html{ | |
| height: 100vh; | |
| background: #27292D; | |
| } |
NewerOlder