Skip to content

Instantly share code, notes, and snippets.

View zsoumya's full-sized avatar

Soumya Mukherjee zsoumya

  • Charlotte, NC
  • 15:07 (UTC -12:00)
View GitHub Profile
@zsoumya
zsoumya / show-all-256-colors.py
Created April 11, 2019 14:14 — forked from mgedmin/show-all-256-colors.py
Script to show all 256 colors supported by xterms
#!/usr/bin/python
"""Print a swatch using all 256 colors of 256-color-capable terminals."""
__author__ = "Marius Gedminas <[email protected]>"
__url__ = "https://gist.github.com/mgedmin/2762225"
__version__ = '2.0'
def hrun(start, width, padding=0):
console.log((fileName => `The current filename is ${fileName}`)(__filename));