thaicosmic.com

หนัง

วันจันทร์ที่ 28 ธันวาคม พ.ศ. 2563

ภาษานักบิน

 ตัวอักษร คำอ่าน       การออกเสียง   การออกเสียงภาษาไทย


 A Alpha AL FAH อัล ฟ่า

 B Bravo BRAH VOE บรา โว่

 C Charlie CHAR LEE ชาร์ ลี

 D Delta DELL TAH เดล ท่า

 E Echo ECK OH เอ โค่

 F Foxtrot FOKS TROT ฟ็อก ทร็อท

 G Golf         GOLF กอล์ฟ

 H Hotel HO TELL         โฮ เทล

 I India IN DEE AH อิน เดีย

 J Juliett JEW LEE ETT         จูเลียต

 K Kilo         KEY LOH คิ โล

 L Lima LEE MAH ลิ ม่า

 M Mike MIKE ไมค์

 N November NO VEM BER         โน เว็ม เบอร์

 O Oscar OSS CAH ออส การ์

 P Papa PAH PAH         ปา ป้า

 Q Quebec KEH BECK เค เบ็ค

 R Romeo ROW ME OH โร มี โอ

 S Sierra SEE AIR RAH         ซี เอีย ร่า

 T Tango TANG GO แทง โก้

 U Uniform YOU NEE FORM ยู นิ ฟอร์ม

 V Victor VIK TOR         วิค เท่อร์

 W Whiskey WISS KEY วิส กี้

 X X-ray ECKS RAY อ็กสเรย์

 Y Yankee YANG KEY แยง คี่

 Z Zulu         ZOO LOO         ซู ลู


วันอาทิตย์ที่ 27 ธันวาคม พ.ศ. 2563

google form

ด่วน!!! ขอให้ประชาชนผู้เดินทางเข้ามาในจังหวัดศรีสะเกษ ตั้งแต่วันที่ 1 ธันวาคม เป็นต้นมาสแกนและลงทะเบียนผ่านทาง QR code หรือ ลิ้งค์นี้ หรือแจ้งสำนักงานสาธารณสุขอำเภอ, รพ.สต.ใกล้บ้านทุกแห่ง หรือโทร 065-2400688

https://docs.google.com/forms/d/e/1FAIpQLSexy_B5PjHQJA9akE_cPeNdj0HrvIt5ZuFLY57Gqaxcid2aZg/viewform?usp=sf_link

เจ้าหน้าที่สาธารณสุขจะดำเนินการตรวจสอบ หากพบท่านมีความเสี่ยงจะติดต่อกลับ หรือแจ้งสำนักงานสาธารณสุขอำเภอ, รพ.สต.ใกล้บ้านทุกแห่ง หรือโทร 065-2400688

ด้วยความปรารถนาดีจาก สำนักงานสาธารณสุขจังหวัดศรีสะเกษ 

คณะกรรมการโรคติดต่อจังหวัดศรีสะเกษ

19 ธันวาคม 2563

วันพฤหัสบดีที่ 24 ธันวาคม พ.ศ. 2563

วันจันทร์ที่ 26 ตุลาคม พ.ศ. 2563

Dell 3593

 https://ictprocure.moph.go.th/


pongpol07@gmail.com


Loveictprocure@9


ผู้จำหน่าย ห้างหุ้นส่วนจำกัด ทวิน ไอที.  อ.กันทรารมย์ จ.ศรีสะเกษ


ยี่ห้อ DELL รุ่น Inspiron 3593

จอ 15.6  นิ้ว 

หน่วยประมวลผล intel core i5

วันเสาร์ที่ 10 ตุลาคม พ.ศ. 2563

การเรียกตัวอักษรภาษาอังกฤษ

 A - Ant

B - Boy

C - Cat

D - Dog

E - Egg

F - Fox

G - God

H - Hot

I - Ink

J - Jack

K - King

L - Love

M - Mike

N - No

O - Open

P - Pen

Q - Queen

R - Rose

S - Sugar

T - Tiger

U - Under

V - View

W - Woman

X - X-ray

Y - Yellow

Z - Zero

วันอาทิตย์ที่ 16 สิงหาคม พ.ศ. 2563

ติดตามสินค้า

 

BrandDELL
Model

Inspiron 3593-W566055256THW10

Processor

