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
<?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',
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
@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',
@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;
/**
*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;
{
"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",