Skip to content

Instantly share code, notes, and snippets.

View bright-spark's full-sized avatar
♥️
Tinkering with stuff!

Myburgh bright-spark

♥️
Tinkering with stuff!
View GitHub Profile
@bright-spark
bright-spark / index.html
Created October 17, 2022 21:05
Videogular - Jacaranda FM Regional
<div ng-app="myApp">
<div ng-controller="HomeCtrl as controller" class="videogular-container">
<videogular vg-theme="controller.config.theme.url">
<vg-media vg-src="controller.config.sources"
vg-tracks="controller.config.tracks"
vg-native-controls="true">
</vg-media>
</videogular>
</div>
@bright-spark
bright-spark / privacy-policy.html
Created September 9, 2022 09:25
privacy-policy
<h2 style="text-align: center;"><b>PRIVACY POLICY</b></h2>
<p>Effective date: 2022-09-14</p>
<p>1. <b>Introduction</b></p>
<p>Welcome to <b> theradio.fm </b> progressive web app prototype.</p>
<p><b>theradio.fm</b> (“us”, “we”, or “our”) operates <b>theradio.fm</b> (hereinafter referred to as <b>“Service”</b>).</p>
<p>Our Privacy Policy governs your visit to <b>theradio.fm</b>, and explains how we collect, safeguard and disclose information that results from your use of our Service.</p>
<p>We use your data to provide and improve Service. By using Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, the terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.</p>
<p>Our Terms and Conditions (<b>“Terms”</b>) govern all use of our Service and together with the Privacy Policy constitutes your agreement with us (<b>“agreement”</b>).</p>
<p>2. <b>Definitions</b></p>
@bright-spark
bright-spark / index.html
Created September 8, 2022 14:27
YouTube No Cookie Permissive Embed
<iframe id="ytplayer" type="text/html" width="480" height="270" src="https://www.youtube-nocookie.com/embed/?list=PLuWIxgNYqm0lJH4UKIFrZnyfjpnRGsxdr&listType=playlist&modestbranding=1&playsinline=1&color=red&iv_load_policy=3" frameborder="0" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; geolocation" loading="eager">
@bright-spark
bright-spark / index.html
Created September 8, 2022 14:21
YouTube No Cookie Embed
<iframe id="ytplayer" type="text/html" width="480" height="270" src="https://www.youtube-nocookie.com/embed/?listType=playlist&list=PLuWIxgNYqm0lJH4UKIFrZnyfjpnRGsxdr" frameborder="0" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; geolocation" loading="eager">
@bright-spark
bright-spark / web-servers.md
Created December 18, 2021 22:16 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten
@bright-spark
bright-spark / .. MediaCreationTool.bat ..md
Created November 6, 2021 13:49 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support

We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction

  • new update introducing no 11 setup checks on boot in VirtualBox

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
Preview
A powerful yet simple windows 10 / 11 deployment automation tool as well!

configure via set vars, commandline parameters or rename script like iso 21H2 Pro MediaCreationTool.bat
recommended windows setup options with the least amount of issues on upgrades set via auto.cmd

@bright-spark
bright-spark / php.ini
Created September 10, 2021 13:58 — forked from adrienne/php.ini
PHP .ini file
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@bright-spark
bright-spark / artifakt-a-simple-responsive-embed.markdown
Last active April 21, 2021 12:33
Artifakt a Simple Responsive Embed