Intel Core i5-1035G1 1.0GHz (6M Cache, up to 3.6GHz)

Graphics

NVIDIA GeForce MX 230 with 2GB GDDR5

Display Screen

15.6-inch FHD (1920 x 1080) Anti-Glare LED-Backlit Non-touch Display

Main Memory

4GB DDR4 2666MHz

Memory Slot

2 x Slots

Max Memory

Up to 16GB

Storage

256GB PCIe NVMe M.2 SSD

Web Camera

Integrated Widescreen HD 720P Webcam with Dual digital microphone array

Audio Jack

1 x headphone and microphone combo

Network

10/100 LAN

Wireless

Wireless 802.11ac

Bluetooth

Bluetooth 4.1

Port

1 x USB 2.0 port
1 x USB 3.1 Gen 1 (Type-C) ports
2 x USB 3.1 Gen 1 ports
1 x HDMI

CardReader

1 x SD-card slot (SD, SDHC, SDXC)

Battery

3-Cell Battery, 42WHr (Integrated)

OS

Windows 10 Home (64-bit) + McAfee LiveSafe 12 month Subscription

Keyboard Type

Thai Non-Backlit Keyboard

Backlit

None

Dimension(W x D x H) : 38.00 x 25.80 x 1.99 cm
Net Weight2.00 KG
Package Dimension(W x D x H) : 49.90 x 33.90 x 7.30 cm
Gross Weight2.82 KG
Volume12,348.75 cm3

วันพฤหัสบดีที่ 11 มิถุนายน พ.ศ. 2563

XVR

ระบบ XVR สามารถสนับสนุนระบบกล้องหลักในตลาด ณ ปัจจุบันไม่เพียงรองรับระบบกล้องอนาล็อก CVBS แบบดั้งเดิมของกล้อง แต่ยังสามารถรองรับระบบ HDCVI , AHD และ TVI แม้แต่ IP Camera เป็นเครื่องบันทึกกล้องวงจรปิดแบบ Penta-brid (รองรับ 5 ระบบ) อย่างแท้จริง

วิธีแก้ไข windows cannot Access\\Shared Drive ( windows 10 เข้าแชร์ไดร์, แชร์ไฟล์ บน Nas ไม่ได้)

คัดลอกมาจาก : https://km.cc.swu.ac.th/archives/1111


วิธีแก้ไข windows cannot Access\\Shared Drive ( windows 10 เข้าแชร์ไดร์, แชร์ไฟล์ บน Nas ไม่ได้)





วันศุกร์ที่ 24 เมษายน พ.ศ. 2563

คำนวนอายุราชการ excel

=DATEDIF(วันบรรจุ,วันนี้,"y")
=DATEDIF(วันบรรจุ,วันนี้,"ym")
=DATEDIF(วันบรรจุ,วันนี้,"md")

=DATEDIF(A1,B1,"y")
=DATEDIF(A1,B1,"ym")
=DATEDIF(A1,B1,"md")

วันอาทิตย์ที่ 19 เมษายน พ.ศ. 2563

วันจันทร์ที่ 30 มีนาคม พ.ศ. 2563

เช็คมือถือ

TopicOne-2-Call (AIS)Happy (DTAC)TRUE
Call Center117516781331
Call Center 02 02-271-9000 02-202-7000 -
เฉพาะ ระบบเติมเงิน เบอร์เติมเงิน
เช็คเบอร์ตัวเองที่ใช้อยู่กด *545# โทรออกกด *102# โทรออกกด *933# โทรออก
เช็คเบอร์ที่จะโทรออก
ว่าเป็นเครือข่ายไหน
กด *727*08xxxxxxxx#  โทรออกกด *102*08xxxxxxxx# โทรออก
กด *933*08xxxxxxxx# โทรออก
เช็คโปรโมชั่นที่ใช้งานกด *777# โทรออกกด *103# โทรออกกด *935# โทรออก
 
เช็คยอดเงิน
จำนวนเงินคงเหลือ
กด *121# โทรออกกด *101# โทรออกกด #123# โทรออก
เปลี่ยนโปรโมชั่นกด *777 โทรออก ฟังตามระบบกด *1003 โทรออก ฟังตามระบบกด 9305 โทรออก ฟังตามระบบ
Voice mailกด *99 โทรออกกด *1802 โทรออก -
โอนเงิน ให้เบอร์อื่นกด * 140 โทรออก กด 1
(ค่าโอน3บาท)
กด *1012 โทรออก
(ค่าโอน 2 บาท)
 -
