Category Archives: 教學

Clean up malware weknow.ac on MacOS

Find and delete all the adware, maybe in the MacOS setting or in applications

Open Terminal , type in the following

defaults delete com.google.Chrome DefaultSearchProviderSearchURL

defaults delete com.google.Chrome DefaultSearchProviderNewTabURL

defaults delete com.google.Chrome DefaultSearchProviderName

defaults delete com.google.Chrome HomepageLocation

defaults delete com.google.Chrome NewTabPageLocation

defaults delete com.google.Chrome HomepageIsNewTabPage

defaults delete com.google.Chrome DefaultSearchProviderEnabled

restart chrome

then check the setting in chrome://policy
should be no policy set

 

How to install Cantonese Pinyin Input Software on windows 1809

NEW IMPROVED METHOD! 新辦法!
連結 / LINK

教學 – 安裝 CPIME 廣東話拼音輸入法 – Windows 1809 可用

Download and install 耶魯(Yale)from http://cpmie.hk
I personally prefer 耶魯(Yale), the following installation method works for 粵拼(Jyutping / LSHK), 教院式 and 劉錫祥(Sidney Lau)input as well

Copy and paste the following and create a setting.xml file on C:\cantonese\

<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<gs:UserList>
<gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/></gs:UserList>
<gs:InputPreferences>
<!--https://www.youtube.com/uccoffee-->
<gs:InputLanguageID Action="add" ID="0C04:E03D0C04"/>
</gs:InputPreferences>
</gs:GlobalizationServices>
<!--please watch some of my youtube video if you copy my xml, thanks-->

Then run the following command by using command prompt

control.exe intl.cpl,,/f:”c:\cantonese\setting.xml”

之後就可以用廣東話拼音打中文了

這個方法能解決 Windows 1809 不能選CPIME 和 缺少舊版control panel 的問題
This method bypass the input greyed out in the Settings and force installation

1803 的
shell:::{BF782CC9-5A52-4A17-806C-2A894FFEEAC5}
已經不能用了

配合 CPIME使用
Ver 6.2.7 (14 July 2010) 6.14MB
粵拼(Jyutping / LSHK)
教院式
劉錫祥(Sidney Lau)
耶魯(Yale)

reference:
https://superuser.com/questions/395818/how-to-change-keyboard-layout-via-command-line-cmd-exe-on-windows-xp-7
https://support.microsoft.com/en-au/help/2764405/how-to-automate-regional-and-language-settings-in-windows-vista-window
http://www.cpime.hk/p/cantonese-pinyin-input-software.html

Set up Windows Sleep command for Logitech harmony when press activities off button via Bluetooth

1: download nircmd from
www.nirsoft.net/utils/nircmd.htm

2: unzip and put nircmd.exe in windows directory

