Alvin Liu

  • Home
  • About
  • Privacy Policy
Browser Extension

Your Browser's Crime Scense Cleanner

Have you ever experienced this awkward situation? You're sharing your screen, and suddenly some irrelevant browsing history appears in Chrome's autocomplete suggestions. Chrome actively syncs browsing history across all your devices - even for sites you never visited on your work computer. There's no time to explain, and honestly, you probably don't want others seeing your private browsing activity at all. That's why you should try my new Chrome extension: History Cleaner Plus. It automatically removes browsing history based on a customizable domain blacklist. All data stays on your local device - your privacy is fully protected. https://chromewebstore.google.com/detail/history-cleaner-plus/pafmapgognedbeolliiamnbeiepmpjga ➤History Cleaner Plus — Automatically Clear Browsing History for Selected Sites Some websites you visit don’t need to stay in your address bar suggestions or synced history forever. History Cleaner Plus helps you take control of your privacy by automatically removing browsing history for domains you choose through a blacklist. ➤ What problem does it solve? Chrome syncs browsing history across devices and uses it to generate address bar suggestions. This means sites you visited on a personal device may show up later on a work computer, during screen sharing, presentations, or when someone temporarily uses your account — potentially causing awkward or unwanted exposure. ➤ How does it work? ● Add domains you don’t want to keep to the blacklist● The extension automatically deletes browsing history related to those sites● After cleanup, those visits will no longer appear in address bar suggestions ➤ Privacy & Data ● All settings and data remain in your local browser only● No data is uploaded,…

2026-02-02 0comments 15hotness 0likes Alvin Liu Read all
AI

My Recent Certs from Oracle

Thanks for Oracle.

2026-01-02 0comments 78hotness 0likes Alvin Liu Read all
AI

AI Summary Tool for Chrome

Have you busy to read online posts? Please try my AI Summary plugin for Chrome. You need to have a OpenAI or compatible API key to use this service. The key only stored in your local Chrome browser. The tool proviced built in prompt to guide AI to summary the article on your web page. You can also modify the prompt to optimize result and tone. This is a good way to try AI Agent prompt engineering. It supports multiple languages. https://chromewebstore.google.com/detail/ai-summary/eoajdbhdokdmlcmkobgmbcahkmcebfkh

2026-01-02 0comments 89hotness 0likes Alvin Liu Read all
uncategorized

General Conversion Tool convertt.top

Welcome to try out my new website ConverTT https://www.convertt.top This online toolkit provides a variety of conversion functions for your convenience.

2025-04-24 0comments 691hotness 0likes Alvin Liu Read all
Database

SQL Developer Code Templates Autocomplete

Using the short keyword to fill complex SQL in Oracle SQL Developer to make your work more efficient. Follow those simple steps to complete this setup in 5 minutes: Id Usage Template ss Search keyword in stored procedures SELECT * FROM USER_SOURCE WHERE lower(TEXT) LIKE lower('%[keyword]%'); st Search tables by keyword SELECT table_nameFROM user_tablesWHERE table_name LIKE '%[keyword]%'; sc Search tables by column keyword SELECT table_name, column_nameFROM all_tab_columnsWHERE UPPER(column_name) LIKE UPPER('%item_id%')order by UPPER(column_name), upper(table_name); tochar Convert date to char to_char([column], 'YYYY-MM-DD HH24:MI:SS') todate Convert char to date to_date('[2024-01-30]','yyyy-mm-dd') alter Alter table column ALTER TABLE [table_name] MODIFY (column_name datatype); analyze Analyze table analyze table [table name] compute statistics; datafile List data files SELECT file_name, tablespace_name, bytes/1024/1024||'M'FROM dba_data_files; kill Kill a dead lock query SELECT 'ALTER SYSTEM KILL SESSION '''||sid||','||serial#||''';', s.username, s.program, s.sql_id, s.sql_child_number, s.status, t.sql_textFROM v$session s left join v$sql t on s.sql_id=t.sql_idWHERE s.type != 'BACKGROUND' and users_executing>0; merge Merge into table MERGE INTO [target_table] tUSING () fON (t.item_id = f.item_id and t.loc_id=f.loc_id)WHEN MATCHED THENUPDATE SETt. = f.,t. = f.WHEN NOT MATCHED THENINSERT (item_id,loc_id)VALUES (f.item_id,f.loc_id); space Query table space usage SELECT a.tablespace_name,total,free,(total - free) rest,ROUND((total - free) / total * 100, 2) || '%' usedFROM (SELECT tablespace_name, SUM(bytes) / 1024 / 1024 totalFROM dba_data_filesGROUP BY tablespace_name) a,(SELECT tablespace_name, SUM(bytes) / 1024 / 1024 freeFROM dba_free_spaceGROUP BY tablespace_name) bWHERE a.tablespace_name = b.tablespace_nameORDER BY (total - free) DESC; adddatafile Add a data file to table space ALTER TABLESPACE [name]ADD DATAFILE 'name and path.DBF' SIZE 2000M AUTOEXTEND ON;