โอนวัน ให้เบอร์อื่นกด  *140 โทรออก กด 2
(ค่าโอน3บาท)
- -
ซื้อวัน / เพิ่มวันกด *500*9# โทรออก
(เดือนละ30บาท)
*ปัจจุบันเพียงเติม10บาทก็ได้30วันแล้วค่ะ
กด *1013 โทรออก
(เดือนละ2บาท)
*ปัจจุบันเติมเงิน10บาทก็ได้30วันแล้วนะคะ
กด *9344 โทรออก
(เดือนละ2บาท)
*ปัจจุบันเติมเงิน10บาทก็ได้30วันแล้วนะคะ

วันเสาร์ที่ 28 มีนาคม พ.ศ. 2563

03306

# !/bin/sh
    sudo mysqldump --default-character-set=utf8 --allow-keywords --add-drop-table --compatible=mysql40 --no-set-names --lock-tables=false --set-charset=true --skip-disable-keys --skip-add-locks -u root -p123456 jhcisdb  > /home/jhcis/MEGAsync/jhcisbackup/jhcisdb-03306-$(date -d "+0 day" "+%Y.%m.%d").sql

cd /home/jhcis/MEGAsync/jhcisbackup/
FILE=jhcisdb-03306-$(date -d "+0 day" "+%Y.%m.%d").sql
if [ -f "$FILE" ]; then
     sudo zip -r jhcisdb-03306-$(date -d "+0 day" "+%Y.%m.%d").zip "$FILE"
fi

cd /home/jhcis/MEGAsync/jhcisbackup/
FILE=jhcisdb-03306-$(date -d "+0 day" "+%Y.%m.%d").zip
if [ -f "$FILE" ]; then
     sudo rm -f /home/jhcis/MEGAsync/jhcisbackup/jhcisdb-03306-$(date -d "+0 day" "+%Y.%m.%d").sql
     sudo rm -f /home/jhcis/MEGAsync/jhcisbackup/jhcisdb-03306-$(date -d "-63 day" "+%Y.%m.%d").zip
     sudo rm -f /home/jhcis/MEGAsync/jhcisbackup/jhcisdb-03306-$(date -d "-64day" "+%Y.%m.%d").zip
     sudo rm -f /home/jhcis/MEGAsync/jhcisbackup/jhcisdb-03306-$(date -d "-65 day" "+%Y.%m.%d").zip
fi

วันพุธที่ 25 มีนาคม พ.ศ. 2563

03309

# !/bin/sh
    sudo mysqldump --default-character-set=utf8 --allow-keywords --add-drop-table --compatible=mysql40 --no-set-names --lock-tables=false --set-charset=true --skip-disable-keys --skip-add-locks -u root -p123456 jhcisdb  > /home/jhcis/Dropbox/jhcisbackup/jhcisdb03309-$(date -d "+0 day" "+%Y.%m.%d").sql

cd /home/jhcis/Dropbox/jhcisbackup/
FILE=jhcisdb03309-$(date -d "+0 day" "+%Y.%m.%d").sql
if [ -f "$FILE" ]; then
     sudo zip -r jhcisdb03309-$(date -d "+0 day" "+%Y.%m.%d").zip "$FILE"
fi

cd /home/jhcis/Dropbox/jhcisbackup/
FILE=jhcisdb03309-$(date -d "+0 day" "+%Y.%m.%d").zip
if [ -f "$FILE" ]; then
     sudo rm -f /home/jhcis/Dropbox/jhcisbackup/jhcisdb03309-$(date -d "+0 day" "+%Y.%m.%d").sql
     sudo rm -f /home/jhcis/Dropbox/jhcisbackup/jhcisdb03309-$(date -d "-8 day" "+%Y.%m.%d").zip
     sudo rm -f /home/jhcis/Dropbox/jhcisbackup/jhcisdb03309-$(date -d "-9 day" "+%Y.%m.%d").zip
     sudo rm -f /home/jhcis/Dropbox/jhcisbackup/jhcisdb03309-$(date -d "-10 day" "+%Y.%m.%d").zip
fi

วันอังคารที่ 24 มีนาคม พ.ศ. 2563

