Skip to content

Instantly share code, notes, and snippets.

View ravs's full-sized avatar
🚴‍♂️
Coding, running and riding bike

Ravi Shankar ravs

🚴‍♂️
Coding, running and riding bike
  • Amazon Web Services
  • Seattle, WA
View GitHub Profile
@ravs
ravs / CopyrightUtil.py
Last active January 7, 2021 13:03
Python script to insert copyright text in files present in the directory. This script will insert copyright present in all the files within the directory, so please take precaution before running it. User can edit this file as per their requirement.
'''
Utility for including copyright prolog and class level copyright.
This is file is designed for IBM copyright tags, user can
edit the text/prolog-text as per their need.
This work is licensed under
a Creative Commons Attribution-ShareAlike 3.0 Unported License.
©ravs, 2013
'''
import fileinput

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables