This commit is contained in:
Voussoir 2015-06-30 20:00:14 -07:00
parent 006788c40e
commit f561782a81
11 changed files with 29 additions and 8 deletions

BIN
.GitImages/hexclock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
.GitImages/passwordy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
.GitImages/tkdraw.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

8
Hexclock/README.md Normal file
View file

@ -0,0 +1,8 @@
Hexclock
========
I know, it's been done a million times before. But not by me. Now it has.
<p align="center">
<img src="https://github.com/voussoir/else/blob/master/.GitImages/hexclock.png?raw=true" alt="hexclock"/>
</p>

View file

@ -3,11 +3,7 @@ import tkinter
import time
SHIFT_SPEED = 0.2
degree = 359
r = 0
g = 0
b = 0
# Higher numbers make the color wheel spin faster
def cval(degree, hueshift):
y = math.sin(math.pi*(degree+hueshift)/180)
@ -32,6 +28,7 @@ def clocking():
t.after(50, clocking)
t = tkinter.Tk()
t.title('Hexclock')
l = tkinter.Label(text='')
l.pack(expand=True, fill='both')
w = 450

View file

@ -28,4 +28,8 @@ Generates randomized strings, useful for making passwords and such.
---------------------------------------------------------------
To use the `sentence` function, you can download [this dictionary](https://github.com/voussoir/else/tree/master/Dictionary)
To use the `sentence` function, you can download [this dictionary](https://github.com/voussoir/else/tree/master/Dictionary)
<p align="center">
<img src="https://github.com/voussoir/else/blob/master/.GitImages/passwordy.png?raw=true" alt="hexclock"/>
</p>

View file

@ -76,6 +76,10 @@ if __name__ == '__main__':
mode = 'password'
length = int(args[1])
elif args[1] in 'DdPp':
mode = 'password'
length = DEFAULT_LENGTH
elif 'sent' in args[1].lower() and argc == 1:
mode = 'sentence'
length = DEFAULT_SENTENCE

View file

@ -269,8 +269,8 @@ class Sudoku:
else:
print('Some mistakes')
print(self.entries_solution)
print(self.entries_current)
#print(self.entries_solution)
#print(self.entries_current)
soduku = Sudoku()

8
TKdraw/README.md Normal file
View file

@ -0,0 +1,8 @@
TKDraw
=======
Unfortunately, there's no TKErase ...
<p align="center">
<img src="https://github.com/voussoir/else/blob/master/.GitImages/tkdraw.png?raw=true" alt="ASCII"/>
</p>