Chuyển đến nội dung chính

Bài đăng

Đang hiển thị bài đăng từ Tháng 3, 2023

Play youtube videos when the screen is off on android device

How can I play youtube videos when the screen is off on my android device? When your turn off your phone's screen, youtube videos will stop playing along with your apps. However, if you still want to listen to the audio of the video, you can do so by following these steps: Step #1:  Open browser (Chrome, Opera, Firefox, Brave...) and open your youtube video in this browser. Then click on the three dots icon located in the top-right corner (see below image) Select "Desktop site" option, after which browser will reload to run youtube video in its PC version. Step #2: Then, when you back to your home screen (tap on the home icon on your phone), you will see something like this: Now you can tap "play" to play the video, and then turn off your screen to continue listening. In case you do not see your video displayed as shown in step 2, you must check the " Manage notifications " settings of your browser (Press on the browser icon, then select "App info

How to change MAC adress in Windows

 #1: 1. Open: Device Manager > Network adapters 2. Right click on the network card which you intend to change the MAC address > Properties 3. In Advanted tab, move to "Network Address" (or "Locally Administered Address") > Click "Value" 4. Enter MAC address in format 9B93DDF90CEB (from: 9B-93-DD-F9-0C-EB ) > OK ( https://miniwebtool.com/mac-address-generator/ or:  https://www.browserling.com/tools/random-mac ) 5. You could choose 2 final solutions:  i. Reboot ii. Disable > Enable network apdater

Useful scripts in Windows

I love these scripts... A. Active Requirements: 1. DNS: 8.8.8.8 / 8.8.4.4 2. CMD (Admin) 1. Windows Server 2016 Essentils slmgr.vbs /ipk JCKRF-N37P4-C2D82-9YXRT-4M63B slmgr /skms kms9.msguides.com slmgr.vbs /ato 2. Windows Server 2016 Standard slmgr.vbs /ipk WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY slmgr /skms kms9.msguides.com slmgr.vbs /ato 3. Windows Server 2016 Standard Evalution - Change to Standard by:  dism /online /set-edition:ServerStandard /productkey:WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY /accepteula - Run script like (2. Windows Server 2016 Standard) (Or change to 2016 Datacenter by: DISM /online /Set-Edition:ServerDatacenter /ProductKey:CB7KF-BWN84-R7R2Y-793K2-8XDDG /AcceptEula )

SQL Server Errors

17051 "windows could not start the sql server on local computer" SQL Server Error 17051  Reason: - SQL Server 2016 Evaluation: Evaluation period has expired (6 months ~ 180 days) We have 2 solutions: 1. Reinstall 2. Edition Upgrade: SQL Server Installation Centrer > Maintenance: Edition Upgrade > Specify a free edition: Developer Attach a SQL Server Database without a Transaction Log File Reason: - You don't have log file (.ldf file) Solutions: - Using SQL Server Management Studio: just click not found ldf file then click "remove"

Create CSR - SSL Configuration

How to create CSR (Certificate Signing Request) Open SSL: openssl req -new -newkey rsa:2048 -nodes -keyout www_cocvang_com.pem -out www_cocvang_com.csr -subj /CN=www.cocvang.com; cat www_cocvang_com.csr Windows (command lines): echo [NewRequest] > www_cocvang_com.inf echo Subject = "CN=www.cocvang.com" >> www_cocvang_com.inf echo KeySpec = 1 >> www_cocvang_com.inf echo KeyLength = 2048 >> www_cocvang_com.inf echo Exportable = TRUE >> www_cocvang_com.inf echo MachineKeySet = TRUE >> www_cocvang_com.inf echo SMIME = False >> www_cocvang_com.inf echo PrivateKeyArchive = FALSE >> www_cocvang_com.inf echo UserProtected = FALSE >> www_cocvang_com.inf echo UseExistingKeySet = FALSE >> www_cocvang_com.inf echo ProviderName = "Microsoft RSA SChannel Cryptographic Provider >> www_cocvang_com.inf echo ProviderType = 12 >> www_cocvang_com.inf echo RequestType = PKCS10 >> www_cocvang_com.inf echo KeyUsage = 0x