The idea is to create a Distributed Cloud Service, where multiple hosts can join together to form a community-driven cloud platform. This would enable developer communities to collaboratively offer free cloud services such as APIs and hosting. Structurally simple and easy to operate, its goal is to be both secure and efficient.
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
from flask_babel import gettext | |
import requests | |
import re | |
name = "Weather Data Plugin" | |
description = gettext("Displays weather data for a given location using the Open Meteo API, with improved formatting.") | |
default_on = True | |
preference_section = 'general' | |
# Regular expression to match location queries (e.g., "weather in Berlin" or "weather 52.52, 13.41") |
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="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<title>Startmin - Bootstrap Admin Theme</title> |
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
<?php | |
class UserAgentStringParser | |
{ | |
/** | |
* Extracts information from the user agent string. | |
* | |
* @param string $string The user agent string | |
* @return array Returns the user agent information. | |
*/ | |
public function parse($string) |
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/sh | |
### BEGIN INIT INFO | |
# Provides: php-fastcgi | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Starts FastCGI for PHP | |
# Description: Starts FastCGI for PHP using spawn-fcgi |