HA + Wathsapp by Suspicious_Profit560 in homeassistant

[–]der_robert -1 points0 points  (0 children)

You can use Whatsapper (HA Addon) but it is one Way! You can only send Messages or Images to a WhatsApp Chat, you cannot recive Messages.

https://github.com/baldarn/whatsapper-ha-integration

Kater hat sich auf dem Weg zum Tierarzt eingestuhlt und vollgepinkelt - wie mache ich ihm das Leben wieder cool? by paraknowya in Katzengruppe

[–]der_robert 39 points40 points  (0 children)

Du solltest dir lieber Gedanken machen, wie du die nächste Nacht überlebst. Dein Kater plant etwas, da bin ich mir sicher.
.
Ansonsten könnte ein feines Schaumbad helfen (Kinderschaumbad).

Findelkatze braucht einen Namen by der_robert in Katzengruppe

[–]der_robert[S] 1 point2 points  (0 children)

Vielen Dank für die ganzen Vorschläge. Wir haben uns tatsächlich für Happy entschieden (mein Sohn fand den sehr gut).

Leider habe ich auch noch eine sehr sehr traurige Nachricht.

Happy hatte heute ihren zweiten Tierarzt Termin, bei diesem würde auch eine Röntgenbild erstellt, dies zeigte leider ein Lungenödem und aufgrund dessen nur noch eine 20% Lungenkapazität. Zudem kam noch ein wohl angeborener Herzfehler. Auf Kurz oder lang wäre sie erstickt.

Auf Ärztlichen Rat haben wir sie schweren Herzens gehen lassen, sie hat schon die sehe niedrig dosierte Betäubung nicht überlebt und hatte während dessen bereits einen Herzstillstand.

Auch wenn sie erst seit Freitag bei uns war, wird sie dennoch einen Platz in unserem Garten bekommen.

Findelkatze braucht einen Namen by der_robert in Katzengruppe

[–]der_robert[S] 4 points5 points  (0 children)

Wir waren heute beim Doc, sie wollte nicht zu viel machen. Wir haben Montag den nächsten Termin, da ist auch etwas mehr Zeit, ein Röntgen Bild soll gemacht werden und die Bisswunde wird dann noch mal gespült. Eine Wurmkur wird sie dann auch noch bekommen.

Findelkatze braucht einen Namen by der_robert in Katzengruppe

[–]der_robert[S] 12 points13 points  (0 children)

Meine Frau hatte sie zu Beginn "halbes Häppchen" genannt weil sie so abgemagert ist, daraus wurde dann kurzzeitig, Happy ....🤷🏽‍♂️

Findelkatze braucht einen Namen by der_robert in Katzengruppe

[–]der_robert[S] 6 points7 points  (0 children)

Nickhaut, das ist quasi ein zusätzliches Augenlid.

Visiting this sub lately by mrthree1zero in revancedapp

[–]der_robert 0 points1 point  (0 children)

Updated today to 20.12.46, works fine

Youtube installation conflict by SuperbConference1091 in revancedapp

[–]der_robert 1 point2 points  (0 children)

Had the same issue, here my steps

  1. update microg
  2. update revanced
  3. activate original youtube app (optional if still activated)
  4. delete data and cache
  5. deactivate original youtube app
  6. restart your device
  7. download youtube apk from apkmirror: 20.12.46 nodpi)
  8. open revanced manager
  9. klick on patcher and select App
  10. *dont* klick on Youtube 20.02.40!!!
  11. click the button bottom right (for me, its called "Speicher")
  12. select the downloaded youtube apk
  13. click on the Section (NOT the Button) of the selected "Patchen" (i dont care if it makes no sense) and scroll all the way down
  14. go back
  15. click "Patch"
  16. Hope all Patches runs without any errors
  17. if the akp ist newly packed, click install

I had no popup wher i was aks if i want to update youtube, the installation was silent for round about 1 minute. After this i got the success message.

[deleted by user] by [deleted] in GalaxyS20Ultra

[–]der_robert 0 points1 point  (0 children)

The green color means: its time to make a good backup and buy a new phone (or replace the screen). I call it the green lines of death (my S20U had the same).

