An alias that will generate a git commit message staged changes as shown in git-status. Put this alias (section below) in your .gitconfig
.
The message generated will be in the format of:
$ git status --porcelain
A file1.py
A file2.py
A file3.py
composer require $(composer show -s --format=json | jq '.requires | keys | map(.+" ") | add' -r) |
This repository contains two Git hook scripts designed to automate versioning and changelog generation based on commit messages. These scripts are intended to be used as Git hooks to streamline your development workflow.
ver:X.Y.Z
or ver:X.Y
), it uses that version, creates a Git tag with the specified version and optionally pushes the tag to the remote repository./* | |
Function converts encoded HTML entities back to HTML tags in pure MySQL | |
-- Original method: https://stackoverflow.com/a/41460016/1720476 | |
-- @Balmiopour comment added https://stackoverflow.com/questions/3678980/is-there-a-mysql-function-to-decode-html-entities#comment71742861_41460016 | |
Version history: | |
#!/bin/bash | |
# This script will extract each page from pdf files in the current directory in a sigle file | |
# | |
# MIT License | |
# Copyright (c) 2025 Lumen Freitas <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files. | |
I=1 |
I hereby claim:
To claim this, I am signing this object:
<?php | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# | |
# Webmention Emailer | |
# ------------------ | |
# | |
# An incremental evolution of Jeremy Keith's "minimum viable" webmention, | |
# I've added some minimal code to have webmentions emailed to an address |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:D8DE12CD2C6D468917B71036441E69D80355E46F]
This gist is about using a Multi-Tenancy strategy for your Doctrine entities.
See: https://gist.github.com/CarlosEduardo/aedfa640e3f7f22451686fb7e57228e3
<?php | |
header('Access-Control-Allow-Origin: *'); | |
header('Access-Control-Allow-Headers: Authorization'); | |
if(isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/plain') !== false) { | |
$format = 'text'; | |
} else { | |
header('Content-Type: application/json'); | |
$format = 'json'; | |
} |