Skip to content

Instantly share code, notes, and snippets.

View jonathanhirz's full-sized avatar

Jonathan jonathanhirz

View GitHub Profile
@jonathanhirz
jonathanhirz / timestamp2.py
Last active January 2, 2016 18:29
Updated timestamp.py for Sublime Text 3. Automatically add (if you have the correct code in your template) and update timestamps to mark the date a file was created and date it was last modified.
"""
Automatically add and update time stamps in your files.
On file open, will replace [timeStamp] with the current date and time.
Currently looks for two instances of this (example below).
To use, place the text [timeStamp] in your template file where you want it.
ex.
// CREATED: timeStamp
// MODIFIED: timeStamp
@jonathanhirz
jonathanhirz / timestamp.py
Last active December 28, 2015 13:29
Sublime Text 2 Plugin: Timestamp for creation date and last modified date, automatically added and updated.
"""
Automatically add and update time stamps in your files.
On file open, will replace [timeStamp] with the current date and time.
Currently looks for two instances of this (example below).
To use, place the text [timeStamp] in your template file where you want it.
ex.
// CREATED: timeStamp
// MODIFIED: timeStamp