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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Responsive Font Size Example</title> | |
<style> | |
:root { | |
font-size: calc(1rem + 0.25vw); | |
} |
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
document.querySelector('input[type=password]').addEventListener('keyup', function (keyboardEvent) { | |
const capsLockOn = keyboardEvent.getModifierState('CapsLock'); | |
if (capsLockOn) { | |
console.log('Caps Lock is ON'); | |
} else { | |
console.log('Caps Lock is OFF'); | |
} | |
}); |
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
from tkinter import PhotoImage, messagebox, Canvas, Button, Entry, Label, Text, END, Tk | |
import base64 | |
def encode(key, clear): | |
""" | |
Encrypts the given text using Vigenere cipher with the provided key. | |
Args: | |
key (str): The encryption key. | |
clear (str): The text to be encrypted. |
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
from tkinter import Tk, Label, Entry, Button | |
def calculate_bmi(): | |
""" | |
Calculate the BMI based on the provided weight and height inputs. | |
""" | |
weight = get_weight() | |
height = get_height() | |
# Check if both weight and height are provided |
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
https://ouo.io/4496I tt0111161 The Shawshank Redemption 1994 1080p TRSub | |
https://ouo.io/WOmGR7T tt0068646 The Godfather Part I 1972 1080p TRSub v2 |
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 random | |
import turtle | |
# instances | |
screen = turtle.Screen() | |
count_down_turtle = turtle.Turtle() | |
score_turtle = turtle.Turtle() | |
# colors | |
screen.bgcolor("black") |
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
{ | |
"ali2.ru": "ali2.ru", | |
"web.telegram.org": "web.telegram.org", | |
"samo.is-a.dev": "samo.is-a.dev", | |
"www.bartrove.com": "www.bartrove.com", | |
"msn.com": "msn.com", | |
"ask.com": "ask.com", | |
"hdvidzpro.com": "hdvidzpro.com", | |
"musicbrainz.org": "musicbrainz.org", | |
"hdvidzpro.me": "hdvidzpro.me", |
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
from github import Github | |
from github import Auth | |
import github.InputFileContent | |
import json | |
def update_gist_file(gist_id, file_name, content): | |
if isinstance(content, dict): | |
content = json.dumps(content) | |
content = github.InputFileContent(content) | |
gist = g.get_gist(gist_id) |
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
// https://letterboxd.com/film/<film-slug> | |
// https://letterboxd.com/<user-name>/film/<film-slug> | |
javascript:(function(){var e=document.querySelector('a[data-film-id]');if(e){var t=e.getAttribute("data-film-id");alert("Film ID: "+t);}else{alert("Film ID not found.");}})(); |
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
- https://github.com/appwrite/awesome-appwrite/pull/489 | |
- https://github.com/microsoft/terminal/issues/16100 | |
- https://github.com/mozilla/geckodriver/issues/330 | |
- https://googlechromelabs.github.io/chrome-for-testing/ |