thaicosmic.com

หนัง

วันจันทร์ที่ 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!