Skip to content

Instantly share code, notes, and snippets.

View fatkulnurk's full-sized avatar
🤫
Bernafaslah, agar memberikan makanan bagi tanaman

Fatkul Nur Koirudin fatkulnurk

🤫
Bernafaslah, agar memberikan makanan bagi tanaman
View GitHub Profile
{
"USER":"nginx",
"HOME":"\/var\/lib\/nginx",
"HTTP_ACCEPT_LANGUAGE":"en-US,en;q=0.9",
"HTTP_ACCEPT_ENCODING":"gzip, deflate",
"HTTP_REFERER":"http:\/\/localhost\/",
"HTTP_X_REQUESTED_WITH":"app.bukuku.io",
"HTTP_ORIGIN":"http:\/\/localhost",
"HTTP_CONTENT_TYPE":"application\/json",
"HTTP_USER_AGENT":"Mozilla\/5.0 (Linux; Android 10; M2006C3MG Build\/QP1A.190711.020; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/91.0.4472.101 Mobile Safari\/537.36",
/**
*Submitted for verification at BscScan.com on 2021-04-01
*/
/**
*Submitted for verification at BscScan.com on 2021-04-01
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.26;
@fatkulnurk
fatkulnurk / gist:68e1043f8615e86d338530873821ed1f
Last active April 22, 2021 06:54
Contract DisCas Vision (DISC)
/**
*Submitted for verification at BscScan.com on 2021-04-01
*/
/**
*Submitted for verification at BscScan.com on 2021-04-01
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.26;
@fatkulnurk
fatkulnurk / kode memanggil upsert
Last active October 15, 2020 14:59
mutator tidak berfungsi jika menggunakan method upsert
PrepaidProduct::upsert($collection, ['buyer_sku_code'],
[
'product_name',
'category',
'brand',
'type',
'seller_name',
'price',
'buyer_product_status',
chmod -R 774
https://askubuntu.com/questions/59458/error-message-sudo-unable-to-resolve-host-none
https://askubuntu.com/questions/378351/permissions-and-ownership-of-var-www
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
<?php
use Fatkulnurk\Microframework\Http\Message\Response;
use Fatkulnurk\Microframework\Routing\RouteCollector;
return function (RouteCollector $r) {
$r->addRoute('GET', '/', function ($args) {
return Response::getInstance()
->withView('index', [
'name' => 'fatkul nur k',
@fatkulnurk
fatkulnurk / lempp.sh
Created December 29, 2019 04:11
lempp.sh
#!/usr/bin/env bash
# Update Package List
apt-get update
# Update System Packages
apt-get upgrade -y
# Install Some PPAs
apt-get install python-software-properties
LAYARKACA21
http://139.99.209.98/
INDOXXI
http://103.194.171.75/
@fatkulnurk
fatkulnurk / LARAVEL API FORM REQUEST VALIDATION ERRORS.php
Created November 7, 2019 02:09
LARAVEL API FORM REQUEST VALIDATION ERRORS
<?php
//https://cwhite.me/laravel-api-form-request-validation-errors/
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest as LaravelFormRequest;
use Illuminate\Http\JsonResponse;
abstract class FormRequest extends LaravelFormRequest
{
http://www.versebyversequran.com/
http://www.everyayah.com/
http://tanzil.net/trans/
https://alquran.cloud/cdn