I launched system monitor to kill one program, which didn't responded on any mouse clicks, etc.
But i occasionally killed another process.
so, taskbar was killed. (it was in the bottom of the screen, in the top all is good)
reboot didnt help o_O.
Now I use Alt-Tab and alt-controll-arrows to switch between programs and desktops (it works).
How to…
Recently I came across a character range that was the following:
[/-+]
My very simple question is, is this even a valid character range? If so, what range of characters would it match?
Hello there,
I'm working with a page that has several links that contain the same href text, and I need to select the second anchor element on the page that contains said href text. Here's a simplified version of the link structure of the page:
<a href="same/link/to/stuff/">same link</a>
<a href="same/link/to/stuff/">same…
For example, you send an unsubscribe message to a legitimate company or a spam, they reply that they will remove you and it may take up to 72 hours to take effect. I find it hard to believe anything that simple could take more than 3/4 of a second to take effect system wide.
Another example would be when you call the visa activation line,…
I've php page which update Mysql Db. I don't understand why my following php code is saying that "Could not update marker. No database selected". Strange!! can you please tell me why it's showing error message.
Thanks.
Php code:
<?php
// database settings
$db_username = 'root';
$db_password = '';
$db_name = 'parkool';
$db_host =…
Why would somebody use an expression like
var obj = {};
if(!!obj) alert('exists');
instead of just
if(obj) alert('exists');
?
Is there another usage for the "!!" thing ?
Hello all,
I have a function that looks somewhat like this:
function(domObj) {
var currentObj = $(domObj);
...
currentObj.contents().find(".ws").after("foobar");
}
My problem is that the above method of using .contents().find() is not working. "foobar" never gets stuffed after the specified dom element, represented by the…
Suppose I have a datetime column in MySQL.
How do I select all that have a datetime within 2500 seconds of the current datetime?
SELECT ALL where current_datetime - that_datetime < 2500 ...
Suppose I have a dictionary, and it's nested with dictionaries inside.
I want to join all the values of that dictionary, recursively?
' '.join(d.values())
That works if there are no nests.
Hi Folks,
Trying to debug something that basically .trim()'s, .val()'s and .length's a textarea input as HTML below (truncated):
<form id="Kontaktanfrage" method="post" action="tests/testform/">
...
<textarea cols="50" rows="8" id="el_12" name="FORM[Kontaktanfrage][el_12]" title="Ihre Nachricht: *" class="textarea…
I want to grab all the inputs inside a form, in order to submit them.
The point of this is to use jquery's ajax to submit a dynamically sized form.
Surely there must be an array inside the dom somewhere which i can just do something like...
docment.forms['form'].elements
which only lists inputs for that form, meaning I…
In Django, I have a model object in a list.
[object, object, object]
Each object has ".name" which is the title of the thing.
How do I sort alphabetically by this title?
This doesn't work:
catlist.sort(key=lambda x.name: x.name.lower())
My current project requires me to fill an array based upon some other values. I know there's the shortcut:
int arr[4][4] = { {0,0,0,0} , {0,0,0,0} , {0,0,0,0} , {0,0,0,0} };
But in this case, I need to fill the array after its declaration. I currently have my code formatted like this:
int arr[4][4];…
Suppose I have 500 rows of data, each with a paragraph of text (like this paragraph). That's it.I want to do a search that is not only based on words. (%LIKE%, not FULL_TEXT)
What would be faster?
SELECT * FROM ...WHERE LIKE "%query%"; This would put load on the database server.
Select all. Then, go…
I have 2 divs...each are float left, and each have a "width".
When I resize my browser, the right div goes down to the bottom of the left div. Why? I'd like it so that during resize, it stays there.
I do this:
script/generate controller home index
And it says: "existing... " and a lot of stuff.
THen I go to mydomain.com:3000/home/index
But it says: sorry, something went wrong!
Why?
class HomeController < ApplicationController
def index
end
end
i have tables
profiles (id, name, deleted)
categories (id, name, deleted)
profiles_categories (id, profile_id, category_id, , deleted)
I have wrong query
SELECT p.id, p.name CONCAT_WS(', ', c.name) AS keywords_categories
FROM profiles p
LEFT JOIN profiles_categories pc ON p.id = pc.profile_id
LEFT…
This is a follow-up to my previous question. I've simplified things as much as I could, and it still doesn't work! Although the good thing I got around using getGraphics().
A detailed explanation on what goes wrong here is massively appreciated. My suspicion is that something's wrong with the the way…
How do I use JQuery to get number from the drop down select?
<select aria-invalid="false" id="RatePercent" class="wpcf7-form-control wpcf7-select ratePercent" name="RatePercent">
<option value="">---</option>
<option value="Floating-6.5%">Floating-6.5%</option>
…