Skip to content

Instantly share code, notes, and snippets.

View brycekirk's full-sized avatar

Bryce Kirk brycekirk

View GitHub Profile
@xenogew
xenogew / Dockerfile
Last active June 4, 2025 03:42
Example of PHP 8.4 Docker image install with MS SQL Server extensions
FROM php:8.4-fpm-bookworm
WORKDIR /application
ENV ACCEPT_EULA=Y
# Fix debconf warnings upon build
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBIAN_VERSION
# LEGACY packages that ever installed when last time research of PHP 7.4,
@omgmog
omgmog / parallax-scroll.js
Created October 28, 2013 15:26
Simple parallax background scrolling with jQuery
$(function() {
var $el = $('.parallax-background');
$(window).on('scroll', function () {
var scroll = $(document).scrollTop();
$el.css({
'background-position':'50% '+(-.4*scroll)+'px'
});
});
});