This file contains hidden or 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
(defun muihlinn-last-monday() | |
"Date of last monday." | |
(let* ( (date (calendar-current-date)) | |
(today (calendar-absolute-from-gregorian date)) | |
(dow (calendar-day-of-week date))) | |
(cl-destructuring-bind (month day year) | |
(calendar-gregorian-from-absolute | |
;; if sunday and our weeks starts on monday |
This file contains hidden or 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
# ------------------------------------------------------------------------ | |
# golang | |
# Install / update latest release | |
# ------------------------------------------------------------------------ | |
# https://github.com/canha/golang-tools-install-script/blob/master/goinstall.sh | |
# TODO: assumes it uses /bin/bash | |
# TODO: Make all downloads happens into a place for easy cleans | |
This file contains hidden or 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
;; Check the files you want to skip are in the list already, by default shows the entire list | |
(recentf-open-files) | |
;; Add a *valid* pattern to exclude it, let's say .el files | |
(add-to-list 'recentf-exclude "\\.el\\'") | |
;; update the recentf list with the new added rule | |
(recentf-cleanup) | |
;; Check if the el files are now excluded |
This file contains hidden or 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 | |
namespace App\Console; | |
use Illuminate\Console\Scheduling\Schedule; | |
use Illuminate\Foundation\Console\Kernel as ConsoleKernel; | |
class Kernel extends ConsoleKernel | |
{ | |
/** |