From: Yukidaruma-dev Date: Tue, 16 Apr 2019 22:28:17 +0000 (+0900) Subject: Added EasterEggs X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b0fc8aba05a1e88d73f472828fcc6eb77c4329a5;p=serene%2Fserenelinux-system-pkg.git Added EasterEggs --- diff --git a/eg-arrest/usr/bin/arrest b/eg-arrest/usr/bin/arrest new file mode 100644 index 0000000..c9c4329 --- /dev/null +++ b/eg-arrest/usr/bin/arrest @@ -0,0 +1,2 @@ +#!/bin/bash +python3 /usr/share/arrest/main.py \ No newline at end of file diff --git a/eg-arrest/usr/share/arrest/color.py b/eg-arrest/usr/share/arrest/color.py new file mode 100644 index 0000000..ce56556 --- /dev/null +++ b/eg-arrest/usr/share/arrest/color.py @@ -0,0 +1,33 @@ +class colors: +#Style + bold = '\033[1m' + underlined = '\033[4m' +#Color + black = '\033[30m' + red = '\033[31m' + green = '\033[32m' + yellow = '\033[33m' + blue = '\033[34m' + magenta = '\033[35m' + cyan = '\033[36m' + lgray = '\033[37m' + darkgray = '\033[90m' + lred = '\033[91m' + lgreen = '\033[92m' + lyellow = '\033[93m' + lblue = '\033[94m' + lmagenta = '\033[95m' + lcyan = '\033[96m' +#Backgroundcolors + bground_black = '\033[40m' + bground_red = '\033[41m' + bground_green = '\033[42m' + bground_yellow = '\033[43m' + bground_blue = '\033[44m' + bground_magenta = '\033[45m' + bground_cyan = '\033[46m' +#Reset All + reset = '\033[0m' +#How to use? +#from clicolors import colors +#print(colors.red + "red text" + colors.reset) \ No newline at end of file diff --git a/eg-arrest/usr/share/arrest/main.py b/eg-arrest/usr/share/arrest/main.py new file mode 100755 index 0000000..feb2d21 --- /dev/null +++ b/eg-arrest/usr/share/arrest/main.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 +#Modules import +from color import colors +from time import sleep + +#setting +auth = True +message_loop = "Change Here!" +def do_loop_run(): + while True: + sleep(1) + print(message_loop) + print(message_loop) + print(message_loop) + +#Basic Program +while auth: + check_run = input(colors.yellow + "This is loop program. Run this program?(y/N):" + colors.reset) + if check_run == "n" or check_run == "N" or check_run == "": + print("Cancel") + auth = False + elif check_run == "y" or check_run == "Y": + print("Enter 'Ctrl + C' to exit.") + do_loop_run() + else: + print("Retry please.") diff --git a/eg-ottosei/usr/bin/ottosei b/eg-ottosei/usr/bin/ottosei new file mode 100755 index 0000000..9dade59 Binary files /dev/null and b/eg-ottosei/usr/bin/ottosei differ diff --git a/eg-ottosei/usr/share/ottosei/ottosei.jpeg b/eg-ottosei/usr/share/ottosei/ottosei.jpeg new file mode 100644 index 0000000..deb853a Binary files /dev/null and b/eg-ottosei/usr/share/ottosei/ottosei.jpeg differ diff --git a/eg-ottosei/usr/share/ottosei/ottosei1.mp3 b/eg-ottosei/usr/share/ottosei/ottosei1.mp3 new file mode 100644 index 0000000..af4d0ed Binary files /dev/null and b/eg-ottosei/usr/share/ottosei/ottosei1.mp3 differ diff --git a/eg-ottosei/usr/share/ottosei/ottosei2.mp3 b/eg-ottosei/usr/share/ottosei/ottosei2.mp3 new file mode 100644 index 0000000..65a0033 Binary files /dev/null and b/eg-ottosei/usr/share/ottosei/ottosei2.mp3 differ