This file contains 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
# .github/labeler.yml | |
# Match changes to files to apply a label | |
"@backend": | |
- apps/backend/**/* | |
"@frontend": | |
- apps/frontend/**/* | |
"@api": | |
- packages/api/**/* | |
"@infrastructure": | |
- terraform/**/* |
This file contains 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
version: '3' | |
services: | |
homeassistant: | |
container_name: homeassistant | |
image: "ghcr.io/home-assistant/raspberrypi4-homeassistant:stable" | |
volumes: | |
- $PWD/homeassistant:/config | |
- /etc/localtime:/etc/localtime:ro |
This file contains 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 declare(strict_types=1); | |
namespace App\Subscriber; | |
use Sentry\FlushableClientInterface; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Symfony\Component\Messenger\Event\WorkerMessageFailedEvent; | |
use Symfony\Component\Messenger\Exception\HandlerFailedException; | |
class WorkerSubscriber implements EventSubscriberInterface |
This file contains 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
javascript:(() => { | |
const table = document.querySelector('.transactions-list'); | |
if (null === table) { | |
alert('Could not find transactions table'); | |
return; | |
} | |
const transactions = Array.from(table.querySelectorAll('.transaction-row')) | |
.filter(row => row.querySelector('.column-dr span') ? true : false) | |
.map(row => [ | |
new Date(row.querySelector('.column-trandate').innerText).toLocaleDateString(), |
This file contains 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 php | |
<?php | |
$originTimeZone = 'UTC'; | |
$targetTimeZone = 'Pacific/Auckland'; | |
//////////////////////// | |
$timestamp = implode(' ', array_slice($_SERVER['argv'], 1)); | |
$origin = new DateTimeZone($originTimeZone); |
This file contains 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
import React from 'react'; | |
import { connect } from 'react-redux'; | |
interface RootState { | |
dataFromRootState: string; | |
} | |
interface OwnProps { | |
manualOwnProp: string; | |
} |
This file contains 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 php:rc-fpm | |
RUN apt-get update && apt-get install -y librabbitmq-dev | |
RUN pecl channel-update pecl.php.net | |
RUN pecl install amqp | |
RUN docker-php-ext-enable amqp |
This file contains 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 | |
require_once './vendor/autoload.php'; | |
// | |
// Create a token, configuring it with any headers and payload you need | |
// | |
$token = new Emarref\Jwt\Token(); | |
$token->addClaim(new \Emarref\Jwt\Claim\Audience('http://www.google.com/')); | |
$token->addClaim(new \Emarref\Jwt\Claim\Subject('Me\You')); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCxSRb97l7/zHziRakatVxAQc+RvjwmtmMTaEsakwmmXrv3sF8nOnpsgbm/LsrHDtPlycMzBz3wVLOLNhX3dXKyLkNfYom71k5agfK1qvGUYWi69OO+GsiSxDaJApLVfTcfEDF+paKEkPYfJqmbKcF6G6L77sTYeFyFIcPRxQWk+IkVQAa2PNT52twlaT78l6qux/Zf9kHSvNvQfQIMh2afg7d/hv7zHgdKEgFWXEJwACwIUMIROZAga+jm3nmGQrlS8EmccxYC+pZq8GAgNcd6edGD916aWD3CwWA3KuQBg/whgrDAEAZBDnxo/irFOQ4g3cKSaVFwbiCBih2SI9ySaGKZrCPuBOaiaKcmmLvzwUrwcanmBwsn8RSRJybOH3mxRfFAuyZ/2/TqY+Yf08GjUEHY25M1krYKkGEvFRJt6bWoXGN+ePp2AQhJSTa2JE/1yYoKKltjtMGvBEaV0DS1SbieaVmTXMbRwl7fqrHgYr6EcRSb5+bOONOCl5Ipn9fQWlQd3T7AEUHvEhnCLxR85a1RBX/y3KW1wOo5pqSCHqn/wzKfHFgO7VrDcoSokJa/hMT5rq3EtQ52ZxTJfjHgfEKVqIRbg4sE0D6qlL1GzudWG7TKqzms1l+lBNHIigZGTjjyXw232ZQNkMckYSCNOSBGz8GMOe4rYbDvqIjyFw== emarref@gmail.com |
NewerOlder