Skip to content

Instantly share code, notes, and snippets.

View yigit-serin's full-sized avatar

Yiğit Serin yigit-serin

View GitHub Profile
@yigit-serin
yigit-serin / app.component.ts
Created April 19, 2022 13:48 — forked from bennadel/app.component.ts
Lazy Loading Images With The IntersectionObserver API In Angular 5.0.0
// Import the core angular services.
import { Component } from "@angular/core";
// ----------------------------------------------------------------------------------- //
// ----------------------------------------------------------------------------------- //
interface Contact {
id: number;
name: string;
avatarUrl: string;
@yigit-serin
yigit-serin / laravel.stpl
Created September 14, 2018 13:12 — forked from inerba/laravel.stpl
Laravel template VESTACP
# /usr/local/vesta/data/templates/web/apache2/laravel.stpl
<VirtualHost %ip%:%web_ssl_port%>
ServerName %domain_idn%
%alias_string%
ServerAdmin %email%
DocumentRoot %sdocroot%/public/
ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
Alias /vstats/ %home%/%user%/web/%domain%/stats/