a 30meg hello world

baru belajar cross app development pake dotnetcore, bikin console hello world aja hasil publishnya 30mb ckckck… worth lah daripada belajar lagi swift atau obj-c

catatatatan, worth untuk developer tua ūüėÄ

kalo devs muda mah real native per platform aja yak, btw utk catatan saya upload stepnya dibawah untuk catatan pribadi juga

new project
hello world
publish
target runtime osx-64 (arm yg m1 blm support ya, atau pake rosetta)
hasilnya 30mb

besok besok mau coba pake gui ah… hepikoding

compile php 5.6 ubuntu 20

howto compille php 5.6 on ubuntu 20

php5.6 is end of life, so, here we go

assume you’re in /home/xxx

[xxx@localhost ~]$ wget -O php-5.6.40.tar.gz https://www.php.net/distributions/php-5.6.40.tar.gz
[xxx@localhost ~]$ tar -zxvf php-5.6.40.tar.gz
[xxx@localhost ~]$ mv php-5.6.40 php
[xxx@localhost ~]$ mkdir -p ./build
[xxx@localhost ~]$ mkdir -p ./src
[xxx@localhost ~]$ cd src
[xxx@localhost src]$ git clone https://github.com/curl/curl.git
[xxx@localhost src]$ git clone https://github.com/openssl/openssl.git

Open ssl 1.0.0

[xxx@localhost src]$ cd openssl
[xxx@localhost openssl]$ git checkout OpenSSL_1_0_0-stable

// Make sure Build is clean before recompiling

[xxx@localhost openssl]$ make clean
[xxx@localhost openssl]$ make dclean

// Configure OpenSSL

[xxx@localhost openssl]$ ./config -fPIC shared –prefix=/home/xxx/build

// Make OpenSSL & Install into Build Directory

[xxx@localhost openssl]$ make -j$(nproc)
[xxx@localhost openssl]$ make install

[xxx@localhost openssl]$ cd ~/build/bin
[xxx@localhost bin]$ ./openssl version
OpenSSL 1.0.0u-dev xx XXX xxxx
[xxx@localhost bin]$

Curl with openssl support

[xxx@localhost bin]$ cd ~/src/curl

// Run buildconf to create the autoconf file (may require sudo access)

[xxx@localhost curl]$ ./buildconf

// Configure cURL to point to OpenSSL 1.0.0 libraries, and install to Build directory

[xxx@localhost curl]$ env PKG_CONFIG_PATH=/home/xxx/build/lib/pkgconfig
[xxx@localhost curl]$ ./configure –with-ssl –prefix=/home/xxx/build

// Make & Install cURL to Build directory

[xxx@localhost curl]$ make -j$(nproc)
[xxx@localhost curl]$ make install

[xxx@localhost curl]$ cd ~/build/bin
[xxx@localhost bin]$ ./curl -V
curl 7.24.0 (x86_64-unknown-linux-gnu) libcurl/7.24.0 OpenSSL/1.0.0u zlib/1.2.11
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz

Compile php 5.6

// Generate autoconf files. May require sudo access.
[xxx@localhost bin]$ cd ~/php
[xxx@localhost php]$ ./buildconf

// Configure PHP 5.6 to point to the Build directory containing OpenSSL & cURL

[xxx@localhost php]$ ./configure \
–prefix=/opt/php56 \
–with-config-file-path=/opt/php56/etc \
–with-curl=/home/xxx/build \
–with-openssl-dir=/home/xxx/build \
–with-openssl=shared \
–with-pdo-mysql \
–with-fpm-user=apache \
–with-fpm-group=apache \
–with-libdir=lib64 \ ** Use if on 64 bit OS. Include softlink to lib directory

// Make & Install PHP 5.6

[xxx@localhost php]$ make clean
[xxx@localhost php]$ make -j$(nproc) -B
[xxx@localhost php]$ make install

