Skip to content

Instantly share code, notes, and snippets.

View wildanm's full-sized avatar
🎯
Focusing

Wildan Maulana wildanm

🎯
Focusing
View GitHub Profile
@wildanm
wildanm / log_manual_restore_mac.txt
Created July 8, 2021 03:34
Log Manual Restore Mac setelah Clean Install (Format ulang dan install ulang)
Restoring :
Done
-----
~/jobstuff
~/personal
~/CodeWorkspaces
~/Desktop
~/Documents
~/Downloads
server {
listen 80;
server_name {{host}};
rewrite ^ https://{{host}}$request_uri? permanent;
}
server {
server {
listen 80;
server_name {{host}};
rewrite ^ https://{{host}}$request_uri? permanent;
}
server {
server {
listen 80;
server_name {{host}};
rewrite ^ https://{{host}}$request_uri? permanent;
}
server {
server {
listen 80;
server_name {{host}};
rewrite ^ https://{{host}}$request_uri? permanent;
}
server {
@wildanm
wildanm / nginx.conf
Last active February 6, 2021 22:52
nginx.conf untuk TAO Platform 3.4.0
server {
listen 80;
listen [::]:80;
server_name tao.openthinklabs;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl default_server;
@wildanm
wildanm / phpspreadsheet_read_images_excerpt.php
Created January 21, 2021 04:33
phpspreadsheet_read_images
<?php
$file = $request->file('file');
$extension = $file->getClientOriginalExtension();
$file_import = time().'.'.$extension;
Storage::disk('my_upload')->put('import_user/'.$file_import, File::get($file));
$path = storage_path('dokumennya/import_user/'.$file_import);
$inputFileName = $path;
@wildanm
wildanm / myisam_to_innodb_error.log
Created December 14, 2020 08:26
MariaDB Error Log When Changing Table Engine from MyISAM to InnoDB
2020-12-14 15:14:41 0 [ERROR] [FATAL] InnoDB: fsync() returned 5
201214 15:14:41 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
@wildanm
wildanm / 13122020_MariaDB_Tables.sql
Created December 13, 2020 03:41
TAO Database yang Crash Ketika Fitur Proctoring Diaktifkan dengan 151 Peserta
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 979
Server version: 10.3.25-MariaDB-0ubuntu0.20.04.1 Ubuntu 20.04
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> SELECT TABLE_NAME, ENGINE FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'taolbi';
+------------------------+--------+
@wildanm
wildanm / gist:57c79999894eb1f824793f974c9feda8
Last active December 13, 2020 03:45
Error Log MariaDB Ketika MariaDB Crash, Terjadi Ketika Menggunakan TAO dengan Procotoring diaktifkan, Jumlah Peserta hanya 151
2020-12-12 8:18:33 927711 [ERROR] [FATAL] InnoDB: fsync() returned 5
201212 8:18:33 [ERROR] mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,