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
var CronJob = require('cron').CronJob; | |
var job = new CronJob({ | |
cronTime: '00 */5 * * * *', | |
onTick: function() { | |
const puppeteer = require('puppeteer'); | |
(async () => { | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.setViewport({width: 1920, height: 1080}); |
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 | |
$my_img = imagecreatefrompng ( "x_feature_template.png" ); | |
$background = imagecolorallocate( $my_img, 149, 152, 192 ); | |
$text_colour = imagecolorallocate( $my_img, 18, 12, 45 ); | |
$button_text_colour = imagecolorallocate( $my_img, 197, 184, 114 ); | |
$font_bold = 'palatino.ttf'; | |
$font_medium = 'palatino.ttf'; |
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
<h1>Stay On Brand - Templated Img Gen</h1> | |
<h2>Sliders:</h2> | |
<p><strong>Template 1</strong> - 2 Line Headline & 6 Lines of Text</p> | |
<p><img src="https://olipassey.me.uk/xmas.php" alt="" width="750" height="300" /></p> | |
<p>Headline:<input name="Headline" type="text" /></p> | |
<p>Sub-heading:<input name="Sub-heading" type="text" /></p> | |
<p>Text 1:<input name="Text1" type="text" /></p> | |
<p>Text 2:<input name="Text2" type="text" /></p> | |
<p>Text 3:<input name="Text3" type="text" /></p> | |
<p>Text 4:<input name="Text4" type="text" /></p> |
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
// Automatically generated configuration file for Hyperion ambilight daemon | |
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area) | |
// Generated by: HyperCon (The Hyperion deamon configuration file builder) | |
// Created with HyperCon V1.03.3 (22.10.2017) | |
{ | |
// DEVICE CONFIGURATION | |
"device" : | |
{ | |
"name" : "MyHyperionConfig", |
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
<!DOCTYPE html> | |
<html class="sp-html sp-seedprod sp-h-full"> | |
<head> | |
<!-- Open Graph --> |
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
# Copyright (c) 2018 Oli Passey & Steven Gould | |
# Author: Oli Passey & Steven Gould | |
# More information: https://olipassey.me.uk | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Weekly Update</title> | |
<style> | |
/* Define your styles here */ | |
body { |
OlderNewer