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
;; Set max-lisp-eval-depth to some lower const, e.g., 600 | |
(setq max-lisp-eval-depth 600) | |
(defun fizzbuzz--check (number) | |
"Check given number and then print Fizz / Buzz / FizzBuzz or itself." | |
(cond | |
((= (% number 15) 0) "FizzBuzz") | |
((= (% number 5) 0) "Buzz") | |
((= (% number 3) 0) "Fizz") | |
(t (number-to-string number)))) |
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
#! /bin/bash | |
################################################################################ | |
# | |
# TL; DR | |
# This script rename filename.flac to | |
# <Album Artist>/<Album Title>/Disc <Disc Number> - Track <Track Number>.flac | |
# | |
# Usage: | |
# rename-flac [filename] |
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
#! /usr/bin/env python3 | |
# Copyright (C) 2019 Mahito TANNO | |
# This is free and unencumbered software released into the public domain. | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any | |
# means. |
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
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "https://melpa.org/packages/") t) | |
(package-initialize) | |
(unless package-archive-contents (package-refresh-contents)) | |
(unless (package-installed-p 'use-package) | |
(package-install 'use-package)) | |
(require 'use-package) | |
(use-package company |