Cloud 9 IDE How do I fix my cursor? - cursor

Every time I type the cursor inserts my code and it gets very annoying. How do I change it where the cursors doesn't insert. Using Chrome windows 8 pc. Thanks in advance

Related

Remove Query History window from PGadmin

I am not sure how I activated this option in pgAdmin, but I got no idea on how to remove it.
Every time I open pgAdmin it goes through every single query which means I have to wait a couple of minutes before I can start querying again.
Does anybody know how to remove it?
Many thanks!
Ok I fixed it,
File -> Reset Layout.

Datazen - Live data won't display

To the best of my knowledge, I'm correctly importing my MS-SQL data source in the Control Panel (It says successful in green). I'm also pretty sure I'm importing the data correctly into the Windows 7 Publisher app since I can view the data in the DataView:
but when I go to the Layout View or Run Preview, I just get a blank chart:
It works if I use the default SimulatedTable but once I change the data source to my MS-SQL table, I can't get anything to display, no matter what display element I'm trying to use.
I've tried re-importing the data, using a different MS-SQL table, and re-naming the columns to match the SimulatedTable but it doesn't change the result. Can anyone tell me what I'm doing wrong?
Please try one thing, I am just guessing it might work.
Please select one of the Time Preset buttons and see if you see data in that(where there is blank) chart object.
If yes, then while setting up the time navigator object, select an option in drop down box labeled "Default Time Range Preset"
There are some hacks, please do let me know if run into some weirdness. It might not make sense if i try to explain unless you run into that situation.
Cheers,
I ended up giving up on the Windows 7 version of the application and running a virtual instance of Windows 8.1 instead so I could install the Datazen Publisher app for Windows 8.1. It's FAR less buggy.
Not perfect, though.

cakePHP - Simple insert statements taking long time to execute

We are using the cakePHP framework and have deployed the application on our product environment. We have noticed that insert statements are taking a long time to execute. Sometimes a simple insert statement takes 6 seconds which is way too much.
We have switched the persistent key to true in database.php and it seems to improve alot, but still, sometimes queries do take 2 to 3 seconds. Is it a good idea to have this switched on?
Any advice on why and how we can improve execution times?
Thanks
Regards
Gabriel
Does it take long on the local dev environment? Set debug to 2 in core.php to get an sqldump that will show you each SQL statement and time for each. Maybe you have too many joins?
Remember to add the sql dump element to your layout:
<?php echo $this->element('sql_dump'); ?>

WPF Visual Preview hangs indefinitely

I've been developing a WPF interface for the past year, and this week I've noticed I can no longer open the interface within Visual Studio 2010 without it hanging indefinitely. I'm wondering why this has just started happening. I've checked through the SQL settings for the data bindings and everything seems fine. Does anyone know of any of other options I have? I can't seem to cancel this endless loading.
I assume you have tired to reboot? For me sometimes a compile that usually takes 10 seconds will take minutes. I reboot and it works fine for a couple days or a couple hours. SP1 helped.
Finally I've found the solution. One of my datagrids was attached to a DataSet which return a list of log records. Now as the system went through testing the long grew, making the sql query take longer and longer to return. I noticed this by running the JetBrains dotTrace tool on the application, and profiled the startup sequence, this identified the SQL query which was causing the delay.

SSMS: keyboard shortcut to execute current row? [duplicate]

This question already has answers here:
How can I run just the statement my cursor is on in SQL Server Management Studio?
(27 answers)
Closed 6 years ago.
SQL Server Management Studio: Is there a way to execute current row (keyboard shortcut) without highlighting it?
Highlighting the text beforehand, i.e. by clicking the combination Home, Shift + End, F5 would appear to be the only option.
See answers here: How can I run just the statement my cursor is on in SQL Server Management Studio?
The add-in SQL Complete has this exact feature. Execute current statement using a hotkey without selecting it. Their free express version has it, but I also recommend standard version for its additional features. It's a major time-saver.
https://connect.microsoft.com/SQLServer/feedback/details/125200/execute-current-statement is a Connect issue on this - Guess it's a low priority.
I've just gotten used to using standard keyboard shortcuts. One such is to (if for example the query i want to work with is written in the end) select everything before this query using ctrl-shift-home, then ctrl-k, ctrl-c to comment this out, hit end, then f5. once i need to get all back i just ctrl-a then ctrl-k,ctrl-u to uncomment again.
In either case, it helps being familiar with the keyboard :)
I know of 2 shortcuts that will perform the Execute, but if you have more SQL statements within the SQL file, it will execute them all unless you highlight the line you want.
F5
ctrl+E
I've never come across a shortcut that will do that without selecting the row first. There isn't one listed in the SSMS Keyboard Shortcuts MSDN article either, so I don't think it is possible.
This works for me: Home, Shift + Left click
Here's an improvement on DaveRead's answer: Shift+Home, F5

Resources