Skip to content

Instantly share code, notes, and snippets.

View wturrell's full-sized avatar

William Turrell wturrell

View GitHub Profile
@wturrell
wturrell / gulpfile.js
Created February 2, 2019 18:42
Gulp 4.0.0 + SASS, minification, TailwindCSS, PHP and BrowserSync support
"use strict";
// Gulp 4.0.0 + SASS, minification, TailwindCSS, PHP and BrowserSync support
// (assumes you have your .scss + .css files in a /css directory)
// william@wturrell.co.uk
var gulp = require('gulp'),
sass = require('gulp-sass'),
cssnano = require('gulp-cssnano'),
php = require('gulp-connect-php'),
@wturrell
wturrell / fipradio.py
Created February 4, 2024 14:46
FIP Radio now playing list
# Displays the currently playing media at FIP radio
# http://www.fipradio.fr/player
# You may want to update the number at the end of the URL
# if you use a specific "style" channel instead of the
# generic (main) channel, which is 7.
import requests
import time
import subprocess