PHPIniDir "C:/php/php8.0.2/"
AddHandler application/x-httpd-php .php
LoadModule php_module "C:/php/php8.0.2/php8apache2_4.dll"
LoadModule fcgid_module modules/mod_fcgid.so
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This script is used to convert as a batch all rdf files to jsp files for oracle reports: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run this command before uploading the image online: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------- | |
--Meta SQL for scaffolding table merge statements | |
-- Usage: | |
-- Execute SQL | |
-- export/copy lines to sql file | |
-- make necessary edits | |
-- TODO: | |
-- make all column references explicit | |
-------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li *ngFor="let member of awesomeTeam"> | |
<label style="color:cadetblue">{{member.id}} - {{member.name}}, </label> <label> his favorite fruit: </label> <label style="color:blue"> | |
{{member.fruit}} </label> | |
</li> | |
</ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpService } from './services/http/http.service'; | |
//we can customize the http response per each request by creating an interface and injecting it to the service: | |
interface DataType { | |
id: number, | |
name: string, | |
fruit: string | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http'; | |
import { HttpService } from './services/http/http.service'; | |
imports: [ | |
... | |
HttpClientModule | |
], | |
providers: [ | |
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpClient} from '@angular/common/http'; | |
import { Observable } from 'rxjs'; | |
/*.. | |
... inside the class: | |
..*/ | |
constructor(private http: HttpClient) { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{"id": 1, | |
"name": "Ibrahim", | |
"fruit": "Apple" | |
}, | |
{"id": 2, | |
"name": "Mr.Root", | |
"fruit": "Orange" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http'; | |
import { tap } from "rxjs/internal/operators"; | |
import { Observable } from 'rxjs'; | |
interface ResponseType { | |
logout: boolean | |
} |
NewerOlder