Skip to content

Instantly share code, notes, and snippets.

View hbekkouche's full-sized avatar
Turning coffee (Java) into code

Hocine BEKKOUCHE hbekkouche

Turning coffee (Java) into code
View GitHub Profile
@hbekkouche
hbekkouche / application.properties
Created March 2, 2024 11:03
Spring Boot with Gzip Compression
server.compression.enabled=true
server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json
server.compression.min-response-size=1024
@hbekkouche
hbekkouche / load.ts
Created February 11, 2024 16:25
Primeng Lazy load
load(event: TableLazyLoadEvent | undefined) {
let url = 'search=';
if (this.search.email) {
url = url + ',email~' + (this.search.email || '');
}
if (this.search.firstPhone) {
url = url + ',firstPhone~' + (this.search.firstPhone || '');
}
if (this.search.lastName) {
url = url + ',lastName~' + (this.search.lastName || '');
Option Explicit
Sub ConvertToXlsx()
Dim wb As Workbook
Dim sh As Worksheet
Dim myPath As String
Dim myFile As String
Dim myExt As String
Dim myFileName As String
Dim NewWBName As String
Dim ChooseFolder As FileDialog