Skip to content

Instantly share code, notes, and snippets.

View didinkaj's full-sized avatar


View GitHub Profile
didinkaj / AutoLogout.js
Created September 9, 2023 17:19
Implementing AutoLogout Feature in Web Applications (VueJS)
<div v-if="warningZone" class="text-danger">Are you still with us?</div>
export default {
name: 'AutoLogout',
data () {
return {
events: ['click', 'mousemove', 'mousedown', 'scroll', 'keypress', 'load'],
didinkaj / Laravel Nginx Configuration file
Created April 13, 2020 13:54
Laravel Nginx Configuration file
server {
listen 80;
listen 443 ssl http2;
server_name .erp.test;
root "/home/vagrant/code/erp";
index index.html index.htm index.php;
charset utf-8;
didinkaj / default nginx configuration file
Created April 13, 2020 13:51
default nginx configuration file
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.