Skip to content

Instantly share code, notes, and snippets.

View catsAND's full-sized avatar

AND catsAND

View GitHub Profile
@catsAND
catsAND / sass-mtime.rb
Created April 7, 2020 07:34
Sass mtime custom function
unless defined?(Sass)
require 'sass'
end
module Sass::Script::Functions
def mtime(path)
t = File.mtime(path.value)
return Sass::Script::String.new("#{t.to_i}")
end
end
@catsAND
catsAND / ssl.rules
Created March 10, 2017 08:06 — forked from konklone/ssl.rules
nginx TLS / SSL configuration options for konklone.com
# Basically the nginx configuration I use at konklone.com.
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com
#
# To provide feedback, please tweet at @konklone or email eric@konklone.com.
# Comments on gists don't notify the author.
#
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites.
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration.
server {