2024-02-16 0comments 2803hotness 0likes Alvin Liu Read all
Database

Oracle Database Java Stored Procedure

Oracle database has an user JVM to run Java program on the database server, which is much powerful than normal stored procedure. It can bind with standard stored procedure interface to integrate with other database functions. I will show a quick example here, and full document can be found at Oracle official website: https://docs.oracle.com/en/database/oracle/oracle-database/21/jjdev/lot.html#List-of-Tables 2. Load Java code into Oracle database, use Oracle SQL Developer or loadjava command line tool. Here use SQL developer as example: 3. Define Stored Procedure interface 4. Call Java stored procedure 5. Receive procedure output 6. Receive exception stacktrace With the print stack trace section in my example code, you can output error stack to SQL output window, which is helpful to address issues.

2023-06-16 0comments 2280hotness 0likes Alvin Liu Read all
Misc

Android 13 bypass Restricted Setting without root

Android 13 introduced a new security feature to block user apps to read notifications. I got this issue when I setup Huawei Health app for my band. Android 13 has built in solution for this limitation. Go to Settings -> Apps, open the app setting with this issue. There are 3 dots at top right corner, click it to "Allow restricted settings" If you cannot found this 3 dot menu, please remind only the app already triggered "Restricted Setting" popup will show this menu. Just use the app to request notification and get the error first.

2023-06-10 0comments 3057hotness 0likes Alvin Liu Read all
Misc

Backup your Mac without time machine

Time machine is a powerful tool to protect all files on Mac, but maybe sometime you only need a simple alternative way. Here I want to share a way to use build-in rsync command backup a folder to antoher place. You only need one command line: Here work/AU is source folder and bak is target folder. They are on different hard disk. Let me explain some parameters: -a copy files with original create time and attributes. -v show detail progress --delete remove files not at source folder --exclude skip backup some files -c compare files to optimize network transmission. I do not need it since I only copy it at local. You can use build-in crontab command to schedule it, for example I want it run every 4 hours. Use crontab -e to configure crontab job, input following configuration and press escape and input :wq enter to save changes. If you want to backup to iCloud Drive, please use the following folder: /Users/alvin/Library/Mobile\ Documents/com~apple~CloudDocs

2023-05-31 0comments 2214hotness 0likes Alvin Liu Read all
Database

Remote Debug Oracle Procedure by SQL Developer

Here introduce the process to remote debug Oracle procedure. Will also solve common issues as well. Debug Procedure 1. Firstly, you need to download and install latest Oracle SQL Developer from: https://www.oracle.com/database/sqldeveloper/technologies/download/ 2. Then need to specify a port for remote Oracle database to callback. Use a fixed port is easier for your firewall configuration. 3. Launch SQL Developer, choose Settings at menu. Go to Debugger setting and config as below, you can choose other ports below 60000. Please follow all settings in red box, except the port you can customize. 4. Redirect traffic from the port to your machine. Configure the port forwarding at your home router: 5. Now you can use SQL developer connect to remote database and open a procedure for debug. Before start, you need to recompile this procedure for debug, right click on procedure and choose "Compile for Debug". It will show a bug logo on the name. 6. Then add some break point in your procedure by double click at the left of code line. 7. Use "Debug..." function to run the procedure. It will promp you to input your IP, use your public IP. 8. You will see some connect progress in debug log 9. Once it hit the break point, your code will stop and highlight the current line. You can find regular control buttons at top and there are some useful panels at below. This is the happy ending of the story, if you have any issue, below section may helps. Trouble shooting Debug Hung ORA-30683, ORA-12535, ORA-06512 DBMS_DEBUG_JDWP If SQL…

2023-04-28 0comments 3204hotness 0likes Alvin Liu Read all
Distributed System

分布式服务框架设计

列了一些设计分布式系统时需要考虑的问题,欢迎讨论。

2023-03-02 0comments 2017hotness 0likes Alvin Liu Read all
123
Post
  • Your Browser's Crime Scense Cleanner
  • My Recent Certs from Oracle
  • AI Summary Tool for Chrome
  • General Conversion Tool convertt.top
  • SQL Developer Code Templates Autocomplete
Category
  • AI
  • Architect
  • Browser Extension
  • Database
  • Distributed System
  • Frontend
  • Golang
  • High Performance
  • JVM
  • Linux
  • Management
  • Misc
  • uncategorized

Android Babel Blog Cache Database Distributed System Dynamo Golang HA Heap JCS JVM Kubernetes Lens Linux Management Memory OCI Oracle Performance Planning Traefik Typescript Ubuntu Webpack WordPress

Comments
  1. martine on Use Lens to connect Kubernetes through SSH Tunnel
  2. kjstart on ES6 - ES13 新特性列表

COPYRIGHT © 2024 Alvin Liu. alvingoodliu@[email protected] ALL RIGHTS RESERVED.

Theme Made By Seaton Jiang