Skip to content

Instantly share code, notes, and snippets.

View bigprof's full-sized avatar

BigProf Software bigprof

View GitHub Profile
@bigprof
bigprof / README.md
Last active July 29, 2022 13:15
Show theme switcher widget at the bottom of your AppGini app, similar to the demo at https://demos.appgini.com/northwind/

Steps to add a theme switcher to your AppGini app

  1. Place the code below in the generated hooks/footer-extras.php file.
  2. Open the folder where AppGini is installed, typically C:\program files\appgini and navigate to the add-ons\themes folder.
  3. Copy all the CSS files in that folder to the resources\initializr\css folder inside your AppGini app.

If you follow the above steps, you should be able to switch your app themes like this:

@bigprof
bigprof / README.md
Last active July 13, 2022 13:45
Bash script to switch PHP version on Debian/Ubuntu

Bash script to switch PHP version on Debian/Ubuntu

You can run multiple versions of PHP on the same server. This is useful in many cases. For example:

  • Testing the same PHP app under multiple PHP versions.
  • Running several PHP apps that each requires a different version of PHP

I personally find this very useful to rapidly test apps generated by AppGini under multiple PHP versions.

AppGini is a nocode/lowcode graphical tool for configuring and generating web applications for easily managing data for small businesses, organizations, teams in small/large companies, or even your indvidual projects. Apps created by AppGini support multiple users, are responsive and mobile-friendly, work on LAMP stack for easy installation and wide support, allow importing and exporting of data to CSV, and many more features. A free fully working trial of AppGini can be downloaded from here

@bigprof
bigprof / footer-extras.php
Last active October 28, 2024 10:55
Prepend currency symbol to fields in the table view of an AppGini app
@bigprof
bigprof / deploy.bat
Last active December 23, 2024 09:01
Example batch file to deploy a single AppGini app to multiple servers.
rem deploy.bat
rem This batch file is used to deploy a single AppGini app to multiple servers.
rem Change the following line to point to the .axp file of your app
set AXP_FILE="C:\users\johndoe\Documents\My Apps\example.axp"
rem Path to AppGini executable (change this if AppGini is installed in a different folder)
set APPGINI="C:\Program Files (x86)\AppGini\AppGini.exe"
rem Generate the app once