[xxx@localhost php]$ /opt/php56/bin/php -v
PHP 5.6.40 (built: Aug  8 2021 03:51:44)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

Powering on a vm in VMware Workstation on Windows 10 host where Credential Guard/Device Guard is enabled fails with BSOD (2146361)

baru nyalain lagi vmware workstation 14 pro mau implemen cdb nya pak djb, eh dapet notif vmware tidak bisa berjalan karena ada Credential Guard/Device Guard nya windows 10 dapat lah link ke vmware (https://kb.vmware.com/s/article/2146361)

berikut ringkasannya….

Powering on a vm in VMware Workstation on Windows 10 host where Credential Guard/Device Guard is enabled fails with BSOD (2146361)

Document Id


2146361

Symptoms


Powering on a virtual machine in VMware Workstation prior to version 12.5 on a Windows 10 host where Credential Guard or Device Guard is enabled fails with a blue diagnostic screen (BSOD).
From VMware Workstation 12.5, you see error similar to:

VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard.


For more information, see Windows 10 host where Credential Guard or Device Guard is enabled fails when running Workstation (2146361)

Purpose


This article provides steps to disable Credential Guard or Device Guard for a Windows 10 Enterprise host.

Cause


This issue occurs because Device Guard or Credential Guard is incompatible with Workstation.

Resolution


To disable Device Guard or Credential Guard:

  1. Disable the group policy setting that was used to enable Credential Guard.
    1. On the host operating system, click Start > Run, type gpedit.msc, and click Ok. The Local group Policy Editor opens.
    2. Go to Local Computer Policy > Computer Configuration > Administrative Templates > System > Device Guard > Turn on Virtualization Based Security.
    3. Select Disabled.
  2. Go to Control Panel > Uninstall a Program > Turn Windows features on or off to turn off Hyper-V.
  3. Select Do not restart.
  4. Delete the related EFI variables by launching a command prompt on the host machine using an Administrator account and run these commands:

    mountvol X: /s
    copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y
    bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d “DebugTool” /application osloader
    bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path “\EFI\Microsoft\Boot\SecConfig.efi”
    bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
    bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
    bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} device partition=X:
    mountvol X: /d

    Note: Ensure X is an unused drive, else change to another drive.

  5. Restart the host.
  6. Accept the prompt on the boot screen to disable Device Guard or Credential Guard.

postfix MX: Host not found, try again

pernah dapet masalah kaya judul diatas ?

postfix MX: Host not found, try again

kuncinya selalu perhatikan /var/log/mail.log apa yg postfix coba “katakan” kepada sang admin

di forum ada yang bilang disable ipv6, ada yang bilang setingan dns anda bermasalah, tapi nslookup domain dan ping dan apt berhasil semua, secara itu semua butuh resolving domain

ternyata sang log “berkata”

postfix/postfix-script[11602]: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ

eh masa sih, ternyata si postfix punya setingan dns sendiri dalam me-resolve domain tujuan yang akan dikirimi email

langsunglah ganti isi¬†/var/spool/postfix/etc/resolv.conf disamakan dengan¬†/etc/resolv.conf … woalahhh…. masih eror, ternyata harus di restart postfixnya baru bisa ūüėÄ

maaf ya blognya pakai bahasa indonesia, buat yang cari problem yang sama postfix MX: Host not found, try again silakan translate jadi bahasa yang anda kehendaki

mariii…

update:

jangan lupa restart spamasassin

kamera samsung s8 tidak fokus

hari ini ada yang aneh dengan samsung s8 gw, kameranya ngga fokus!! gila hp pertamax kamera ngga pokus

udah coba fitur pro, donlot app kamera laen masih ngga fokus… aah besok ke samsung deh, ipon dulu juga ganti kamera karena hal yang sama

baca forum katanya ada cara benerin nya, caranya?

digoyang goyang waktu mau foto pas lagi blur

heh? ternyata berhasil cuy… yang lagi kena masalah sama coba cara diatas deh