From 82cac0a5a211d573190253d3b40f89892bda713f Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 16 Sep 2013 15:33:01 +0200 Subject: Fixed script installation --- colorcube.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 colorcube.py (limited to 'colorcube.py') diff --git a/colorcube.py b/colorcube.py deleted file mode 100755 index d87af0c..0000000 --- a/colorcube.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python - -# Display an xterm-256color color palette on the terminal, including color ids - -reset_sequence = '\033[39;49m' - -def esc(i): - return '\033[48;5;'+str(i)+'m' - -print(''.join([str(i).ljust(4) for i in range(16)])) -print(' '.join([esc(i) for i in range(16)])+' ' + reset_sequence) - -for j in range(6): - for k in range(6): - c = 16+j*6+k*6*6 - print(''.join([str(c+i).ljust(4) for i in range(6)])) - print(' '.join([esc(c+i) for i in range(6)])+' ' + reset_sequence) - -print(''.join([str(i).ljust(4) for i in range(16+6*6*6, 16+6*6*6+24)])) -print(' '.join([esc(i) for i in range(16+6*6*6, 16+6*6*6+24)])+' ' + reset_sequence) - -- cgit