Blog

Blog

Add vCPU in VMware Fusion for Windows

Add vCPU in VMware Fusion for Windows

As Windows Pro only supports 2 CPU sockets, after added 4 cores in VMware Fusion, the OS is still shown as 2 vCPU. To avoid this is, need to change cpuid.coresPerSocket to handle more than 2 cores.

Parameters

In .vmx file change following parameter, numvcpus is the total number of cores, which can be changed in GUI. cpuid.coresPerSocket should be changed to half of numvcpus.

numvcpus = "4"
cpuid.coresPerSocket = "2"

References

Odd behavior with Fusion 12.2 and Windows 11

Salomon Forest Force Run 2023 – 50KM

Table of Contents

Salomon Forest Force Run 2023 - 50KM

Even started at 7am on 29 Oct 2023, and could not speed up due to wind direction, especially in east coast park.

Medals

Result

https://results.checkpointspot.asia/results.aspx?CId=17036&RId=3681

Map

Map

GPX Map

Google Map

Plotaroute

Photos

References

Salomon Forest Force Run Website

Salomon Forest Force Run 2023 – 14KM

Table of Contents

Salomon Forest Force Run 2023 - 14KM

Even started at 6:45am on 16 Sep 2023, and twisted my right ankle more than 5 times due to stones on the road.

Medals

Result

https://results.checkpointspot.asia/Results.aspx?CId=17036&RId=3664

Map

Map

GPX Map

Google Map

Plotaroute

Photos

References

Salomon Forest Force Run Website

Salomon Forest Force Run 2023 – 23KM

Table of Contents

Salomon Forest Force Run 2023 - 23KM

Even started at 6:45am on 30 Sep 2023, and could not speed up due to wind direction, especially in east coast park.

Medals

Result

https://results.checkpointspot.asia/17036/SFFR23KM

Map

Map

GPX Map

Google Map

Plotaroute

Photos

References

Salomon Forest Force Run Website

How to disable Android File Transfer in Mac OSx

How to disable Android File Transfer in Mac OSx

Android File Transfer Agent conflicts with Garmin Music, so need to disable it in order to work.

Steps

Open the “Activity Monitor” and kill the “Android File Transfer Agent” process. Open “System Preferences” > “Accounts”. Go to the “Login Items” tab of your user. Remove the “Android File Transfer Agent”.

References

Avoid Android File Transfer starting automatically in Mac OS X after Android device plugin to USB port

Refill Canon 054 Cartridge

Refill Canon 054 Cartridge

Note: I haven't tried the process.

My print MF634Cx got error E015-0000, Canon support said it is not repairable. But I just got 4 new cartridges, want to reuse the ink. I bought a new MF645Cx, so want to try refilling the cartridges later. There are some refill videos on Internet.

Refill

To refill the cartridge, one method is to dig a hole, the second method is to open the cartridge.

Chip

Although some people said the number of page used indication will give error, refilled cartridge is still able to be used. Alternatively can buy CRG-054 Chip to replace it.

Product

For Canon LBP 621 622 623 MF641 MF642 MF643 MF644 MF645 Printer Toner Chip,For Canon CRG 054 CRG054 CRG-054 Toner Cartridge Chip

CRG-054 H Chip for Canon MF641cw MF642cdw MF644cdw LBP622cdw LBP621Cw LBP623Cw

Subcategories:

  • K CRG-054K 1.5K WW
  • C CRG-054C 1.2K WW
  • M CRG-054M 1.2K WW
  • Y CRG-054Y 1.2K WW
  • K CRG-054HK 3.1K WW
  • C CRG-054HC 2.3K WW
  • M CRG-054HM 2.3K WW
  • Y CRG-054HY 2.3K WW

Chip:

Chip location:

References

Refill 054

how to refill canon 054 and 054H toner cartridge 2023.Refill canon printer 046, 046H Toner cartridge
Cartridge Refilling 054 canon 621cw color laser printer toner cartridge
Refilling the Canon 054 \ Canon 046 cartridge | how and how to refill the Canon cartridge
Refill toner cartridge Compatible for Canon CRG-045 CRG-046 CRG-054 054H CRG-055 Color cartridge.

Dig a hole

How to refill CRG 045 045H CRG 046 046H

Error

Code E015-0000

Building dnsmasq docker-compose file with DHCP enabled

Building dnsmasq docker-compose file with DHCP enabled

Creating Dockerfile

Create Dockerfile as below, the VOLUME /data is pointing to configuration folder

FROM ubuntu:latest

VOLUME /data

RUN apt update
RUN apt install dnsmasq -y
RUN apt install iproute2 -y

CMD dnsmasq -q -d --conf-file=/data/dnsmasq.conf --dhcp-broadcast

Creating docker-compose.yml file

Must add cap_add parameter.

version: '2'

services:
  dnsmasq:
    container_name: dnsmasq
    image: dnsmasq
    build:
      context: .
      dockerfile: Dockerfile.dnsmasq
    restart: unless-stopped
    volumes:
      - /app/dnsmasq/data:/data
    networks:
      - my_macvlan_250
    cap_add:
      - NET_ADMIN

networks:
  my_macvlan_250:
    external: true

This is the same as below command

docker run --cap-add=NET_ADMIN --name dnsmasq -d -it --restart unless-stopped -v /app/dnsmasq/data:/data --network my_macvlan_250 dnsmasq

References