$ brew install nginx
Setelah install jalankan nginx.
$ sudo nginx
Test apakah nginx sudah running, buka url http://localhost:8080.
<?php | |
namespace App\Traits; | |
/** | |
* Convert null value from database to empty string for response | |
* | |
* Usage: | |
* use Illuminate\Database\Eloquent\Model; | |
* use App\Traits\NullToEmptyString; | |
* |
$ brew install nginx
Setelah install jalankan nginx.
$ sudo nginx
Test apakah nginx sudah running, buka url http://localhost:8080.
<?php | |
/** | |
* PHP Example for jQuery Image Reader | |
*/ | |
header('Content-type: application/json; charset=utf-8'); | |
try { |
'use strict'; | |
function onChange(object, onChange) { | |
const handler = { | |
get(target, property, receiver) { | |
try { | |
return new Proxy(target[property], handler); | |
} catch (err) { | |
return Reflect.get(target, property, receiver); | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>io.redis.redis-server</string> | |
<key>KeepAlive</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> |