Skip to content

Instantly share code, notes, and snippets.

@efreed
efreed / HTML App.hta
Created January 26, 2018 21:27
Hypertext application demo
<HTML XMLNS:HTA><HEAD>
<TITLE>App Without A Cool Acronym</TITLE>
<HTA:APPLICATION id=oApp APPLICATIONNAME="IDHERE"
BORDER="thick" CAPTION="yes"
icon="http://dkcoin8.com/images/whatsapp-cool-clipart-9.vnd.microsoft.icon"
SHOWINTASKBAR="yes" SINGLEINSTANCE="yes" SYSMENU="yes"
WINDOWSTATE="normal" SCROLL="yes" SCROLLFLAT="yes" VERSION="1.0">
</HTA:APPLICATION>
<SCRIPT language=JScript>
function WriteFile(FilePath, Content) {
@efreed
efreed / ApnsPushService.php
Last active September 1, 2023 06:11
PHP NotificationPusher to mobile devices (namespace is ready to work with Symfony)
<?php
namespace App\Service\Notification\PushNotification;
use Exception;
// composer require edamov/pushok
// https://github.com/edamov/pushok
use Pushok\AuthProvider;
use Pushok\Client;
use Pushok\Notification;