last

mysqldump --default-character-set=utf8 --allow-keywords --add-drop-table --compatible=mysql40 --no-set-names --lock-tables=false --set-charset=true --skip-disable-keys --skip-add-locks -u root -p123456 jhcisdb

วันศุกร์ที่ 6 มีนาคม พ.ศ. 2563

วันอังคารที่ 3 มีนาคม พ.ศ. 2563

วันจันทร์ที่ 2 มีนาคม พ.ศ. 2563

How To Install and Configure VNC Server on Ubuntu 18.04 LTS

Credit https://computingforgeeks.com/how-to-install-vnc-server-on-ubuntu-18-04-lts/

Virtual Network Computing (VNC) is a technology which allows remote control of another computer using the  Remote Frame Buffer protocol (RFB). In this guide, we’ll cover how to Install and Configure VNC Server on Ubuntu 18.04 LTS
VNC works in a client/server model. The VNC client is installed on the local computer while the VNC server is installed on the remote system to be managed. The server transmits a duplicate of the remote computer’s display screen to the viewer(client).

Install and Configure VNC Server on Ubuntu 18.04 LTS

Install VNC server on Ubuntu 18.04 by running the commands below in your terminal.
sudo apt update
sudo apt -y install vnc4server

Step 2: Install Desktop Enviroment

Ensure you have a Desktop Environment installed on your Ubuntu 18.04. For this guide, we’ll install  Xfce desktop environment.

sudo apt install xfce4 xfce4-goodies
You can choose to use other Desktop environments.
Step 3: Configure VNC Server
Once you’ve finished the installation of Desktop environment and VNC server. Configure VNC server on Ubuntu 18.04 LTS as follows.

1. Set a secure access password

Run the vncpasswd command to set password for your VNC server.
$ vncpasswd
Password:
Verify:
When prompted, enter and verify your password to set.

2. Start VNC server

Start VNC Server on Ubuntu 18.04 using the command:
$ vncserver :1

New 'ubuntu-01:1 (computingforgeeks)' desktop is ubuntu-01:1
Creating default startup script /home/computingforgeeks/.vnc/xstartup
Starting applications specified in /home/computingforgeeks/.vnc/xstartup
Log file is /home/computingforgeeks/.vnc/ubuntu-01:1.log

3. Kill VNC Server

Kill VNC Server using the command:
$ vncserver -kill :1
Killing Xvnc4 process ID 20842

4. Set VNC Server Desktop Environment

VNC configuration file is located on ~/.vnc/xstartup. Edit it with your favorite text editor.
sudo vim ~/.vnc/xstartup
Add the following line at the end of the file.
exec /usr/bin/startxfce4 &
Finally start VNC Server with ;
  • Display number [1]
  • Screen resolution [800×600]
  • Color depth [24]
$ vncserver :1 -geometry 800x600 -depth 24 

New 'ubuntu-01:1 (computingforgeeks)' desktop is ubuntu-01:1
Starting applications specified in /home/computingforgeeks/.vnc/xstartup
Log file is /home/computingforgeeks/.vnc/ubuntu-01:1.log

Step 4:  Connect to the VNC Desktop

You can connect to remote desktop using a VNC client and SSH tunneling. Create an ssh tunnel to VNC server using the following command
ssh @  -C  -L 5901:127.0.0.1:5901
Then install vncviewer client
sudo apt install tigervnc-viewer
On Arch Linux, install it with:
sudo pacman -S tigervnc
Once your SSH tunnel is running, connect to localhost:5901 using  VNC client. When prompted for password, enter the password created during the VNC server configuration.


https://computingforgeeks.com/how-to-install-vnc-server-on-ubuntu-18-04-lts/

Once connected, you’ll see the default Xfce Desktop environment



Step 5:  Configure Systemd

Stop the current VNC server instance:
vncserver -kill :1
Create a systemd service unit file for managing VNC Server.
sudo vim /etc/systemd/system/vncserver@.service
Add:
[Unit]
Description=Start TightVNC server at startup
After=syslog.target network.target

[Service]
Type=forking
User=computingforgeeks
Group=computingforgeeks
WorkingDirectory=/home/computingforgeeks

PIDFile=/home/computingforgeeks/.vnc/%H:%i.pid
ExecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1
ExecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :%i
ExecStop=/usr/bin/vncserver -kill :%i