3: open notepad and type  ( this is give you a 200 second windows to stop windows go into sleep mode

timeout /t 200
nircmd standby force

4: save the file to sleep.bat and put into a folder eg: c:\sleep

5: press windows button , type comm , use mouse to right click the command prompt shortcut, and pin it to taskbar

6: move the pinned command prompt shortcut on the taskbar from the far right the to far left ( 1st position)

7: right click the pinned command prompt shortcut

8:
edit the target: to %windir%\system32\cmd.exe /c “sleep.bat”
edit the start in: C:\sleep

then click OK

9: set up your activity and add the computer if you haven’t done that.

Then press option icon on the top left corner in the harmony app

– harmony setup – Add/Edit Devices & Activities – ACTIVITIES – (select your activity) – EDIT END SEQUENCE – add a step – Device= your computer , command = 1st pinned to taskbar – press the right arrow on the top – press the left arrow on the top to sync your changes

done 😀

Customize and export Start layout (Windows 10) | Microsoft Docs

https://docs.microsoft.com/en-us/windows/configuration/customize-and-export-start-layout

Export layout by using powershell
just go the the folder you are going to export
and use this command

export-startlayout 1.xml

done

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Applies to

Windows 10
Looking for consumer information? See Customize the Start menu

The easiest method for creating a customized Start layout to apply to other Windows 10 devices is to set up the Start screen on a test computer and then export the layout.

After you export the layout, decide whether you want to apply a full Start layout or a partial Start layout.

When a full Start layout is applied, the users cannot pin, unpin, or uninstall apps from Start. Users can view and open all apps in the All Apps view, but they cannot pin any apps to Start.

When a partial Start layout is applied, the contents of the specified tile groups cannot be changed, but users can move those groups, and can also create and customize their own groups.

Note

Partial Start layout is only supported on Windows 10, version 1511 and later.

You can deploy the resulting .xml file to devices using one of the following methods:

Group Policy

Windows Configuration Designer provisioning package

Mobile device management (MDM)

Customize the Start screen on your test computer
To prepare a Start layout for export, you simply customize the Start layout on a test computer.

To prepare a test computer

Set up a test computer on which to customize the Start layout. Your test computer should have the operating system that is installed on the users’ computers (Windows 10 Pro, Enterprise, or Education). Install all apps and services that the Start layout should display.

Create a new user account that you will use to customize the Start layout.

To customize Start

Sign in to your test computer with the user account that you created.

Customize the Start layout as you want users to see it by using the following techniques:

Pin apps to Start. From Start, type the name of the app. When the app appears in the search results, right-click the app, and then click Pin to Start.

To view all apps, click All apps in the bottom-left corner of Start. Right-click any app, and pin or unpin it from Start.

Unpin apps that you don’t want to display. To unpin an app, right-click the app, and then click Unpin from Start.

Drag tiles on Start to reorder or group apps.

Resize tiles. To resize tiles, right-click the tile and then click Resize.

Create your own app groups. Drag the apps to an empty area. To name a group, click above the group of tiles and then type the name in the Name group field that appears above the group.

Important

In Windows 10, version 1703, if the Start layout includes tiles for apps that are not installed on the device that the layout is later applied to, the tiles for those apps will be blank. The blank tiles will persist until the next time the user signs in, at which time the blank tiles are removed. Some system events may cause the blank tiles to be removed before the next sign-in.

In earlier versions of Windows 10, no tile would be pinned.

Export the Start layout
When you have the Start layout that you want your users to see, use the Export-StartLayout cmdlet in Windows PowerShell to export the Start layout to an .xml file.

Important

If you include secondary Microsoft Edge tiles (tiles that link to specific websites in Microsoft Edge), see Add custom images to Microsoft Edge secondary tiles for instructions.

To export the Start layout to an .xml file

From Start, open Windows PowerShell.

At the Windows PowerShell command prompt, enter the following command:

export-startlayout –path .xml

In the previous command, -path is a required parameter that specifies the path and file name for the export file. You can specify a local path or a UNC path (for example, \\FileServer01\StartLayouts\StartLayoutMarketing.xml).

Use a file name of your choice—for example, StartLayoutMarketing.xml. Include the .xml file name extension. The Export-StartLayout cmdlet does not append the file name extension, and the policy settings require the extension.

Example of a layout file produced by Export-StartLayout:

XML

Copy

Important

If the Start layout that you export contains tiles for desktop (Win32) apps or .url links, Export-StartLayout will use DesktopApplicationLinkPath in the resulting file. Use a text or XML editor to change DesktopApplicationLinkPath to DesktopApplicationID. See Specify Start tiles for details on using the app ID in place of the link path.

Configure a partial Start layout
A partial Start layout enables you to add one or more customized tile groups to users’ Start screens or menus, while still allowing users to make changes to other parts of the Start layout. All groups that you add are locked, meaning users cannot change the contents of those tile groups, however users can change the location of those groups. Locked groups are identified with an icon, as shown in the following image.

locked tile group

When a partial Start layout is applied for the first time, the new groups are added to the users’ existing Start layouts. If an app tile is in both an existing group and in a new locked group, the duplicate app tile is removed from the existing (unlocked) group.

When a partial Start layout is applied to a device that already has a StartLayout.xml applied, groups that were added previously are removed and the groups in the new layout are added.

If the Start layout is applied by Group Policy or MDM, and the policy is removed, the groups remain on the devices but become unlocked.

To configure a partial Start screen layout

Customize the Start layout.

Export the Start layout.

Open the layout .xml file. There is a element. Add LayoutCustomizationRestrictionType=”OnlySpecifiedGroups” to the DefaultLayoutOverride element as follows:

syntax

Copy

Save the file and apply using any of the deployment methods.

Mine for Upgrades

https://windscribe.com/miner/rp873ift

What is this?

When you have this page open, your computer will use its spare CPU cycles to solve math puzzles (hashes) in order to mine Monero. As a result, you may see that your CPU usage is higher than normal, but you can control this with a slider below. This does not compromise your privacy. We’re utilizing a service provided by Coin-Hive, you can read their privacy policy here.

Each solved puzzle is credited to your account. You can redeem your balance for free upgrades at the bottom of this page.