category.admin.controller.php';

} else if (isset($_GET['insertimage'])){

    include dirname(__DIR__). DIRECTORY_SEPARATOR. 'admin'. DIRECTORY_SEPARATOR. 'image'. DIRECTORY_SEPARATOR. 'insert.image.admin.controller.php';

} else if (isset($_GET['deleteimage']) && ctype_digit($_GET['deleteimage'])){

    $pageId = (int) $_GET['deleteimage'];

    include dirname(__DIR__). DIRECTORY_SEPARATOR. 'admin'. DIRECTORY_SEPARATOR. 'image'. DIRECTORY_SEPARATOR. 'delete.image.admin.controller.php';

} else if (isset($_GET['updateimage']) && ctype_digit($_GET['updateimage'])){

    $pageId = (int) $_GET['updateimage'];

    include dirname(__DIR__). DIRECTORY_SEPARATOR. 'admin'. DIRECTORY_SEPARATOR. 'image'. DIRECTORY_SEPARATOR. 'update.image.admin.controller.php';

} else if (isset($_GET['insertproduct'])){

    include dirname(__DIR__). DIRECTORY_SEPARATOR. 'admin'. DIRECTORY_SEPARATOR. 'product'. DIRECTORY_SEPARATOR. 'insert.product.admin.controller.php';

} else if (isset($_GET['deleteproduct']) && ctype_digit($_GET['deleteproduct'])){

    $pageId = (int) $_GET['deleteproduct'];

    include dirname(__DIR__). DIRECTORY_SEPARATOR. 'admin'. DIRECTORY_SEPARATOR. 'product'. DIRECTORY_SEPARATOR. 'delete.product.admin.controller.php';

} else if (isset($_GET['updateproduct']) && ctype_digit($_GET['updateproduct'])){

    $pageId = (int) $_GET['updateproduct'];

    include dirname(__DIR__). DIRECTORY_SEPARATOR. 'admin'. DIRECTORY_SEPARATOR. 'product'. DIRECTORY_SEPARATOR. 'update.product.admin.controller.php';

    // DEFAULT -> ADMIN HOME PAGE
} else {

    header('Location:?admin=home');
    exit();
}<reponame>natekspencer/hass-weatherflow2mqtt
FROM python:3.9-slim-buster
LABEL org.opencontainers.image.source="https://github.com/briis/hass-weatherflow2mqtt"

RUN mkdir -p /data
RUN mkdir -p /src/weatherflow2mqtt
WORKDIR /src/weatherflow2mqtt
ADD requirements.txt test_requirements.txt /src/weatherflow2mqtt/
RUN apt-get update && \
    apt-get -y install build-essential
RUN pip install --upgrade pip
RUN pip install -r requirements.txt

ADD setup.py /src/weatherflow2mqtt/
ADD translations /src/weatherflow2mqtt/translations/

ADD weatherflow2mqtt /src/weatherflow2mqtt/weatherflow2mqtt/
RUN python setup.py install


ENV TZ=Europe/Copenhagen

EXPOSE 50222/udp
EXPOSE 1883

