Skip to content

Instantly share code, notes, and snippets.

@X-88
X-88 / createtable.py
Created November 21, 2021 12:39
Create Simple Table Using Ascii Character
from os import system
"""
Writed by: Zephio
Create Simple Table
Lang: Python 3.xx
"""
brd = u'\u2593'
spr = '=' * 34
@X-88
X-88 / RectPygame.py
Last active May 12, 2021 07:43
Create Simple Button using Rect in pygame
import pygame as pg
import sys, os, random
pg.init()
w = 600
h = 800
res = (w, h)
fontname = "/storage/emulated/0/fonts/clacon.ttf"
sndpath = "/storage/emulated/0/sfx/test.mp3"
efn = os.path.basename(sndpath[:-4])
@X-88
X-88 / playstopmusic.py
Created February 16, 2021 16:34
Playing & Stop Music using Android Helper
import os, androidhelper
path = '/storage/emulated/0/sfx/test.mp3'
ah = androidhelper.Android()
def test():
os.system('clear')
c = chr(ord(input('p = play, s = stop\n>>> ')))
if c == 'p':
ah.mediaPlay(path)
@X-88
X-88 / Typewriteranimation.py
Created February 14, 2021 15:43
Simple Typewriter animation in python 3.xx
import androidhelper
from os import system
from sys import stdout
from console_progressbar import ProgressBar
path = '/storage/emulated/0/sfx/sfx6.mp3'
msg = 'Membuat Animasi Sederhana\nMenggunakan Python 3.xx\nCoded by: Zephio 2020'
ah = androidhelper.Android()
pb = ProgressBar(total = 100, prefix='', suffix='', length = 20, decimals = 0, fill = '■', zfill = '□')
@X-88
X-88 / Animasi.pas
Created October 2, 2020 23:24
Simple Text Animation on Console Application (Pascal)
program Animasi;
uses
crt;
const
s = ' Zephio';
var
x: Integer;
procedure animasitext;
begin
@X-88
X-88 / StrToHex.py
Created May 15, 2020 19:15
String to Decimal & Hexa Decimal
from os import system
system("clear")
StrList = "0123456789ABCDEF"
msg = "Apps: String To Hex\nCoded by: Zephio\nLang: Python 3.xx"
spr = "==========================="
print(spr)
print(msg)
print(spr)
inp = input("Enter Text Here: ")
print(spr)
@X-88
X-88 / Calculator.cpp
Created April 23, 2020 03:37
Calculator in C++
#include <iostream>
using namespace std;
float a, b, r;
char key;
string spr = "==========================\n";
int main();
void reset()
{
@X-88
X-88 / Covid-19.py
Created April 11, 2020 01:01
Update Information About Covid-19/NCoV-19
#library units
from datetime import datetime
import urllib.request
import json
import ssl
import os
#date
dt = datetime.today().strftime('%m/%d/%Y')
#text color
@X-88
X-88 / ZBF.py
Created December 15, 2019 15:21
MD5 Brute Force
# -*- coding: utf-8 -*-
#######################################
## App Name: Z-MD5 Brute Force ##
## Coded by: Zephio ##
## Lang: Python 3.xx (QPthon Android ##
## Date : 15-Jun-2019 ##
#######################################
#4 test only
#Zeph: e0acbd6d08021f96c1b90647140f5510
#zeph: 6DC21EDC72C0F66130B270F20F38FAA1
@X-88
X-88 / ZPL Maker3.py
Created October 28, 2019 18:10
Playlist Generator for DVB S2 Skybox
####################################
## App Name: Z-PlayList Generator ##
## Language : Python 3xxx. ##
## Coded by: Zephio ##
## Date : 16-Nop-2018 ##
## Target : Skybox. ##
####################################
import os
x = 0
ifn = "/storage/emulated/0/List.txt"