This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Based on <https://github.com/mecha-cms/x.minify> | |
namespace x\minify\_ { // start namespace | |
$n = __NAMESPACE__; | |
\define($n . "\\token_boolean", '\b(?:true|false)\b'); | |
\define($n . "\\token_number", '-?(?:(?:\d+)?\.)?\d+'); |
We will tackle this process in 10 steps listed below.
I didn't want to repeat some sections well explained in the UEFI Process. You can refer there and follow due process.
Namely;
- Connecting to WiFi.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This code is based on <https://github.com/pourquoi/ckeditor5-simple-upload> | |
* and will be implemented by <https://github.com/mecha-cms/extend.c-k-editor> in the future! | |
*/ | |
// The upload adapter | |
var Adapter = function(loader, urlOrObject, t) { | |
var $ = this; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*! | |
* ======================================================= | |
* Author : Taufik Nurrohman | |
* URL : https://github.com/taufik-nurrohman | |
* License : MIT | |
* ======================================================= | |
* | |
* -- CODE: ---------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Tabel Daftar Transaksi | |
CREATE TABLE "inventory" ( | |
"product" INTEGER, -- `product.id` | |
"price" INTEGER, -- Harga satuan produk | |
"quantity" INTEGER, | |
"store" INTEGER, -- `store.id` | |
"time" TEXT, -- Waktu terjadi transaksi | |
"type" INTEGER, -- Tipe transaksi | |
"user" INTEGER | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl; | |
root /path/to/www; | |
index index.php index.html; | |
server_name mecha-cms.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
function showToast(parent, text, timeOut) { | |
let toast = $('<div></div>').html(text); | |
toast.appendTo(parent); | |
window.setTimeout(function() { | |
toast.remove(); | |
}, timeOut); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
const caption = $('.figure-caption'); | |
const figure = $('.figure'); | |
const image = $('.figure-img'); | |
const input = $(':file'); | |
input.change(function() { | |
caption.text(this.files[0].name); | |
let data = new FormData(), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
let currentItem, currentItemID; | |
const addTypes = $('#add-types'); | |
const body = $(document.body); | |
const confirmTarget = $('#confirm'); | |
const confirmTrigger = $('a[data-bs-toggle="modal"][data-bs-target="#confirm"]'); | |
const storeTypeInsert = $('#storeTypeInsert'); | |
const storeTypeInsertText = storeTypeInsert.find('input[type=text]'); |
NewerOlder