git Archives - draghici.net https://draghici.net/tag/git/ A web developer's ideas Thu, 29 Oct 2026 08:52:40 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://draghici.net/app/uploads/2017/06/cropped-keyboard-grayscale-150x150.jpg git Archives - draghici.net https://draghici.net/tag/git/ 32 32 Free email and website hosting for your custom domain https://draghici.net/free-email-and-website-hosting-for-your-custom-domain/ Fri, 26 Jun 2026 19:45:00 +0000 https://draghici.net/?p=6978 Many companies offer free plans, so together with AI agents it’s pretty accessible to build your own website these days. Why do it, though? Maybe for the pride of it, maybe for the fun of it, maybe for knowing that you have a single point of truth to the way you present yourself over the […]

The post Free email and website hosting for your custom domain appeared first on draghici.net.

]]>
Improved prompts for better AI interactions https://draghici.net/improved-prompts-for-better-ai-interactions/ Fri, 26 Sep 2025 19:57:00 +0000 https://draghici.net/?p=6563 I recently worked on a project where I used prompts to generate most of the code. I had to make some fixes, as expected, but the question arose: might more of those have been avoided if the quality of the prompts had been higher? AI is obviously changing the was we use programming languages and […]

The post Improved prompts for better AI interactions appeared first on draghici.net.

]]>
Modernizing the internals of an old notes taking app https://draghici.net/modernizing-the-internals-of-an-old-notes-taking-app/ Fri, 31 May 2024 05:33:00 +0000 https://draghici.net/?p=5714 Many years ago I worked on a PHP based notes taking app named after a friendly cat in our family back then. I still use it from time to time, but because it’s obsolete, time has come to give it a refresh. A year ago I used Laravel to make an attempt at rewriting it. […]

The post Modernizing the internals of an old notes taking app appeared first on draghici.net.

]]>
How to test your frontend applications https://draghici.net/testing-your-frontend-applications/ Fri, 26 Apr 2024 05:34:11 +0000 https://draghici.net/?p=5567 Testing an application is more important than one might think. The two best reasons that come to mind is quality assurance and the time you save by using them. I imagine that all developers do the minimal manual testing for their applications 🙂 , so the point of this article is to talk about the […]

The post How to test your frontend applications appeared first on draghici.net.

]]>
Create a map with POIs using React, Leaflet, Typescript and Github https://draghici.net/create-a-map-with-pois-using-react-leaflet-typescript-and-github/ Fri, 26 May 2023 15:37:01 +0000 https://draghici.net/?p=4616 Recently I have found myself in the position to want to show a list of addresses on a map and remembered that I haven’t built a map in quite a while. The plan is to build a map with OpenStreetMap and with some general structure for points of interest (POIs), which will be retrieved from […]

The post Create a map with POIs using React, Leaflet, Typescript and Github appeared first on draghici.net.

]]>
Taking the development of a Github hosted WordPress plugin from “old” to automatic https://draghici.net/taking-the-development-of-a-github-hosted-wordpress-plugin-from-old-to-automatic/ Sun, 06 Jan 2019 20:19:55 +0000 https://draghici.net/?p=1819 This article is about cristidraghici/wp-just-an-admin-button. The content is about taking it from the form of a basic git project with many manual actions – yes, old is not a good word, maybe classic is a better one – to one automatically published to the WordPress plugin repository. Some testing should be added, but we will […]

The post Taking the development of a Github hosted WordPress plugin from “old” to automatic appeared first on draghici.net.

]]>
Updating git repository using stash https://draghici.net/updating-git-repository-using-stash/ Sun, 28 Jan 2018 14:06:05 +0000 https://draghici.net/?p=667 The following commands to merge changes from the repository in the current source. git stash or git stash -uHide the changes you have in your project. The -u will also hide the newly created files. git pull Get the changes from remote; git stash apply or git stash popThe former applies the stash, but also […]

The post Updating git repository using stash appeared first on draghici.net.

]]>
Reset the content of a git repository https://draghici.net/reset-content-git-repository/ Tue, 23 Jan 2018 23:55:48 +0000 https://draghici.net/?p=985 Sometimes, in your git repository, you realise everything you did is wrong and you need to start over. Then, this is what you need to do! Reset the content: git reset --hard HEAD Clean the content of the repository: git clean -f And one command which will clean everything, including the ignored files or folders […]

The post Reset the content of a git repository appeared first on draghici.net.

]]>
Creating a WP plugin and using Github for version control https://draghici.net/creating-wp-plugin-using-github-version-control/ Sat, 01 Jul 2017 15:55:53 +0000 https://draghici.net/?p=773 This article is about publishing a plugin to the WordPress Repository. I use TortoiseGIT on a daily basis and also Github for opensource projects. Also, TortoiseSVN will be needed. Steps: Read: Sources:

The post Creating a WP plugin and using Github for version control appeared first on draghici.net.

]]>
Licenses https://draghici.net/licenses/ Mon, 01 May 2017 15:27:52 +0000 https://draghici.net/?p=841 Licensing application based on Node.js and React. It manages the activation codes, clients andresellers.

The post Licenses appeared first on draghici.net.

]]>
Fixing line endings in Git on Windows https://draghici.net/fixing-line-endings-git/ Thu, 02 Feb 2017 19:23:03 +0000 https://draghici.net/?p=742 I am currently working with Github and an Ubuntu VM under Windows. Because of line endings, while the command line in Windows shows the repository is up to date without modifications, that in Ubuntu shows a lot of files modified. I have successfully fixed this issue with: git config --global core.autocrlf true Source:

The post Fixing line endings in Git on Windows appeared first on draghici.net.

]]>
Fault management project https://draghici.net/fault-management-project/ Thu, 01 Dec 2016 14:30:05 +0000 https://draghici.net/?p=843 Node.js backend and Jade (Pug) frontend based on JQuery and Twitter Bootstrap for interacting with a NAGIOS server with the purpose of monitoring the status of a network. Where Nagios isn’t available, a PING based service has been implemented.

The post Fault management project appeared first on draghici.net.

]]>