[Install]
WantedBy=multi-user.target
Don’t forget to replace computingforgeeks with your actual remote user username. Save the file and exit when done.
Reload systemd and start VNC
sudo systemctl daemon-reload
sudo systemctl enable --now vncserver@1
Check status:
$ systemctl status vncserver@1
* vncserver@1.service - Start TightVNC server at startup
   Loaded: loaded (/etc/systemd/system/vncserver@.service; indirect; vendor preset: enabled)
   Active: active (running) since Wed 2018-12-05 11:32:50 PST; 7s ago
  Process: 24161 ExecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :1 (code=exited, status=0/SUCCESS)
  Process: 24154 ExecStartPre=/usr/bin/vncserver -kill :1 > /dev/null 2>&1 (code=exited, status=2)
 Main PID: 24168 (Xvnc4)
    Tasks: 63 (limit: 1110)
   CGroup: /system.slice/system-vncserver.slice/vncserver@1.service
           |-24168 Xvnc4 :1 -desktop ubuntu-01:1 (computingforgeeks) -auth /home/computingforgeeks/.Xauthority -geometry 1280x800 -depth 24 -rfbwait 30000 -rfbauth /home/v
           |-24174 vncconfig -iconic
           |-24176 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
           |-24186 xfce4-session
           |-24189 /usr/bin/dbus-launch --sh-syntax --exit-with-session xfce4-session
           |-24190 /usr/bin/dbus-daemon --syslog --fork --print-pid 5 --print-address 7 --session
           |-24194 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
           |-24198 /usr/bin/ssh-agent -s
           |-24202 xfwm4
.....
You have successfully installed and configured VNC server on Ubuntu 18.04 server. Check other Ubuntu guides available in our website.

ubuntu 18.04 command

sudo -H nautilus
 

Logmein hamachi

Pa6cyjmfUzAIvymAzGmATP9]6ZzbvlctlJHBg]v59ycfJusW0Vr)h94jqNVrtPYTVb6)Idf1xsZrlyTriW5z6LChEMppW7p6jKAWVbwDdCjlzDP0cXwG5lk]M0Vyp5ggCE51bA10iS)GykywnCLzES5LXFu9CgMuyMN6Kl8qm0XWiP8R)R34UrA!

วันเสาร์ที่ 29 กุมภาพันธ์ พ.ศ. 2563

teamviewer

AKPipPLMhkH89pfFhBJEik083jVsnExMEY3YfW3k1sna3MLgzoEhWQk9lpd7ekMf2lFMBpnitfpU9fG6)EuDhnZ22eiSf1BfW6Wo2P]hKtBn3SYUdZx]BtnVa0CN1ieVJC3i4EmV4cuYcl1OqfdPYnbw)mxJDVMQeQHC3cEQ1XAJp8Gw!

Activation code (Encripted)

0vergrive
5wGzI7D1fUWjD7xdKM8ikrb2p6QJz13]zkMz58uFU5IDxayDswXk1k6qeEOS3xgIEiGvxkBQwp8QyNw21WJS66Ai4vnwwlFdQRgyNC3QQJ5qkVUyjzDjlVTP)vmNMq64EtorXXudKhgPwKYCULGDU)C2bryqNZQrMA!
========================================================================

password

6102358222131
h03301

วันพฤหัสบดีที่ 27 กุมภาพันธ์ พ.ศ. 2563

Userกลาง

OP-สสจ.ศรีสะเกษ วีระวุธ เพ็งชัย(Userกลาง)
530017954491
h00021

ฐานข้อมูลกลาง

CwN1Q0)MYJHCxI29uXqUf8Wt2gv2)Q5PJXWB]]iyj3aPasOBF)]pSZpiCP0m3M1sw]Zhbc]GVjDeBx]JcpouGdgzHElkCt86Z7rpFSblMA!

error

jhcis# sudo sh /var/jhcis/create-pdf.sh


Warning: FPDF::include(font/angsa.php): failed to open stream: No such file or directory in /opt/lampp/lib/php/fpdf.php on line 1145

Warning: FPDF::include(): Failed opening 'font/angsa.php' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/lib/php/fpdf.php on line 1145
FPDF error: Could not include font definition fileroot@jhcis-03301:/home/jhcis# sudo sh /var/jhcis/create-pdf.sh

