Skip to content

Instantly share code, notes, and snippets.

@MarkWattTech
MarkWattTech / TV Notifications.yaml
Created April 20, 2021 22:55
Code from TV Notifications Video
# Dont forget to Subscribe to Mark Watt Tech!
# Example configuration.yaml entry
notify:
- platform: nfandroidtv
name: yourDeviceName
host: 192.168.1.12
# Simple notification
duration: 10
@tunisiano187
tunisiano187 / ToCorrect.md
Last active May 8, 2024 16:33
Update-AUPackages Report #powershell #chocolatey

To Correct

Package Name and version
@choco-bot
choco-bot / Update-AUPackages.md
Last active May 8, 2024 09:14
Update-AUPackages Report #powershell #chocolatey
@didip
didip / docker-builder.sh
Last active May 7, 2022 19:42
Small helper script that automates Docker building and pushing
#!/bin/bash
set -ex
PARENT_DIR=$(basename "${PWD%/*}")
CURRENT_DIR="${PWD##*/}"
IMAGE_NAME="$PARENT_DIR/$CURRENT_DIR"
TAG="${1}"
REGISTRY="hub.docker.com"
@mbrowne
mbrowne / Test.php
Created March 6, 2013 17:08
SSH Connection from CodeIgniter
<?php
class Test extends CI_Controller
{
public function deploy_test() {
$connection = ssh2_connect("123.45.67.890", 23);
if(!$connection) {
echo json_encode('Connection failed');
}
@oodavid
oodavid / README.md
Last active April 6, 2024 18:45 — forked from aronwoost/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/