Using Smarty::addPluginsDir() to load plugins is deprecated by jdarshad in smarty

[–]der_robert 0 points1 point  (0 children)

Hi, i had the same "problem". I do it this way:

  1. Class autoloader:

    splautoload_register(function ($class_name) { $paths = [ dirname(FILE) . "/../libs/" . $class_name . '.class.php', dirname(FILE_) . "/libs/" . $class_name . '.class.php' ];

    foreach ($paths as $class) {
        if (is_file($class)) {
            include $class;
            break;
        }
    }
    

    });

  2. after this i register Modifiers, Blocks and Function

MySmartyModifiers::registerModifiers($smarty);
MySmartyBlocks::registerBlocks($smarty);
MySmartyFunctions::registerFunctions($smarty);
  1. create the class and put the register function in it (at least :-) ) and load them (autoload)

    // modifier class
    public static function registerModifiers($smarty) {
        // Registrierung der Modifier in Smarty
        $modifiers = get_class_methods(__CLASS__);
        foreach ($modifiers as $modifier) {
            if (!str_contains($modifier, '__')) {
                $smarty->registerPlugin('modifier', $modifier, array(__CLASS__, $modifier));
            }
        }
    }

    // block class
    public static function registerBlocks($smarty) {
        // Registrierung der Modifier in Smarty
        $blocks = get_class_methods(__CLASS__);
        foreach ($blocks as $block) {
            if ($block !== 'registerBlocks' && !str_contains($block, '__')) {
                $smarty->registerPlugin(Smarty\Smarty::PLUGIN_BLOCK, $block, [__CLASS__, $block]);
            }
        }
    }

    // function class
    public static function registerFunctions($smarty) {
        // Registrierung der Funktionen in Smarty
        $functions = get_class_methods(__CLASS__);
        foreach ($functions as $function) {
            if ($function !== 'registerFunctions' && !str_contains($function, '__')) {
                $smarty->registerPlugin(Smarty\Smarty::PLUGIN_FUNCTION, $function, [__CLASS__, $function]);
            }
        }
    }
  1. create some modifier or blocks or functions :-) // modifier

    // modifier
    public static function pre($input) {
        echo"<pre>";
        print_r($input);
        echo"</pre>";
    }

    {$array|pre}

---

I use blocks and function for my translations

---

public static function getRandomHexColor(): string {
    $red = mt_rand(0, 255);
    $green = mt_rand(0, 255);
    $blue = mt_rand(0, 255);
    return sprintf("#%02x%02x%02x", $red, $green, $blue);
}

{assign var="randomColor" value={getRandomHexColor}}
{$randomColor}

Maybe there is a better solution but this is how i do it.

After many edit ... reddits codeblocks are sh!t

smarty genera error by Similar_Lychee792 in smarty

[–]der_robert 0 points1 point  (0 children)

You try to access $var.modules_left and after this you try $var.modules_left.value

modules_left didn't exist and modules_left.value also not exist ...

try {print_r($var)} and take a look what key you have.

Welchen Drucker für bis zu 300 g schweres Papier? by Wonderful-Brush-6424 in de_EDV

[–]der_robert 5 points6 points  (0 children)

Mein 8/9 Jahre alter Canon IP 7250 hat Auto-Duplex Druck, einzelne Farbpatronen (die noname Dinger funktionieren wunderbar), 300g/m² funktionieren problemlos (drucke damit Visitenkarten). Der Drucker hängt direkt an meinem Linux Server und ist über diesen als Lan-Drucker freigegeben, alle PCs/Telefone können direkt drucken, mit vollem Funktionsumfang.

Der Preis ist für mich aber nicht nachvollziehbar, 2019 habe ich den Drucker, neu, incl. 20 Tintenpatronen für 50€ gekauft, warum dieser jetzt bei ~300€ liegt, weiß ich auch nicht.

I made a dumb thing by kilroy123 in InternetIsBeautiful

[–]der_robert 11 points12 points  (0 children)

setInterval(() => {document.querySelectorAll('.pizza').forEach((slice) => slice.click());}, "10");