Skip to content

Single-use programs and utilities, created to solve a specific problem and not usable for anything else

License

Notifications You must be signed in to change notification settings

DeveloppeurPascal/one-shot-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One shot tools

Cette page en français.

Those programs are simple utilities I created to solve a problem or simplify a task I had.

They probably won't be useful for you, but you can check their source file to see how to do some tasks and adapt them to your needs.

It's Pascal programming language in Delphi, JavaScript or PHP depending on what I wanted to do.

Except if you have issues or questions to share with me, the projects in this repository won't be maintained.

If you are looking for code examples to learn Delphi or basic manipulations look instead at this repository of examples of all kinds.

This code repository contains projects developed in Object Pascal language under Delphi. You don't know what Delphi is and where to download it ? You'll learn more on this web site.

Talks and conferences

Twitch

Follow my development streams of software, video games, mobile applications and websites on my Twitch channel or as replays on Serial Streameur mostly in French.

Source code installation

To download this code repository, we recommend using "git", but you can also download a ZIP file directly from its GitHub repository.

This project uses dependencies in the form of sub-modules. They will be absent from the ZIP file. You'll have to download them by hand.

Documentation and support

I use comments in XMLDOC format in Delphi to document my projects. They are recognized by Help Insight, which offers real-time input help in the code editor.

I regularly use the DocInsight tool to enter them and check their formatting.

Documentation is exported in HTML by DocInsight or PasDoc to the /docs folder of the repository. You can also access it online through the hosting offered by GitHub Pages.

Further information (tutorials, articles, videos, FAQ, talks and links) can be found on the project website or the project devlog.

If you need explanations or help in understanding or using parts of this project in yours, please contact me. I can either direct you to an online resource, or offer you assistance in the form of a paid or free service, depending on the case. You can also contact me at a conference or during an online presentation.

Compatibility

As an Embarcadero MVP, I benefit from the latest versions of Delphi and C++ Builder in RAD Studio as soon as they are released. I therefore work with these versions.

Normally, my libraries and components should also run on at least the current version of Delphi Community Edition.

There's no guarantee of compatibility with earlier versions, even though I try to keep my code clean and avoid using too many of the new ways of writing in it (type inference, inline var and multiline strings).

If you detect any anomalies on earlier versions, please don't hesitate to report them so that I can test and try to correct or provide a workaround.

License to use this code repository and its contents

This source code is distributed under the AGPL 3.0 or later license.

You are free to use the contents of this code repository anywhere provided :

  • you mention it in your projects
  • distribute the modifications made to the files provided in this AGPL-licensed project (leaving the original copyright notices (author, link to this repository, license) must be supplemented by your own)
  • to distribute the source code of your creations under the AGPL license.

If this license doesn't suit your needs (especially for a commercial project) I also offer classic licenses for developers and companies.

Some elements included in this repository may depend on third-party usage rights (images, sounds, etc.). They are not reusable in your projects unless otherwise stated.

The source codes of this code repository as well as any compiled version are provided “as is” without warranty of any kind.

How to ask a new feature, report a bug or a security issue ?

If you want an answer from the project owner the best way to ask for a new feature or report a bug is to go to the GitHub repository and open a new issue.

If you found a security issue please don't report it publicly before a patch is available. Explain the case by sending a private message to the author.

You also can fork the repository and contribute by submitting pull requests if you want to help. Please read the CONTRIBUTING.md file.

Support the project and its author

If you think this project is useful and want to support it, please make a donation to its author. It will help to maintain the code and binaries.

You can use one of those services :

You can buy my softwares, my video games or a developer license for my libraries if you use them in your projects.

If you speak French subscribe to Zone Abo to access my complete online archive (articles, videos, training videos, ebooks).

List of projects

DisplayDPROJContent

Displays the content of Delphi project options file.

gamepad-ui-tests

Some VCL and FMX tests project to use the user interface with a keyboard, mouse and gamepads.

generation-serie-mots-de-passe

Creates a randomly generated password list for a user list.

genpassword

Generates a list of passwords with only letters and numbers.

import-CSV-from-MSSQLServer-To-MySQL

Generate SQL commands to create a database structure from a MS SQL Server dump as CSV files.

menage_mailing_list

Scripts to extract emails from a list of email or a log.

mesiim471222_ovh_vps

Program created in 2022 to generate user accounts and detailed texts for accessing a hosting account with FTP/MySQL/PostgreSQL and of course a (sub)domain name to configure on a web server under Debian with VirtualMin (but work for all sort of hosting).

mesimf371818_ovh

A program created in 2018 to add users, virtual domains web hosting and MySQL Databases on a Debian 9 OVH virtual private server.

Give users names on first memo field, click the button and copy/paste the users/passwords list, the Apache source, the MySQL create databases SQL script and bash commands to create users and folders.

Of course change the domaine name "mesimf371818.ovh" hard coded in the source before doing anything with this program.

RedirectionPasDPK

Change all PAS files in a folder with a deprecated comment and an include to the new file path (for compatibility reasons). (useful when changing the tree structure of an open source library or related enterprise project)

rename-all-files-in-a-folder

A simple code to rename files in a folder and use a local counter for that.

show-images-fullscreen

Show all images (JPG, PNG) from a folder in full screen. Use arrow keys to change the picture (next / previous) and ESC/RETURN to exit.

SVGFromFolderToStringArrayInUnit

List all SVG files from a folder and create a unit where they are stored as strings in an array, with the filename as a constant used as array index.

This one shot program is now a real project available from this repository.

TDirectory_CreateDirectory_Check

Test methods TDirectory.CreateDirectory(), TDirectory.Delete() and the TPath.GetXXXPath() for Delphi programs on all available platforms.

tirages_au_sort

To attribute gains in a lotery depending on the number of participants and gifts.

webhosting-send-ftp-config-email

Send the "FTP config mail" for a web hosting service from a list of user/passwords.

webhosting-send-mysql-config-email

Send the "database config mail" for a web hosting service from a list of user/passwords.