Skip to content

Instantly share code, notes, and snippets.

View flrizzato's full-sized avatar
💭
I may be slow to respond.

Fernando Rizzato flrizzato

💭
I may be slow to respond.
View GitHub Profile
@flrizzato
flrizzato / oracleinstantclient32bit.txt
Last active July 22, 2025 13:38
Configuring the Oracle Instant Client 32-bit
How To Configure Oracle Instant Client (32-bit)
===============================================
Download the 32-bit Instant Client from the Oracle Developers Portal
Extract the client to a folder like C:\ORACLE\INSTANT
Add the client folder above to the Windows PATH variable
Add a TNS_ADMIN environment variable (TNS_ADMIN=C:\ORACLE\INSTANT)
Add a NLS_LANG environment variable (NLS_LANG=American_America.CL8MSWIN1251)
Create the registry entries for the 32 bit client
@flrizzato
flrizzato / oracleinstantclient64bit.txt
Last active July 22, 2025 13:38
Configuring the Oracle Instant Client 64-bit
How To Configure Oracle Instant Client (64-bit)
===============================================
Download the 64-bit Instant Client from the Oracle Developers Portal
Extract the client to a folder like C:\ORACLE\INSTANT
Add the client folder above to the Windows PATH variable
Add a TNS_ADMIN environment variable (TNS_ADMIN=C:\ORACLE\INSTANT)
Add a NLS_LANG environment variable (NLS_LANG=American_America.CL8MSWIN1251)
Create the registry entries for the 64 bit client
@flrizzato
flrizzato / ib_odbc_linux.txt
Created May 28, 2024 13:09
IB ODBC for Linux
1. Install 'unixodbc' packages (and 'unixodbc-dev' to get some unixOdbc include files).
apt-get install unixodbc odbcinst unixodbc-dev
2. Go to Builds/Gcc.lin, and execute the following commands (*)
make -f makefile.linux clean
make -f makefile.linux
make -f makefile.linux package
(*) not necessary if you have the installer in hands
3. Run the installer generated by the previous process
@flrizzato
flrizzato / radserver_ubuntu.txt
Created May 27, 2024 14:28
RAD Server on Ubuntu Linux
#1 copy the EMS installer to Linux
C:\Program Files (x86)\Embarcadero\Studio\xx.x\EMSServer
#2 download the Interbase Server for Linux
https://altd.embarcadero.com/download/interbase/2020/Update4/InterBase_2020_Linux.zip
#3 install the Interbase Server
sudo chmod 777 *.sh
sudo ./install_linux_x86_64.sh
register using the EMS deployment server serial number
@flrizzato
flrizzato / macjunk.txt
Created May 27, 2024 14:25
Delete all hidden Mac junk files in Windows (Like .DS_STORE)
del /s /q /f /a .DS_STORE
@flrizzato
flrizzato / apkset.txt
Last active May 27, 2024 14:23
apkset instructions
*** generate the apkset
java.exe -jar C:\Embarcadero\Studio\21.0\bin\Android\bundletool-all-1.2.0.jar build-apks --mode=universal --bundle=DemoAPKSET.aab --output=DemoAPKSET.apks --ks=C:\Embarcadero\android_app_bundle.keystore --ks-pass=pass:123456 --ks-key-alias=rizzato --key-pass=pass:123456
*** install the apkset on the device
java.exe -jar C:\Embarcadero\Studio\21.0\bin\Android\bundletool-all-1.2.0.jar install-apks --apks=DemoAPKSET.apks --adb=C:\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.42600.6491\platform-tools\adb.exe
*** zipalign
C:\Embarcadero\Studio\22.0\CatalogRepository\AndroidSDK-2525-22.0.42600.6491\build-tools\30.0.3\zipalign.exe -p -f -v 4 universal.apk universal_a.apk
** verify zipalign
@flrizzato
flrizzato / adb_restart.bat
Last active January 25, 2025 13:18
adb restart
REM make sure the adb is on your path - or navigate to the path where it's installed
cmd /c "adb kill-server&&adb start-server"