Skip to content

Instantly share code, notes, and snippets.

View Nugjii's full-sized avatar

Nurbol Nugjii

View GitHub Profile
@Nugjii
Nugjii / mp3_tag.py
Last active September 9, 2022 01:31
Getting artist name and song title from file name and set to mp3 file.
import eyed3
import os
import time
eyed3.log.setLevel("ERROR")
basepath = "E:\HIP HOP"
dirs = os.listdir(basepath)
total = len(dirs)
i = 0
@Nugjii
Nugjii / NewPasswordType.php
Created March 6, 2020 04:04 — forked from florentdestremau/NewPasswordType.php
A simple User authentication setup to copy & paste into your Symfony 3.4 install
<?php
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
@Nugjii
Nugjii / DemoController.php
Last active January 30, 2020 09:03 — forked from atillay/DemoController.php
Symfony 4 Pagination Service
<?php
namespace App\Controller;
use App\Entity\Demo;
use App\Service\PaginationService;
use Symfony\Component\HttpFoundation\Request;
class DemoController extends AdminController
{