Skip to content

Instantly share code, notes, and snippets.

View raygesualdo's full-sized avatar

Ray Gesualdo raygesualdo

View GitHub Profile
@raygesualdo
raygesualdo / plugins.ts
Created November 21, 2024 17:33
Copy files after build with Rsbuild
import type { RsbuildPlugin } from '@rsbuild/core'
export function pluginCopyManifest({
gitSha,
}: {
gitSha: string
}): RsbuildPlugin {
return {
name: 'my-project:copy-manifest',
###########################################################################################
#
# Intake Formset
#
###########################################################################################
submission_save_path: _forms/intake/
filename_format: "{{ slug }}-{{ year }}{{ month }}{{ day }}-{{ hour }}{{ minute }}-{{ second }}"
@raygesualdo
raygesualdo / raven__modify_submission.php
Created August 5, 2014 13:28
Modify Submission Hook for Statamic's Raven
/*
|--------------------------------------------------------------------------
| Hook: Modify Submission
|--------------------------------------------------------------------------
|
| Allow submission modification by other add-ons with the ability to manipulate
| content of the submission. Has access to the success and config.
|
*/
<div class="social-media">
facebook: https://www.facebook.com/acmecorp
twitter: https://twitter/acmecorp
tumblr: https://www.tumblr.com/acmecorp
instagram: http://www.youtube.com/acmecorp
urbanspoon: http://www.urbanspoon.com/acmecorp
linkedin: https://www.linkedin.com/acmecorp
pinterest: https://www.pinterest.com/acmecorp
youtube: https://foursquare.com/acmecorp
foursquare: https://foursquare.com/acmecorp