Firefox Disabled Extensions – Enable Them Again

Notes on how to use debug mode:
Refer: www.reddit.com/r/firefox...

Use about:debug, and the load each plug-in to enable it again:
Refer: https://superuser.com/questions/379239/where-is-the-mozilla-firefox-plugins-folder-on-a-mac

  • about:debug
  • create an alias to see hidden folders
  • Navigate to /User/<user>/Library/Application Support/Firefox/Profiles/<profile>/extensions

 

Make a Window Transparent in Ubuntu 18.04

Refer: http://tipsonubuntu.com/2018/11/12/make-app-window-transparent-ubuntu-18-04-18-10/

Open terminal either via Ctrl+Alt+T or from software launcher.

When terminal opens, paste following the command and hit enter:
sh -c 'xprop -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY $(printf 0x%x $((0xffffffff * 80 / 100)))'

Your mouse cursor will become cross-shaped, simply click on any window and it become 80% opacity.
In the command, you can change 80 to number range from 1 ~ 99 for other window opacity.

To reset the window opacity, run command:
sh -c 'xprop -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY $(printf 0x%x $((0xffffffff * 100 / 100)))'

Oracle ODBC, SQL*Plus, Xampp on Windows 10

Install Java 1.8 JDK

Oracle Drivers and SQL*Plus
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html

Microsoft
https://www.microsoft.com/en-ph/download/details.aspx?id=40784

Using Oracle 11g Installation

Extract tns_admin.zip and move to C:\tns_admin

SET TNS_ADMIN=C:\tns_admin as global variable for system

Extract win64_11gR2_client.zip
Run win64_11gR2_client\client\setup.exe
Accept "Environment does not meet minimum requirements."
Use default installation: C:\app\<username>\product\11.2.0\client_1

Extract win32_11gR2_client.zip
Run win32_11gR2_client\client\setup.exe
Accept "Environment does not meet minimum requirements."
Use default installation: C:\app\<username>\product\11.2.0\client_2

Verify Installation:
sqlplus web_owner@TSTWEB2

Install the 64-bit Drivers, and then the 32-bit Drivers right on top of it.
Make sure to install the ODBC connections in 32-bit
Use the Oracle in OraClient11g_home1 and NOT the Microsoft ODBC driver

Get a list of Google Photo Folder Names

Go to https://photos.google.com and run from the browser console

Remove the quotes around the resulting string and import as a spreadsheet separated by tabs.

Refer: https://webapps.stackexchange.com/questions/90614/how-can-i-get-a-list-of-albums-in-google-photos

List of Folder Names

var links = document.getElementsByTagName('A'); 
var s = ''; 
for (var i = 0; i< links.length; i++) {
 if (/\b(album|share)\b/.test(links[i].href)) {
 var albumName = links[i].children[1].children[0].innerText;
 s = s + albumName + '\t' + links[i].href + '\n';
 }
}

List of Shared Albums

var links = document.getElementsByTagName('A'); 
var s = ''; 
for (var i = 0; i< links.length; i++) {
 if (/\b(album|share)\b/.test(links[i].href)) {
 s = s + links[i].innerText + '\t' + links[i].href + '\n';
 }
}

 

Install QDirStat Directory Usage Utility

Install the following package:

$ sudo add-apt-repository ppa:nathan-renniewaldock/qdirstat
$ sudo apt-get update
$ sudo apt install qdirstat

Refer: https://www.makeuseof.com/tag/how-to-analyze-your-disk-usage-pattern-in-linux/