composer require dompdf/dompdf
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
use Dompdf\Dompdf;| #!/bin/bash | |
| # === Konfigurasi === | |
| REMOTE_USER="nama-user-remote" | |
| REMOTE_HOST="192.168.xx.xx" #alamat server remote | |
| REMOTE_PATH="/path/folder/file/di/remote" | |
| LOCAL_DEST="/path/folder/file/tujuan/" | |
| SSH_PORT="22" | |
| LOG_FILE="rsync_download_$(date +%Y%m%d_%H%M%S).log" |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="[add your bin description]"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <input type="text" name="katakunci" id="kataKunci" onkeyup="cari()"> |
| $('table').on('paste', 'input', function(e){ | |
| var $this = $(this); | |
| $.each(e.originalEvent.clipboardData.items, function(i, v){ | |
| if (v.type === 'text/plain'){ | |
| v.getAsString(function(text){ | |
| var x = $this.closest('td').index(), | |
| y = $this.closest('tr').index()+1, | |
| obj = {}; | |
| text = text.trim('\r\n'); | |
| $.each(text.split('\r\n'), function(i2, v2){ |
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
| class Cewek { | |
| constructor(kowe_sopo, jenenge_bribikanmu, kowe_seneng) { | |
| this.kowe_sopo = kowe_sopo; | |
| this.jenenge_bribikanmu = jenenge_bribikanmu; | |
| this.kowe_seneng = kowe_seneng; | |
| this.seneng_kowe = Boolean(Math.round(Math.random())); | |
| this.singgle = Boolean(Math.round(Math.random())); | |
| } | |
| <?php | |
| $curl = curl_init(); | |
| curl_setopt_array($curl, array( | |
| CURLOPT_URL => "<<alamat_URL>>", | |
| CURLOPT_RETURNTRANSFER => true, | |
| CURLOPT_ENCODING => "", | |
| CURLOPT_MAXREDIRS => 10, | |
| CURLOPT_TIMEOUT => 0, |
| # Disable Directory listing | |
| Options -Indexes | |
| # block files which needs to be hidden // in here specify .example extension of the file | |
| <Files ~ "\.(env|json|config.js|md|gitignore|gitattributes|lock)$"> | |
| Order allow,deny | |
| Deny from all | |
| </Files> | |
| # in here specify full file name sperator '|' |
| erro usb debuggin xiaomi | |
| Steps for MIUI 9 and Above: | |
| Settings -> Additional Settings -> Developer options -> | |
| Turn off "MIUI optimization" and Restart | |
| Turn On "USB Debugging" |