🏳️🌈
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 | |
| # Script that allows installing packages from the Arch Linux Archive | |
| # Made by ConfuSomu/Twilight on the 2023-01-12 | |
| # Licensed under the GNU GPL | |
| URL_BASE="archive.archlinux.org" | |
| PKG_DIR="/var/cache/pacman/pkg" | |
| usage() { | |
| echo "$(basename ${0}) <packages to install from archive>" |
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
| https://www.icloud.com/shortcuts/48f91cc36a4749b784ae74c29f3584e6 | |
| In Settings > Shortcuts, you have to allow untrusted shortcuts to be able to add this shortcut to your Shortcuts library. |
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/bin/env python3 | |
| # Title: Webcam capture | |
| # Author: ConfuSomu | |
| # Date: This program was originally written in december 2018, comments added in january 2020. | |
| # Dependencies: pygame | |
| # Description: Script that displays a video feed from a USB webcam. Worked on Raspbian. | |
| # I am probably importing unused modules... | |
| import pygame | |
| import pygame.camera |
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 | |
| # Title: Webcam capture | |
| # Author: ConfuSomu | |
| # Date: This program was originally written in august 2018 but improvements were made in december 2019. | |
| # Dependencies: fswebcam | |
| # Description: Script that allows you to easily take a photo using your USB webcam. Using cron, you can use this script to take a timelapse. Works correctly on Raspberry Pi. | |
| DATE=$(date +"%Y%m%dT%H%M%S%z") #ISO 8601 date format | |
| until fswebcam -r 1280x720 --no-banner -S 8 --fps 15 /path/to/dir/Timelapse/$DATE.jpg |