Skip to content

Instantly share code, notes, and snippets.

View zakariabinsaifullah's full-sized avatar
🎧
Working from home

Zakaria Binsaifullah zakariabinsaifullah

🎧
Working from home
View GitHub Profile
@TheCyberQuake
TheCyberQuake / TwitchTvEmbedOnlyWhenLive.html
Last active November 11, 2024 20:08 — forked from capperstrnd/TwitchTvEmbedOnlyWhenLive.html
A simple script for embedding Twitch stream only when the channel is live, otherwise it is hidden.
<html>
<head>
<style>
.hide { display:none; }
/* Optional: The following css just makes sure the twitch video stays responsive */
#twitch {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
@spivurno
spivurno / gw-gravity-forms-populate-form.php
Last active March 20, 2025 16:33
Gravity Wiz // Gravity Forms // Populate Form with Entry (Optionally Update Entry on Submission)
<?php
/**
* Gravity Wiz // Gravity Forms // Populate Form with Entry (Optionally Update Entry on Submission)
*
* Pass an entry ID and populate the form automatically. No form configuration required. Optionally update the entry on
* submission.
*
* @version 1.5
* @author David Smith <[email protected]>
* @license GPL-2.0+