Skip to content

Instantly share code, notes, and snippets.

View ayatmaulana's full-sized avatar
🔥
Focusing

Ayat Maulana ayatmaulana

🔥
Focusing
View GitHub Profile
http://demo.e.gift.id/u/f5a30de25aee7dc142

Endpoint: http://localhost:3000/v1/users/notification/read/:id Method: PATCH Headers:

  • Authorization: Bearer {tokenUser}

success response

{
 "isRead": true,
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
void showMenu(){
printf("Yogurt Shop\n");
printf("------------\n");
printf("1. Buy Yogurt\n");
printf("2. View History\n");
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
struct Barang {
char namaBarang[50];
int qtyBarang;
};
<?php
namespace App\Http\Controllers\Admin\Notification;
use LaravelFCM\Message\OptionsBuilder;
use LaravelFCM\Message\PayloadDataBuilder;
use LaravelFCM\Message\PayloadNotificationBuilder;
use FCM;
use \App\FcmToken;
server {
listen 80 ;
root /var/www/pintu-dev/pintu-cms;
# Add index.php to the list if you are using PHP
index index.php index.html index.htm index.nginx-debian.html;
server_name pintu-cms.festiware.com;
server {
listen 80 ;
root /var/www/pintu-dev/pintu-api/public;
# Add index.php to the list if you are using PHP
index index.php index.html index.htm index.nginx-debian.html;
server_name pintu-api.festiware.com;
location / {
<!DOCTYPE html>
<html>
<head>
<title>Generator</title>
</head>
<body>
<form id="form" >
<div>
<label>materialized view name</label>
[SQL] Query ismaya_db_07_06_2018 start
[ERR] 1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation
[ERR]
INSERT INTO `system_plugin_history` VALUES (340, 'Is.Ismaya', 'script', '1.0.58', 'builder_table_create_is_ismaya_benefit_categories_pivot.php', '2018-02-12 04:47:06');
INSERT INTO `system_plugin_history` VALUES (341, 'Is.Ismaya', 'comment', '1.0.58', 'Created table is_ismaya_benefit_categories_pivot', '2018-02-12 04:47:06');
INSERT INTO `system_plugin_history` VALUES (342, 'Is.Ismaya', 'script', '1.0.59', 'builder_table_update_is_ismaya_benefit_categories_pivot.php', '2018-02-12 04:47:07');
INSERT INTO `system_plugin_history` VALUES (343, 'Is.Ismaya', 'comment', '1.0.59', 'Updated table is_ismaya_benefit_categories_pivot', '2018-02-12 04:47:07');
INSERT INTO `system_plugin_history` VALUES (344, 'Is.Ismaya', 'script', '1.0.60', 'builder_table_create_is_ismaya_benefit_cafe_pivot.php', '2018-02-12 04:47:07');
INSERT INTO `system_plugin_history` VALUES (345, 'Is.Ismaya',
{
"status": true,
"code": 0,
"message": "success",
"data": {
"keyword": "f",
"eatdrink": [
{
"id": 10,
"title": "MR. FOX",