How to reset pgAdmin4 GUI? - pgadmin-4

I tried Ctrl++, Ctrl+-, then pgAdmin4 v1.1 (on Windows 10 Pro x64) error. Then, I tried re-install, but error still exist:
How to fix this error?

RESET Layout :
1.The pgAdmin menu bar displays the following selections: File, Object, Tools, and Help.*
Use the File menu to access the following options:
File -> Reset Layout
OR
Open the browser console and run following :-
pgAdmin.Settings.show()
This should pop up dialog: "Are you sure you want to reset the current layout? ..."

I had this error too. The menu item "Reset Layout" was not visible. Actually NO menu item was visible, so I dug up the actual method that is triggered by the "Reset Layout".
To fix, do this:
Open the browser console
Paste this JavaScrips code: pgAdmin.Settings.show()
This should pop up dialog: "Are you sure you want to reset the current layout? ..."

Like a web-page, press Ctrl + 0 for reset zoom level.

Neither of the mentioned methods worked for me to reset the pgAdmin layout. Finally, what helped, was to delete the ..\AppData\Roaming\pgAdmin\ directory and install again.

go to file option and select reset layout.
https://www.pgadmin.org/docs/pgadmin4/dev/pgadmin_menu_bar.html

Zoom in: Ctrl + Shift + +
Zoom out: Ctrl + -

For the pgAdmin desktop app, I deleted the .pgadmin (hidden) folder from my Home Directory on my Unix machine. Using the command:
rm -rf ~/.pgadmin
But be aware as it will delete all your saved connections too.

..\AppData\Roaming\pgAdmin\runtime_config.json
change prop "zoomLevel": 1,

Related

ADB on Kindles is there a way to receive a notification back when a window opens up or to see the checkbox status?

I'm using adb event codes to setup and navigate thru over 200 kindles
adb -s %%i %*shell input keyevent 61"....
This works great for the first time thru but the second time thru, I could be turning off things that the prior run thru turned on or vice versa. Is there a way with adb commands to read status get feedback or otherwise check to see if a check box on the kindle has been set, or if a window pops up on the launcher screen. I'm not understanding how to query the device to see if things are flagged or otherwise set. Thanks
This is not exactly what you want, as this is enabling Wi-Fi on a phone instead of Parental Controls, but I think you can get some ideas from this example that might be useful.
Instead of blindly clicking on the switch that would toggle Wi-Fi ON and OFF, this only clicks if it is OFF
#! /usr/bin/env python3
from com.dtmilano.android.viewclient import ViewClient
helper = ViewClient(*ViewClient.connectToDeviceOrExit(), useuiautomatorhelper=True).uiAutomatorHelper
obj_ref = helper.ui_device.find_object(body={
'clazz': 'android.widget.Switch',
'pkg': 'com.android.settings',
'desc': 'Wi‑Fi'
})
if helper.ui_object2.dump(oid=obj_ref.oid).text != 'ON':
print('Switching Wi-Fi ON')
helper.ui_object2.click(oid=obj_ref.oid)
else:
print('Wi-Fi already ON')
It's using AndroidViewClient/culebra with CulebraTester2-public back-end.

Find and replace in Snowsight

Does the new Snowsight (preview app) interface provide functionality to find/replace text in the query pane?
In the current interface I can use ctrl-F and ctrl-shift-f for find and replace respectively. They don't seem to work in Snowsight. The search box in the Results pane only works with returned results.
It is possible to enable Replace functionality in Snowsight by pressing CTRL + SHIFT + H:
This and more features are discoverable under Keyboard shortcuts:
Snowsight also provides keyboard shortcuts for faster navigation and editing of worksheets. To view the list of supported keyboard shortcuts, press [CMD]+[SHIFT]+[?] (Mac) or [CTRL]+[SHIFT]+[?] (Windows).
EDIT
New Find and Replace UI:
Quick answer: This is not supported by Snowsight.
Meanwhile just search will work as expected from the browser.
If anyone stumbles on this question like me, now there's a way.
On Mac, hit CMD + Option + f.
Guess you can replace CMD w/ Ctrl and Option w/ Alt if your'e on Windows.

Improving how autocomplete works for img tag in React

I am learning to use React and using Visual Studio Code.
When I insert an image I write: .
I installed the extension: ES7 React/Redux/GraphQL/React-Nativesnippets and it's working with for example RFCE.
Is it possible to add an autocomplete? So for example I just need to enter img and then press control + something that it is autocompleting the whole tag? Or that a menu pops up where I can choose what I want to enter? I tried entering "img" and pressed control + space but it says "no suggestions".
Is it possible to add suggestions to the ctrl + space option?
Yes, you can get some intellisense. You need to ensure the files have the correct extension and that you have installed the correct extensions. I suggest this one:
https://marketplace.visualstudio.com/items?itemName=jawandarajbir.react-vscode-extension-pack

Oracle service Refuses to Start

enter image description here
When i try to start my oracle service the following error occurs.
Please how do i resolve this?
This is a problem related to the windows register i found the solution here:
Go to Start > Run > and type regedit
Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
With the control folder selected, right click in the pane on the right and select new DWORD Value
Name the new DWORD: ServicesPipeTimeout
Right-click ServicesPipeTimeout, and then click Modify
Click Decimal, type '180000', and then click OK
Restart the computer

Issue with configuring conTEXT to compile for Unrealscript

I have been going through Rachel Cordone's Unreal Development Kit Game Programming with UnrealScript Beginner's Guide book and having an issue using the conTEXT text editor.
As per instructed through the book I have followed all the steps to configure it but it won't compile once I press F9 - considering the last step to configure is to set the Enivronment Options/Execute Keys section. Here are the steps the book lays out (just that certain tab):
7) Now we are going to set up the conText to compile code. On the Execute Keys tab, click on Add, then type .uc into the Extensions field that comes up.
8) Once that's done four keys, F9 through F12, will show up in the User Exec Keys window. Let's click on F9 to make it convenient. Once clicked the option on the right become available.
9) For the Execute line, click on the button to the right of the field and navigate to out UDK installation's Binaries\Win64 folder, and select UDK.exe. For Start In, copy the Execute line but leave out UDK.exe.
10) In the Parameters field, type "make" without the quote marks. This tells UDK.exe that we want to compile code instead of opening the game.
11) Change Save to All Files Before Execution.
12) Check Capture Console Output and Scroll Console to the Last Line...
Then all I have to do is press F9 and it will compile - but it doesn't! It gives me:
No user command associated with extension '.uc'
Use 'Environment Options/Execute Keys' dialog to assign commands.
It seems it is not registering the changes no matter what I do (yes I clicked apply before saying okay but even still nothing). Any ideas?
The instructions may be out of date. You'll need to select your ".uc" entry, hit "Edit", and change it to just "uc".
Also, if you use UDK.com instead of UDK.exe the console output will go directly into Context instead of going to a separate popup.

Resources