Skip to content

Instantly share code, notes, and snippets.

@alojzije
alojzije / gitTimestampChange
Created November 17, 2014 14:54
Change timestamp (date/time) of old pushed commits
#!/bin/bash
git filter-branch --env-filter \
'if [ "$GIT_COMMIT" = "5c772109e23dce7d45276453de4e7a1a6fab2548" ]
then
export GIT_AUTHOR_DATE="Sun Nov 16 22:00:12 2014 +0100"
export GIT_COMMITTER_DATE="Sun Nov 16 22:01:38 2014 +0100"
elif [ $GIT_COMMIT = "e3f382f901b9201acdbc5f9b5c46e5bb9b0aae02" ]
then
export GIT_AUTHOR_DATE="Sun Nov 16 22:34:21 2014 +0100"
export GIT_COMMITTER_DATE="Sun Nov 16 22:34:55 2014 +0100"
@alojzije
alojzije / Fractal Tree.png
Last active August 29, 2015 14:02
2 fractal trees, first static, second animated
Fractal Tree.png
@alojzije
alojzije / horizontal_slider_scroll_jQuery.png
Last active April 20, 2023 02:19
mouse scroll horizontal slider jQuery
horizontal_slider_scroll_jQuery.png
@alojzije
alojzije / horizontal_slider_jQuery.png
Last active April 20, 2023 02:19
horizontal slider javascript
horizontal_slider_jQuery.png
@alojzije
alojzije / connectHTMLelements_SVG.png
Last active May 13, 2024 08:16
Connect two elements / draw a path between two elements with SVG path (using jQuery)
connectHTMLelements_SVG.png