Last active
June 13, 2018 08:57
-
-
Save nemanjan00/0916cfacc7ac53ec820e02d5df10167e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias diary="vim $(php ~/diary.php)" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dir = "~/projects/dnevnik/".date("Y")."/".date("m"); # change ~/projects/dnevnik to whatever you want. | |
exec("mkdir -p ".$dir); | |
echo $dir."/".date("d").".md"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment