Skip to content

Instantly share code, notes, and snippets.

View evadecker's full-sized avatar
🌱
digital gardening

Eva Decker evadecker

🌱
digital gardening
View GitHub Profile
@evadecker
evadecker / no-autofill.css
Last active April 24, 2025 22:03
Disable browser native autofill styles
.disable-autofill:-webkit-autofill,
.disable-autofill:autofill {
/* Browsers apply !important styles to the background color and text color of autofilled fields,
making them impossible to override. Instead, we can set an extremely slow background transition
to avoid displaying native styles. This requires setting your preferred styles on a wrapper
element using the :autofill pseudo selector. */
transition-property: background-color, color;
transition-delay: 0s;
transition-duration: 2147483647s;
transition-timing-function: linear;
@stayradiated
stayradiated / img2vid
Last active January 20, 2025 21:44
Concatenate Videos and Images using ffmpeg
#!/usr/bin/env bash
#
# img2vid
# =======
#
# Convert an image into three second video
#
# Usage: ./img2vid photo.jpg video.mp4
#
@noelboss
noelboss / git-deployment.md
Last active May 9, 2025 12:51
Simple automated GIT Deployment using Hooks

Simple automated GIT Deployment using GIT Hooks

Here are the simple steps needed to create a deployment from your local GIT repository to a server based on this in-depth tutorial.

How it works

You are developing in a working-copy on your local machine, lets say on the master branch. Most of the time, people would push code to a remote server like github.com or gitlab.com and pull or export it to a production server. Or you use a service like deepl.io to act upon a Web-Hook that's triggered that service.

@ayamflow
ayamflow / gist:b602ab436ac9f05660d9c15190f4fd7b
Created May 9, 2016 19:10
Safari border-radius + overflow: hidden + CSS transform fix
// Add on element with overflow
-webkit-mask-image: -webkit-radial-gradient(white, black);
@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git