From 61a2aeeadfecd2a9f57a2727e63123f96e09d846 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 3 Nov 2017 18:25:35 +0800 Subject: Remove some duplicate scripts --- cli/colortest.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100755 cli/colortest.py (limited to 'cli/colortest.py') diff --git a/cli/colortest.py b/cli/colortest.py deleted file mode 100755 index 2d29590..0000000 --- a/cli/colortest.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python -# -# http://askubuntu.com/questions/27314/script-to-display-all-terminal-colors - -import sys - -terse = "-t" in sys.argv[1:] or "--terse" in sys.argv[1:] - -for i in range(2 if terse else 10): - for j in range(30, 38): - for k in range(40, 48): - if terse: - print "\33[%d;%d;%dm%d;%d;%d\33[m " % (i, j, k, i, j, k), - else: - print ("%d;%d;%d: \33[%d;%d;%dm Hello, World! \33[m " % - (i, j, k, i, j, k, )) - print - -- cgit v1.2.2