วันพุธที่ 26 กุมภาพันธ์ พ.ศ. 2563

xampp 1.7.1 ubuntu 18.04.6

(In red if use this mySQL for jhcisdb)
sudo su
sudo apt-get install lib32stdc++6
apt-get install libodbc1:i386
wget https://master.dl.sourceforge.net/project/xampp/XAMPP%20Linux/1.7.1/xampp-linux-1.7.1.tar.gz
tar -xf xampp-linux-1.7.1.tar.gz -C /opt
/opt/lampp/lampp start
/opt/lampp/etc/my.cnf
       bind-address = 0.0.0.0
       port = 3333
chmod 644 /opt/lampp/etc/my.cnf
/opt/lampp/bin/mysql
       UPDATE mysql.user SET Password=PASSWORD('123456') WHERE User='root';
       GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY '123456';
       GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY '';
FLUSH PRIVILEGES;
/opt/lampp/lampp restart

/opt/lampp/bin/mysql --port=3333 -u root -p
opt/lampp/phpmyadmin/config.inc.php
       Password = '123456';
==============================================================
/opt/lampp/phpmyadmin/config.inc.php
        /* Authentication type and info */
//$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['host'] = '127.0.0.1:3333';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '123456';
$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

วันศุกร์ที่ 14 กุมภาพันธ์ พ.ศ. 2563

mysql-backup-jhcisdb.sh

# !/bin/sh
    sudo mysqldump --skip-comments --default-character-set=utf8 --routines --lock-tables=false --compatible=no_key_options -u root -p123456 jhcisdb > /var/www/jhcisbackup/jhcisdb-03301.$(date -d "+0 day" "+%Y-%m-%d").sql

cd /var/www/jhcisbackup/
FILE=jhcisdb-03301.$(date -d "+0 day" "+%Y-%m-%d").sql
if [ -f "$FILE" ]; then
     sudo zip -r jhcisdb-03301.$(date -d "+0 day" "+%Y-%m-%d").zip "$FILE"
fi

cd /var/www/jhcisbackup/
FILE=jhcisdb-03301.$(date -d "+0 day" "+%Y-%m-%d").zip
if [ -f "$FILE" ]; then
     sudo rm -f /var/www/jhcisbackup/jhcisdb-03301.$(date -d "-0 day" "+%Y-%m-%d").sql
     sudo rm -f /var/www/jhcisbackup/jhcisdb-03301.$(date -d "-73 day" "+%Y-%m-%d").zip
     sudo rm -f /var/www/jhcisbackup/jhcisdb-03301.$(date -d "-73 day" "+%Y-%m-%d").zip
fi

วันพุธที่ 12 กุมภาพันธ์ พ.ศ. 2563

crontab

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
0 0-23  * * 0-6 root    /var/jhcis/mysql-backup-jhcisdb.sh >/dev/null 2>&1
0 0-23  * * 0-6 root    /var/jepidem/runjepidem.sh >/dev/null 2>&1
0 17-19 * * 0-6 root    /var/jxp18/runjxp18.sh >/dev/null 2>&1
0 13-14 * * 0-6 root    /var/jautoup/runjauto.sh >/dev/null 2>&
*/5 * * * * root sh /var/jhcis/create-pdf.sh >/dev/null 2>&1
*/5 * * * * root /usr/bin/rsync -a /var/www/html/fpdf17/MyPDF/MyPDF.pdf /home/jhcis/Dropbox/MyPDF.pdf >/dev/null 2>&1
#

jre8

/home/jhcis/Downloads

sudo tar zxvf jre-8u241-linux-x64.tar.gz -C /usr/lib/jvm

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.8.0_241/bin/java" 1

sudo update-alternatives --config java

วันเสาร์ที่ 1 กุมภาพันธ์ พ.ศ. 2563

How to Disable Strict SQL Mode in MySQL 5.7

เครดิต serverpilot https://serverpilot.io/docs/how-to-disable-strict-mode-in-mysql-5-7/

How to Disable Strict SQL Mode in MySQL 5.7

