Skip to content

Instantly share code, notes, and snippets.

View pringgojs's full-sized avatar
🎯
Focusing

Pringgo J. Saputro pringgojs

🎯
Focusing
  • Ponorogo, Indonesia
View GitHub Profile
key gen : NAVN-AUQL-LP2V-3GAJ
request code :
o3oHEuwvhh7v+A6TLNtma5KLZ55NHaj+RM9q/Th9FzsBJuwRWIf30ZqRFzhaHdPKyX8wMH+IENxrzetMa1egQLU11okKTpWJnkpBPJ7mpzRYF6pntD81ffxXuOZDuhuUruvGZNRtwJVpvckuYpH1BJgDP+xfprftjSGjxpOzyyNXu14gXEdWpsj4Z616WNfaPqwXcEIHKx4Xw64Bb6oT6NeT22SuWlKX7bLCU7jStjFPoziw
activation code:
IaBiNBLlJi40BYfmC8+bt2+y6fEBCLEPS9sngItbIsH+w/akZGWssMqLCxNkF/eXpoKgIJ6DH4KNoxhtR1PToWWw863yInFTMbv4WBnwxEN3hemyvxqTHLda6oskxFH3tg+qkEFAfOC7FalnFn/J+2lg71GQssZsKMxHn+JonsC+K3al2IU4lNga7sFE41La58NL/lZh2VidNwp1fAAFIadtjwLtvYaRJbbjdxOW9PGPbAJTEvQb2UnMyeyIdDWx9m1b232rAKMSI5fqkO9RLu48FkadwAZA0QrvZ1FYKIwKn+9g6r0lmNfTOUcRIAR2cEV/jQmz9khvd+V81+RGxw==
@pringgojs
pringgojs / htaccess-tester
Created July 17, 2018 13:19
for test htaccess
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bolt htaccess tester.</title>
<link rel="stylesheet" src="//normalize-css.googlecode.com/svn/trunk/normalize.css" />
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
@pringgojs
pringgojs / index.php
Created August 6, 2018 11:43
Modern list directory in htdocs
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Directory Contents</title>
<link rel="stylesheet" href=".style.css">
<script src=".sorttable.js"></script>
</head>
@pringgojs
pringgojs / gist:937e28ebfb1a6dfb47f78a01592bb2c1
Created August 14, 2018 06:30
How to solve cURL error 60: SSL certificate in Laravel 5 while Slack Notification
1. Open php.ini
2. Add this line in button
curl.cainfo = "C:/xampp/apache/bin/curl-ca-bundle.crt"
3. Restart Apache
@pringgojs
pringgojs / Tutorial integrasi ClamAV dengan ProFTPD
Created October 9, 2018 03:25
Tutorial integrasi ClamAV dengan ProFTPD
--------- Instalasi ClamAV -------------
1. untuk melakukan instalasi ClamAV dengan menggunakan perintah
# apt-get install clamav clamav-daemon libclamav-dev
2. kemudian kita konfigurasi ClamAV dengan memanggil perintah
# dpkg-reconfigure clamav-daemon
@pringgojs
pringgojs / .htaccess
Created October 20, 2018 14:58
htaccess for remove public path in url laravel
In Laravel 5.5 create .htacess file in your root directory and placed the following code:- Reference Link
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
@pringgojs
pringgojs / BlogController.php
Created October 22, 2018 14:50
Blog controller -> sharing laravel
<?php
namespace App\Http\Controllers;
use App\Blog;
use Illuminate\Http\Request;
class BlogController extends Controller
{
public function index()
@pringgojs
pringgojs / api.php
Created October 22, 2018 14:53
routing api
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
@pringgojs
pringgojs / Error can't attach user permission
Created November 1, 2018 02:22
--- Attach permision Seeder Started ---
Errors accours when run php artisan dev:reset on `UserSeeder:attachPermission`.
Make it solved with `config/database.php` like this
```php
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => true,
'strict' => false,
'engine' => null,
$("[data-dismiss=modal]").trigger({ type: "click" });