Skip to content

Instantly share code, notes, and snippets.

View Aiq0's full-sized avatar

Aiq0

  • localhost
  • 04:24 (UTC +02:00)
View GitHub Profile
body {
background: #222 !important;
}
#I_nav {
background: #222 !important;
}
#I_main {
background-color: #222 !important;
-- Removes return values from .sublime-completions
local file = io.open('LuaLove.sublime-completions', 'r')
if not file then
error('could not open in file')
end
local out = io.open('LuaLove.sublime-completions.new', 'w')
@Aiq0
Aiq0 / README.md
Last active March 16, 2022 10:06
Example usage of triggers in https://github.com/HexRx/simple-ftp-deploy minifing javascript and css files on save

This is example usage of triggers in simple-ftp-deploy plugin for Sublime Text which automatically minifies javascript and css files using css-html-js-minify library, or alternativelly, using some CLI minifier, like minify.

Basically, minifier is called on save of any .css or .js file and .min.css or .min.js file is also automatically uploaded to server. And also, .min.css and .min.js file is deleted from server when you delete origin .css or .js file.