Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 json | |
from urllib.request import urlopen | |
import random | |
def print_logo(): printline("""Truth or Dare""") | |
def printline(msg): print(f"\n{msg}\n") | |
class 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
import requests | |
from bs4 import BeautifulSoup | |
from datetime import date as mydate | |
from datetime import datetime as mydatetime | |
import os, pytz, datetime, re | |
import time as mytime | |
def swap_positions(list, pos1, pos2): | |
list[pos1], list[pos2] = list[pos2], list[pos1] |
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
codes = { | |
'A': '.-', | |
'B': '-...', | |
'C': '-.-.', | |
'D': '-..', | |
'E': '.', | |
'F': '..-.', | |
'G': '--.', | |
'H': '....', | |
'I': '..', |
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 darkModeToggle = document.getElementById("darkModeToggle"); | |
// Listen for a click event on the toggle button | |
darkModeToggle.addEventListener("click", function () { | |
// Toggle the dark mode class on the body element | |
document.body.classList.toggle("dark-mode"); | |
// Store the user's preference in localStorage | |
if (document.body.classList.contains("dark-mode")) { | |
localStorage.setItem("darkMode", "enabled"); |
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
<button type="button" class="icon"> | |
<div class="cloud"> | |
<div class="puff puff-1"></div> | |
<div class="puff puff-2"></div> | |
<div class="puff puff-3"></div> | |
<div class="puff puff-4"></div> | |
<div class="puff puff-5"></div> | |
<div class="puff puff-6"></div> | |
<div class="puff puff-7"></div> | |
<div class="puff puff-8"></div> |
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
<div class="heading">Scroll to see more</div> | |
<div class="swiper-container"> | |
<div class="swiper-wrapper"> | |
<div class="swiper-slide"> | |
<div class="container-general"> | |
<div class="gallery-wrap wrap-effect-1"> | |
<div class="item"></div> | |
<div class="item"></div> | |
<div class="item"></div> | |
<div class="item"></div> |
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"> | |
<title>CodePen - Magic Navigation Menu Indicator</title> | |
<link rel="stylesheet" href="./style.css"> | |
</head> | |
<body> | |
<!-- partial:index.partial.html --> |
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 streamlit as st | |
import requests | |
from datetime import datetime | |
now = datetime.now() | |
month = now.month | |
day = now.day |