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
| #!/bin/bash | |
| # Update and upgrade | |
| sudo apt update && sudo apt upgrade -y | |
| # Install prerequisites | |
| sudo apt install apt-transport-https ca-certificates curl software-properties-common -y | |
| # Add Docker's official GPG key | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
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
| "use client"; | |
| import { Button, buttonVariants } from "@/components/ui/button"; | |
| import { cn } from "@/lib/utils"; | |
| import { differenceInCalendarDays, format } from "date-fns"; | |
| import { ChevronLeft, ChevronRight } from "lucide-react"; | |
| import * as React from "react"; | |
| import { | |
| DayPicker, | |
| labelNext, |
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 os | |
| import json | |
| def minify(filename): | |
| newname = filename.replace('.json', '.min.json') # Output file name | |
| new_file_location = os.path.join( | |
| './compressed/', newname) # Output file location | |
| with open(filename, encoding="utf8") as fp: | |
| print("Compressing file: " + filename) |