Skip to content

Instantly share code, notes, and snippets.

View sugeng-riyanto's full-sized avatar
🎯
Focusing

Sugeng Riyanto sugeng-riyanto

🎯
Focusing
  • Depok
  • 03:15 (UTC +07:00)
View GitHub Profile
@sugeng-riyanto
sugeng-riyanto / index.html
Created May 28, 2022 23:19 — forked from csusbdt/index.html
How to store JSON data into the user's Google drive storage.
<html>
<head>
<!--
In this example, I started with the 5-minute example provided by Google
on the following page:
https://developers.google.com/drive/
I modified the example code, so that I could write the following
@sugeng-riyanto
sugeng-riyanto / self-rendering.html
Created May 28, 2022 23:18 — forked from csusbdt/self-rendering.html
self-rendering markdown
/*
How to use this script
Assuming this script is stored under filename md.js,
your html file will look some like the following.
-------------------------------------------------------
<script src="md.js"></script>
# Social media sites
@sugeng-riyanto
sugeng-riyanto / ResponseFormatter.php
Created April 17, 2022 03:45 — forked from galpratama/ResponseFormatter.php
API Response Formatter
<?php
namespace App\Http\Controllers\API;
class ResponseFormatter
{
protected static $response = [
'meta' => [
'code' => 200,
'status' => 'success',