Sunday, December 03, 2017

Windows Context Meun on the Left i.e. Wrong Side

Somehow, the feeling of context menu opened on the left side seems to be on the wrong side as it covered important information of the current application and therefore losing context of current action. 

This is a Table PC Settings which assumes the user is holding a pen and needs to see the context menu without moving the hand compared to using a mouse has nothing blocking the view.

To change the setting:
1) Windows Run
2) shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
3) At Tablet PC Settings dialog, change to Other tab and change Handedness setting.

Sunday, November 19, 2017

Earthquake Preparation

Emergency Earthquake Preparation
http://lmgtfy.com/?q=emergency+earthquake+preparation
****

Food:

3 Meals X 3 Days X 6 People = 54
Core 48 cans
Bean 36 cans
Vege 24 cans
Fruits 24 cans

(Minimum 3 day, or 1 week if possible)

****

(in progress)

iOS App Icons Randomly Flickering / Flashing

When looking at iPhone Home screen, iOS app icons randomly flickering or flashing without any indication what was the purpose. 

Some threads suggested the app icon with "Cleaning" text was attempting to clear cache.  In this case, no "Cleaning" text was displayed.  Also saw a thread indicating there might be a log file called Panic under Diagnostic and Usage Data that was affecting the app.

iOS version 11.1.1, Settings > Privacy > Analytics and turn off Share iPhone Analytics.  (So far, this seems to solve the mystery.)

Thursday, October 19, 2017

Switch AutoCAD to classic UI

Perform the following steps to swith AutoCAD 2017 to classic look and feel:
  1. Type MENUBAR and set the value to 1.
  2. Type RIBBONCLOSE to close ribbon bar.
  3. Add desired toolbars from the menu bar under Tools > Toolbars > AutoCAD > etc.  Example toolbar layout:
    • Standard, Style, Dimension
    • Layers, Properties
  4. Save the layout from the menu bar under Tools > Workspaces > Save Current As.  Give a name then save.
  5. Go to Tools > Workspaces > Workspace Settings to arrange display order and confirm settings.


Saturday, September 02, 2017

Convert units between Metric and Imperial in AutoCAD

In AutoCAD, the unit is a generic unit with no direct connection to metric or imperial units.  The simple way is to use Scale command in Model space to resize either scale up by 2.54 or vice versa.

Note, any measure text would need to be manually recalculated.

Change AutoCAD Paper Space to Black and White

To remove colours from paper space and set to Black & White:
  1. Go to File > Page Setup Manager.
  2. Select the desired page setup.
  3. Click Modify.
  4. Under Plot style table (pen assignments), check Display plot styles.

Import CTB File to AutoCAD

To import CTB file to AutoCAD:
  1. Go to Tools > Options.
  2. Switch to Files tab.
  3. Expand Printer Support File Path > Plot Style Table Search Path option.
  4. Drop CTB file into the the specific file path from above.
  5. Restart AutoCAD.

Thursday, July 06, 2017

Fake, Hoax, Phishing, and Scam Examples

This page above is a good read.


  • Strange URL: not even using its service


  • Free money and tap to preview: no free lunch

  • Account issue with message in PDF: be careful about openning an attachment


  • Account security alart: sounds urgent



  • Account disabled and tap to preview: sounds urgent and did not even write out provider name

  • Bank activity and tap to preview: acronym and typo made people think it is more real



  • Message from a hacked trusted souce with strange URL: thinks before actions


Wednesday, September 07, 2016

FreeRDP Increase TCP Timeout

After upgrading to Windows 10, FreeRDP took longer to connect after password input and often disconnected itself before displaying the screen.

To resolve this problem, increase TCP timeout value.
1) Open /FreeRDP/libfreerdp/core/tcp.c
2) Search TCP_USER_TIMEOUT
3) Change optval to higher value.  E.g. 20000
4) Build and install again.  No need to uninstall or reconfigure.

Tuesday, July 19, 2016

Autocad Draw only Perpendicular Line

For AutoCAD to draw only perpendicular line (northing or easting and nothing else), type command ORTHO, then set to ON.

To draw line at any angle, set ORTHO to OFF.

Sunday, February 14, 2016

Type French Characters in Ubuntu

To enable typing French characters in Ubuntu:
System Settings -> Keyboard.
Switch to Shortcuts tab.
Select Typing in left nav.
Modify Compose Key from disable to Right Alt (i.e. Alt Gr) or any personal choice.

Accent A E I O U Type Keyboard
' á é í ó ú Acute accent single quote
" ä ë ï ö ü Diaeresis double quotes
` à è ì ò ù Grave accent grave
~ ã ĩ õ ũ
tilde
^ â ê î ô û Circumflex accent caret
Example: ê = [Right Alt] + [Shift] + [6], [e]


To add French support to LibreOffice Writer:
System Settings -> Language Support.
Click Install/Remove Languages and add French.
Restart LibreOffice Write and it should have French in dictionary.


In LibreOffice Write, Tool -> Language -> For all Text -> More.
Change Default languages for documents to French.

Add Language Blocked by Untrusted Packages

Try to add new language supports in Edubuntu and block by untrusted packages error.

Requires installation of untrusted packages:
This requires installing packages from unauthenticated sources.

Try to run Software Updater to get latest package update.  Then try to add language again.

Monday, October 26, 2015

Lubuntu Display Scale Up and Number of Desktop/Workspace

To change Lubuntu screen scaling, create a file .Xresources under the user home directory.  View>Show Hidden if the file is not visible.  Input the following line to the file.
Xft.dpi: 125

Save and reboot.

To change the number of Desktop, click Preference>Openbox Configuration Manager.  Go to Desktops tab, then change the number.

Wednesday, October 21, 2015

HANA Studio contains hidden objects

In HANA Studio, some packages have (contains hidden objects) suffix to the package name.

To see all objects, go to Window > Preferences.  Under SAP HANA | Modeler | Content Presentation, check Show all objects.