Skip to content

Instantly share code, notes, and snippets.

View thinkphp's full-sized avatar
💭
If I have seen further it is only by standing on the shoulders of giants. Newton

Adrian Statescu thinkphp

💭
If I have seen further it is only by standing on the shoulders of giants. Newton
View GitHub Profile
@thinkphp
thinkphp / readme.md
Created November 16, 2024 09:54
readme.md mp3

PyQt5 MP3 Player

A modern, feature-rich MP3 player built with PyQt5 and Pygame. This application provides a clean, user-friendly interface for playing and managing your music files.

Player Screenshot

Features

  • Modern Dark Theme Interface: Sleek dark mode design with intuitive controls
  • Basic Playback Controls:
@thinkphp
thinkphp / turn-the-page.html
Last active November 16, 2024 11:57
Turn Page 3D CSS HTML JS
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D Portfolio - 3 Pages</title>
<style>
* {
margin: 0;
padding: 0;
@thinkphp
thinkphp / notepad.py
Created October 20, 2024 10:06
notepad
import sys
from PyQt5.QtWidgets import (QApplication, QMainWindow, QAction, QFileDialog, QTabWidget,
QPlainTextEdit, QWidget, QTextEdit)
from PyQt5.QtGui import QColor, QPainter, QTextFormat
from PyQt5.QtCore import Qt, QRect, QSize
class LineNumberArea(QWidget):
def __init__(self, editor):
super().__init__(editor)
self.editor = editor
@thinkphp
thinkphp / modal-window.html
Created October 19, 2024 11:49
modal-window.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Styled Modal Window Example</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
@thinkphp
thinkphp / login.html
Created October 13, 2024 07:10
login
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Form with Changing Border</title>
<style>
body {
font-family: Arial, sans-serif;
@thinkphp
thinkphp / functii.html
Created October 9, 2024 12:51
functii
<script type="text/javascript">
//functii in JS sunt blocuri de cod reutilizabil
/*
definim o functie: cuvantul cheie "function", numele functiei, si intre
parantezele rotunde o lista de parametrii
- intre acolade avem corpul functiei
- functia poate fi apelata cu : numele functiei ( valoare1, valoare2...)
@thinkphp
thinkphp / gist:c64fa2bc8bd1b256ac1f9b215b56abb9
Created October 9, 2024 09:47
simple-carousel-next-prev.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {font-family: Arial, Helvetica, sans-serif;}
.gallery-container {
position: relative;
max-width: 1200px;
margin: 0 auto;
@thinkphp
thinkphp / modal.html
Created October 1, 2024 18:14
modal.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {font-family: Arial, Helvetica, sans-serif;}
.img-thumbnail {
border-radius: 5px;
cursor: pointer;
@thinkphp
thinkphp / responsive-hamburger.html
Created September 13, 2024 14:54
Response Hamburger
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Hamburger Menu</title>
<style>
body {
margin: 0;
padding: 0;
@thinkphp
thinkphp / sentiment.py
Created August 27, 2024 14:05
textblob sentiment
import tkinter as tk
from tkinter import ttk
from textblob import TextBlob
def analyze_sentiment():
"""Analyzes the sentiment of the input text and updates the UI."""
text = text_entry.get("1.0", "end-1c")
if not text.strip():
sentiment_label.config(text="Please enter some text!", foreground="red")