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
#First of all, require all of rails (maybe it doesn't need to be all, but for now it is) | |
require 'rails/all' | |
#then i need to slightly overwrite a rails method: | |
def encrypted(path, key_path: "config/master.key", env_key: "RAILS_MASTER_KEY") | |
ActiveSupport::EncryptedConfiguration.new( | |
config_path: path, | |
key_path: key_path, |
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
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
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 'iimage) | |
(autoload 'iimage-mode "iimage" "Support Inline image minor mode." t) | |
(autoload 'turn-on-iimage-mode "iimage" "Turn on Inline image minor mode." t) | |
(add-to-list 'iimage-mode-image-regex-alist '("@startuml\s+\\(.+\\)" . 1)) | |
;; Rendering plantuml | |
(defun plantuml-render-buffer () | |
(interactive) | |
(message "PLANTUML Start rendering") | |
(shell-command (concat "java -jar /usr/local/plantuml.jar " |