echo exit | strace bash -li |& grep '^open'
This file contains hidden or 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
{"lastUpload":"2022-03-12T12:55:12.113Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
# htaccess to placed on root folder of php project using apache2 server | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php/$1 [L] |
This file contains hidden or 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
# My Spectacle Custom Shortcut, Spectacle is a screenshot app for linux, and default app on kde flavor. | |
[Data] | |
DataCount=1 | |
[Data_1] | |
Comment=Comment | |
DataCount=4 | |
Enabled=true | |
Name=Spectacle Custom |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- start with permission on writable to owner of your user and the group is www-data. to do this run command like this
sudo chown rizuki-ryumada:www-data writable
sudo chown rizuki-ryumada:www-data writable/*
- And don't forget to set the permission to 775 or 755 for wirtable folder and the sub folder items.
- And set base url to your virtual host site url on .env file or on config file
This file contains hidden or 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
<!-- /* -------------------------------------------------------------------------- */ | |
/* BASIC USE */ | |
/* -------------------------------------------------------------------------- */ --> | |
<script> | |
// siapkan data buat dikirim ke server | |
var oke = 'oke'; | |
// Tabel HealthReport | |
table = $('#report_healthCheckIn').DataTable({ | |
responsive: true, | |
processing: true, |
This file contains hidden or 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 | |
// add some classes or add this function to your class | |
public function convertToCsv(){ | |
$file = fopen(base_url('mycsv.csv'), 'r'); // take file location | |
$arr = array(); $x = 0; $index = array(); // prepare variable for container and index | |
while (($line = fgetcsv($file)) !== FALSE) { // iteration on each line of csv | |
//$line is an array of the csv elements | |
if($x == 0){ // for the first line, use it as index | |
foreach($line as $k => $v){ // iterate the first line |
OlderNewer