Download instant client 12.2 basic and basic devel rpm from oracle
alien -kv oracle-instantclient12*.rpm
//JAVASCRIPT | |
import CryptoJS from 'crypto-js'; | |
import { Base64 } from 'js-base64'; | |
const key = 'DK7Mf0GD1JR1Z3ROxeh+l/crGYKHVglLsInUN8Q8RiY='; | |
//function "unserialize" IS COPY FROM http://locutus.io/php/unserialize/ | |
const unserialize = data => { | |
var $global = typeof window !== 'undefined' ? window : global; | |
var utf8Overhead = function(str) { | |
var s = str.length; |
[ | |
{ | |
tag:['rumah','kamar','setiap hari'], | |
judul:"Do'a Bangun Tidur (1)", | |
arab:"الْحَمْدُ لِلّٰهِ الّذِي أَحْيَانَا بَعْدَ مَا أَمَاتَنَا وَإِلَيْهِ النُّشُوْرِ", | |
latin:"Alhamdulillahilladzi ahyaana ba'da maa amaatanaa wa ilaihinnusyuur", | |
arti:"Segala puji bagi Allah Yang membangunkan kami setelah ditidurkan-Nya dan kepada-Nya kami dibangkitkan", | |
footnote:"HR. Bukhari dalam Fathul Bari: 11/113 dan Muslim: 4/2083" | |
}, | |
{ |
// App.js root project | |
using rn-fetch-blob,node-forge, and buffer | |
import React from 'react'; | |
import { StyleSheet, Text, View, PermissionsAndroid } from 'react-native'; | |
import RNFS from 'react-native-fs'; | |
import RNFetchBlob from 'rn-fetch-blob' | |
import forge from 'node-forge'; | |
import {Buffer} from 'buffer'; |
import React from 'react'; | |
import { StyleSheet, Text, View, PermissionsAndroid, ProgressBarAndroid } from 'react-native'; | |
import RNFS from 'react-native-fs' | |
import forge from 'node-forge' | |
import {Buffer} from 'buffer' | |
import zlib from 'react-zlib-js' | |
const key = forge.random.getBytesSync(16); | |
const iv = forge.random.getBytesSync(16); | |
const limit_big = 1024*512; |
upstream php-handler { | |
server unix:/run/php-fpm/www.sock; | |
} | |
server { | |
#listen 443 ssl; | |
listen 80; | |
server_name 192.168.1.8; | |
#ssl_certificate /etc/ssl/nginx/cloud.example.com.crt; |
public function data(Request $request) | |
{ | |
$orderBy = 'template_baru.id'; | |
switch($request->input('order.0.column')){ | |
case "0": | |
$orderBy = 'template_baru.id'; | |
break; | |
case "1": | |
$orderBy = 'template_baru.judul'; | |
break; |
const table = $('#table').DataTable({ | |
"pageLength": 100, | |
"lengthMenu": [[10, 25, 50, 100], [10, 25, 50, 100]], | |
"bLengthChange": true, | |
"bFilter": true, | |
"bInfo": true, | |
"processing":true, | |
"bServerSide": true, | |
ajax:{ | |
url: "{{u()}}/dashboard/template/data", |
alien -kv oracle-instantclient12*.rpm
<?php | |
// 1 | |
if (! function_exists('number_to_day')) { | |
function number_to_day($nomor_hari) | |
{ | |
$hari = [ | |
"", | |
"Ahad", | |
"Senin", |
function copy_var(data){ | |
return JSON.parse(JSON.stringify(data)); | |
} |