If your app was written for older versions of MySQL and is not compatible with strict SQL mode in MySQL 5.7, you can disable strict SQL mode. For example, apps such as WHMCS 6 and Craft 2 do not support strict SQL mode.
If you're using WHMCS 7, see our article on customizing MySQL for WHMCS 7.
To disable strict SQL mode, SSH in to your server as root and create a new configuration file using nano or the editor of your choice:
sudo nano /etc/mysql/conf.d/disable_strict_mode.cnf
In the file, enter these two lines:
[mysqld]
sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Save the file by pressing CTRL + X, then y, then ENTER to confirm changes.
Finally, restart MySQL with this command:
sudo service mysql restart
This change disables two SQL mode settings, STRICT_TRANS_TABLES and ONLY_FULL_GROUP_BY, that were added in MySQL 5.7 and cause problems for some older applications.

Confirming Strict SQL Mode Is Disabled

You can confirm strict SQL mode is disabled by running this command as root:
sudo mysql -i -BN -e 'SELECT @@sql_mode' | grep -E 'ONLY_FULL_GROUP_BY|STRICT_TRANS_TABLES'
If strict mode is disabled, you won't see any output from that command.
If disabling strict mode causes any problems for you, you can re-enable it by deleting that file and restarting MySQL again.

What Strict SQL Mode Errors Look Like

If your app isn't compatible with strict SQL mode, you'll often see SQL errors such as:
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of
SELECT list is not in GROUP BY clause and contains nonaggregated column
'yourdbname.tblannouncements.date' which is not functionally dependent on
columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Last updated: October 6, 2016

mysql command prompt

cd\
cd C:\Program Files\JHCIS\MySQL\bin
C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql -u root -p

mysql> SHOW VARIABLES LIKE "%version%";
mysql> SHOW VARIABLES;

วันอังคารที่ 21 มกราคม พ.ศ. 2563

งาน คบส.

RANKING คบส.ฟอร์มรายงานตัวชี้วัดที่ 15-20 ขอบคุณค่ะ
ตัวชี้วัดที่ ๑๕ ระดับความสำเร็จการดำเนินงานค้นหา สื่อสาร และจัดการภัยความเสี่ยง ด้านผลิตภัณฑ์และบริการสุขภาพในพื้นที่อำเภอและตำบล
https://docs.google.com/forms/d/e/1FAIpQLSf-8rdK-_Y3fIrlFG_TY596IBxX_lFdbu66yqbeArk3edJRyg/viewform

ตัวชี้วัดที่ ๑๖ ร้อยละความครอบคลุมการสื่อสารภัยความเสี่ยงไปยังผู้บริโภค อย่างน้อย เดือนละ ๑ ครั้ง
https://docs.google.com/forms/d/e/1FAIpQLSfGrUj1ELGwmYc6sx6y6XEABdtm1MnTH8y2l7Hom21vtlIkZw/viewform

ตัวชี้วัดที่ ๑๗ ระดับความสำเร็จของการดำเนินงานองค์กรผู้บริโภคผ่านเกณฑ์การประเมินคุณภาพ พื้นที่อำเภอและตำบล
https://docs.google.com/forms/d/e/1FAIpQLSdL9HJ6CGY7fsrUfi0y4fsGqPAbmbz4vUCpxTlKR5iSFvG2TA/viewform

ตัวชี้วัดที่ ๑๘ ระดับความสำเร็จของการจัดการเรื่องร้องเรียนด้านผลิตภัณฑ์และบริการสุขภาพ พื้นที่อำเภอและตำบล
https://docs.google.com/forms/d/e/1FAIpQLSd8wxGZRkUIbczYWoCMaSFTUqJT1r5exVhypCm4HenyF04UJg/viewform

ตัวชี้วัดที่ ๑๙ ร้อยละผลการเฝ้าระวังโฆษณาสถานีวิทยุตามฐานข้อมูล กสทช.ในพื้นที่
https://docs.google.com/forms/d/e/1FAIpQLSeDR6m4B1BJBprw8096IOpaV6Aqa46SXhVGJBjBVyDAgWMACg/viewform

ตัวชี้วัดที่ ๒๐ ร้อยละผลการเฝ้าระวังโฆษณาผลิตภัณฑ์และบริการสุขภาพในสื่อต่างๆ (อย่างน้อย ๕ ชิ้นผลงาน)
https://docs.google.com/forms/d/e/1FAIpQLSfikOQPZCs0XZ4W-uqQB9B2wWCXW72UVJn8Bwr-5ECQNl6dTw/viewform