CMD [ "weatherflow2mqtt" ]
Former Eurythmics star and current multimedia-Renaissance man Dave Stewart is poised to launch an Internet-only video show and myriad other online events. By John Alderman.
With a slew of recent online projects behind him, and more crowding the horizon, former Eurythmics star Dave Stewart has made the Web his latest instrument.
"I think I'm like a little imp on the Net, always making some peculiar thing in the corner of the Web that you can check out," says Stewart, the former partner of Annie Lennox, who is now well into a thriving solo career.
Or, rather, several solo careers. As musician, music producer, soundtrack creator, visual artist, and now Web producer, Stewart has never been busier.
This month, Stewart's creativity reaches a frenzied peak, with the release of a new CD, Sly-Fi, an Internet-only video show, Sly-Fi TV, a reworked Web site, and a host of online events to be held in conjunction with these releases.
Stewart kicks off his latest series of projects this coming Tuesday with an interview and performance streamed from online music retailer Music Boulevard.
Though viewers can already find the first episode of "Sly-Fi TV" on Stewart's Web site, things officially get underway with the site's official launch on 15 September. Among the treats: The event will offer a 24-hour live peek into Stewart's life. Several other events will revolve around Stewart's use of the personal studio of Res Rocket, an Internet composition site.
Guests at the virtual studio will find free audio samples from Stewart's new album. Using those samples, or contributing their own sound files, visitors will be able to jam with Stewart, as he picks and chooses the best tracks and mixes them together.
The fact that these projects are coming together online is no coincidence. Stewart says that the Internet is the only place where he is truly at home, and feels able to make the kinds of connections discouraged by most artistic categories.
"I think I'm sort of a polymath, really, always doing all sorts of different things. It's kind of good getting it all to appear in one form on the Internet. I do moving photography, still photography, conceptual art pieces, and music, so people [at the Web site] can visit the whole mini-gallery."
The first episode of "Sly-Fi TV" is a 15-minute fragmented collage of events and personalities in Stewart's life. A friendly, absurdist sense of humor propels the piece, with cameos by Bob Dylan, Jon Bon Jovi, Sinead O'Connor, and Demi Moore, among others, and an upbeat Stewart whistling his way through the sprawling absurdity of pop stardom.
"It's my home movies," says Stewart. "I'm a kind of the Willie Wonka of the Net, or something. My life is mad. One moment I'm working with Bob Dylan, the next I'm on a boat going down the Amazon."
The next "Sly-Fi TV" episode, which should post in a few weeks, will feature U2 guitarist the Edge, filmmaker Robert Altman, and artistic bad boy Damien Hirst.
"I've been filming Robert Altman saying things directly to the camera, and he says 'the best use for time is to waste it.'"
Stewart said he applies a similar philosophy to the Net.
"What I like about the Internet -- you know how people these days are so focused on career and opportunities -- and suddenly you're on the Web and no matter how hard you focus, you're on a tangent."
Stewart's Sly-Fi CD, a strong mixture of very catchy pop tunes, will be sold online through Music Boulevard. Sales will be confined to the Internet for several weeks before the disc hits retail stores.
Stewart himself will continue to work on his Web site and check in at his Res Rocket studio, he says. He will also continue to produce recordings by Brian Ferry and Sinead O'Connor, and write the score for Altman's upcoming film Cookie's Fortune, among other projects.
He's excited that fans can now follow his diverse works over the Net.
"There's a great saying: 'Experience grinds the lens through which we perceive reality,'" Stewart said. "And once you open your lens wider and wider, you start realizing there's a whole massive world of art forms, and there's a whole massive world of people that can be part of it. That's what I'm trying to say as I'm whistling myself through the Internet.""""Aplicación que gestiona archivos cifrados de un almacén de claves
compatible con el programa PASS de Unix.


"""
import sys
import os
from pathlib import Path
from PyQt5.QtWidgets import (QApplication, QTreeWidget, QTreeWidgetItem,
                             QVBoxLayout, QWidget, QPushButton,
                             QHBoxLayout, QMessageBox)
from.helpGit.dialogos import (DialogEdit, DialogModificar, DialogoRenombra,
                              DialogoConfig, DialogoPassword)
from.helpGit.helpgnupg import (descifrar_archivo, subir_al_servidor,
                               traer_del_servidor, hacer_commit)
from.helpGit.configuracion import cfg_inicial, read_cfg


class Visor(QWidget):
    """Clase principal de la aplicación Qt_password"""
    def __init__(self, almacen, parent=None):
        super().__init__(parent)
        self.setWindowTitle('Contraseñas')
        self.setGeometry(600, 300, 800, 300)
        self.almacen = almacen
        os.chdir(self.almacen)

        self.tree = QTreeWidget(self)
        self.tree.setHeaderLabels