Teddy Zugana

Teddy Zugana @kevinmel2000

About: vi veri veniversum vivus vici Noob Teams

Location:
Indonesia Jakarta
Joined:
Oct 8, 2019

Teddy Zugana
articles - 42 total

Cara Mengatur Blok Server Nginx (Host Virtual) di Ubuntu

aat menggunakan server web Nginx, blok server (mirip dengan host virtual di Apache) dapat digunakan...

Learn More 0 0May 23

Chrome Dino game cheats

Google Chrome and Make your Dinosaur Immortal The game can be hacked pretty easily, making your...

Learn More 3 0Apr 28

Log : PHPExcel_Reader_Excel2007 Trying to access array offset on value of type null Line 1117

Find the line of the error at the library file, in my case was some array that should not be null...

Learn More 0 0Feb 19

Obfuscating “Hello world!” obfuscate on Python

create the weirdest obfuscated program that prints the string “Hello world!”. I decided to write up...

Learn More 1 0Jan 2

Secure Nginx with Let's Encrypt on Ubuntu

Step 1 — Installing Certbot The first step to using Let’s Encrypt to obtain an SSL certificate is to...

Learn More 0 0Dec 4 '24

Auto Deploy Laravel with Deployer.yml sample With Github Runner

create a File Deployer.yml sample for github workflow # This is a basic workflow that is manually...

Learn More 0 0Dec 4 '24

Managing Docker Containers with Portainer

Portainer is a web-based container management platform that supports Docker, Swarm, Nomad, and...

Learn More 10 0Nov 20 '24

Nginx force http to https On 443 https Port

sample script nginx : server { listen 443 default ssl; listen [::]:443 ssl; ...

Learn More 0 1Nov 8 '24

Java FTPS disabling Certificate Check , FOR FIX FTP SSL certificate expired exception

1)the encryption of the FTPS server will be either TLS explicit encryption or TLS explicit...

Learn More 0 0Mar 26 '24

GIS MAP Leaflet JS with OPENSTREETMAP SAMPLE

<!DOCTYPE html> <html lang="en"> <head> <base target="_top"> ...

Learn More 0 0Jan 26 '24

GIS MAP Leaflet JS with API MAPBOX SAMPLE

<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport"...

Learn More 0 0Jan 26 '24

Jaro and Jaro-Winkler distance, measuring similarity between strings on PHP.

<?php function getCommonCharacters( $string1, $string2, $allowedDistance ){ $str1_len =...

Learn More 1 0Nov 12 '23

Python Scraping web page with BeautifulSoup and requests Example

from bs4 import BeautifulSoup import requests url =...

Learn More 3 0Oct 14 '22

PHP Mimic Excel Rate Function

<?php define('FINANCIAL_MAX_ITERATIONS', 128); define('FINANCIAL_PRECISION', 1.0e-08);...

Learn More 1 0Oct 14 '22

How To Install unixODBC-devel on CentOS 7 and Connect DB2 V9.7

Introduction In this tutorial we learn how to install unixODBC-devel on CentOS 7. What is...

Learn More 12 0Jun 6 '22

Java, Common substring of two string in JAVA

public String getLongestCommonSubstring(String str1, String str2) { int m =...

Learn More 2 0Aug 19 '21

PHP Recursive Fibonacci

<?php $inputdata = @$_POST[‘inputdata’]; if(empty($inputdata)) { $inputdata =...

Learn More 0 0Jul 29 '21

PHP Damarau levenstein on Longest Match SubString

function getLongestMatchingSubstring($str1, $str2) { $len_1 = strlen($str1); $longest = ''; ...

Learn More 6 2Jul 29 '21

Laravel Apache hide .env and several security settings via .htaccess & hide .env password on debug

ON .htaccess Add = Options -Indexes <Files ~ ...

Learn More 6 0Jun 25 '21

fix CentOS 6 error: YumRepo

Resolution To fix this problem you edit /etc/yum.repos.d/CentOS-Base.repo and replace all...

Learn More 0 1Apr 12 '21

PHP DamerauLevenshtein ALGORITHM

/* Naïve implementation of Damerau-Levenshtein distance (Does not work when there are neighbouring...

Learn More 4 0Apr 9 '21

How to Find Someones IP Address/Location on Omegle With Google Chrome

Open https://www.omegle.com/ with google chrome on Development tool, console , paste this code :...

Learn More 6 2Jan 30 '21

Alphabet To Number, Number To Alphabet ON PHP

function number_to_alphabet($number) { $number = intval($number); if ($number <= 0) {...

Learn More 5 0Jul 20 '20

Stop SQL Injection from .htaccess

# Enable rewrite engine RewriteEngine On # Block suspicious request methods RewriteCond %{REQUEST_M...

Learn More 12 1Apr 15 '20

Phalcon Framework Php Htaccess for Apache and CORS Blocked

.Htaccess file on phalcon index folder : RewriteEngine on RewriteCond %{HTTP:Authorization}...

Learn More 5 0Mar 19 '20

Setup/configure Elasticsearch on CentOS 7

Elasticsearch is flexible and powerful open-source, distributed real-time search and analytics engine...

Learn More 8 0Mar 19 '20

NodeJS/ReactJS: Change HOST AND Port Number

By default, a ReactJS/ NodeJS app runs on port 3000. An Express.js app also runs on the same port 300...

Learn More 18 3Mar 13 '20

Install Redis Cache Server on CentOS 7/6

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and...

Learn More 6 0Mar 13 '20

How to Upgrade and update Nodejs via NPM Centos 6

Steps to Upgrade Node.Js and install install latest depedency yum install gcc gcc-c++ make make...

Learn More 5 0Mar 6 '20

How install PHP Phalcon Framework on CentOS 6

THE STEPS Updated all repo centos sudo yum update Then I installed the proper php devel pacakag...

Learn More 5 0Mar 5 '20