Opengist Logo Gist@portalZINE

Explore

  • All gists
  • Topics
  • Users
Data Privacy
Give feedback on the new UI Powered by Opengist ⋅ 26ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
C

Codekit

Recently created Least recently created Recently updated Least recently updated
portalzine

portalzine / Codekit - Timestamp Hook

Last active 3 months ago Codekit Hook

Add current timestamp to files, when compiling

0 0 1
1 NOW=`date "+%a %Y-%m-%d %T"`
2 sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH