https://git-scm.com/book/en/v2/Git-on-the-Server-Setting-Up-the-Server
a3m-nix.blogspot.com
Semangat untuk terus belajar dan berbagi....
Sabtu, 16 Juli 2022
Minggu, 03 Juli 2022
Laravel 6 schedule:work
Laravel 6 schedule:work
Dapet dari sini https://github.com/laravel/ideas/issues/2338
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
class ScheduleListen extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'schedule:listen';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Listen for scheduled tasks';
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$this->line('Listening for scheduled tasks..');
while (true) {
if(now()->startOfMinute()->is(now())) {
Artisan::call('schedule:run');
$output = Artisan::output();
if($output != 'No scheduled commands are ready to run.') {
$this->line($output);
}
}
sleep(1);
}
}
}
Senin, 02 Mei 2022
1 Syawal 1443H
Allahu akbar.. Allahu akbar... Allahu akbar..
Kamis, 21 April 2022
Ramadhan 1443
Rabu, 06 April 2022
Ramadhan 1443
Selamat datang Ramadhan, bulan yang penuh berkah dan ampunan.
Semoga kita diberi kekuatan untuk beribadah sebaik mungkin dibulan yang penuh dengan kemuliaan ini.
1 Ramadhan 1443 Hijriah jatuh pada hari Ahad 3 April 2022
Senin, 14 Februari 2022
Zimbra amavis cannot connect port
This did not work for me initially as I did not have this line in /etc/sysctl.conf
# Name the NIC explicitly; seems to be required on Ubuntu 18:net.ipv6.conf.ens18.disable_ipv6 = 1
After adding this line, doing sysctl -p and zmamavisdctl restart amavis was listed as Running.
Before the above, the alternative solution I found was this:
Edit /opt/zimbra/conf/amavisd.conf.in
add this line:
$inet_socket_bind = '127.0.0.1';
Restart zimbra amavis:
zmamavisdctl restart
Rabu, 01 Desember 2021
Plugin OJS PKP Blok Sidebar
Plugin Open Journals System untuk menampilkan semua jurnal di sidebar.
Silahkan download di PKP-List Journal
Upload di plugin lalu aktfikan sidebar.
Berikut contohnya tampilannya