Skip to content

Instantly share code, notes, and snippets.

View CamKem's full-sized avatar
🔥
Building....

Cam Kemshal-Bell CamKem

🔥
Building....
View GitHub Profile
@Kroc
Kroc / domtemplate.php
Created January 4, 2012 14:55
DOM Template Class
<?php
//DOM Templating classes v7 © copyright (cc-by) Kroc Camen 2012
//you may do whatever you want with this code as long as you give credit
//documentation at http://camendesign.com/dom_templating
class DOMTemplate extends DOMTemplateNode {
private $DOMDocument;
private $keep_prolog = false;
@matthewzring
matthewzring / markdown-text-101.md
Last active July 31, 2024 18:31
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@sinnbeck
sinnbeck / Browsershot.php
Last active December 21, 2023 23:27
Browsershot for chrome-php
<?php
declare(strict_types=1);
namespace App\Services;
use Exception;
use HeadlessChromium\BrowserFactory;
use HeadlessChromium\Page;
use HeadlessChromium\PageUtils\PagePdf;
@CamKem
CamKem / domtemplate.php
Created June 16, 2024 05:00 — forked from Kroc/domtemplate.php
DOM Template Class
<?php
//DOM Templating classes v7 © copyright (cc-by) Kroc Camen 2012
//you may do whatever you want with this code as long as you give credit
//documentation at http://camendesign.com/dom_templating
class DOMTemplate extends DOMTemplateNode {
private $DOMDocument;
private $keep_prolog = false;