Skip to content

Instantly share code, notes, and snippets.

View nFnK's full-sized avatar
💭
Senior Full Stack developer

Ufuk nFnK

💭
Senior Full Stack developer
View GitHub Profile
@nFnK
nFnK / amazon-ec2-ftp.md
Created April 1, 2020 12:29 — forked from gunjanpatel/amazon-ec2-ftp.md
amazon ec2 LAMP and FTP installation and setup
@nFnK
nFnK / letsencrypt_2019.md
Created March 31, 2020 15:49 — forked from cecilemuller/letsencrypt_2020.md
How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SSL rating)

How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)


Virtual hosts

Let's say you want to host domains first.com and second.com.

Create folders for their files:

@nFnK
nFnK / CalendarController.php
Created February 7, 2019 18:14 — forked from adijvlian/CalendarController.php
JQuery FullCalendar Integration with PHP and MySQL
<?php
class CalendarController extends ControllerBase
{
public function indexAction()
{
include "incld/load.php";
include "incld/insert.php";
include "incld/update.php";
include "incld/delete.php";
}
@nFnK
nFnK / monolog.php
Created March 17, 2018 18:49 — forked from mamchenkov/monolog.php
Example use of Monolog logger
<?php
// Before: composer require monolog/monolog
// composer autoloader
require_once 'vendor/autoload.php';
// Shortcuts for simpler usage
use \Monolog\Logger;
use \Monolog\Formatter\LineFormatter;
use \Monolog\Handler\StreamHandler;
@nFnK
nFnK / Bootstrap Checkbox Select All Or Cancel
Created January 23, 2018 20:21 — forked from seayxu/Bootstrap Checkbox Select All Or Cancel
Bootstrap Checkbox Select All Or Cancel
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bootstrap Table Checkbox Select All and Cancel</title>
<link href="//cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<h2>Bootstrap Table Checkbox Select All and Cancel</h2>
<table class="table table-striped">