text
stringlengths 83
79.5k
|
---|
H: How can I make this integration with Facebook for comments in the botton of my web page?
How is this done? Maybe with PHP or JavaScript?
AI: One solution is to use this Facebook plugin: https://developers.facebook.com/docs/reference/plugins/comments/ |
H: YouTube comment search
Everybody says that there is a comment search on YouTube, but I do not see any. I mean that I get this
when go to the http://www.youtube.com/comment_search. Do proponents of this URL check it before recommending to others?
I would be especially happy with something http://data.stackexchange.com - like, where you can query in SQL.
AI: YouTube has retired their comment search feature (used to be accessible at http://www.youtube.com/comment_search). |
H: Difference between "Mute conversation" and "Turn off chat for x"? - Facebook
Suppose I'm chatting with Pitter.
What is the difference between "Mute conversation" and "Turn off chat for Pitter" on Facebook?
AI: "Turn off chat for Pitter" means that the chat will not show up in any of your chat interfaces, unless you explicitly open it in one - the conversation will use an "email" like interface where available instead of a "chat like" one.
"Mute conversation" means that you will not be notified of any new messages in it through any interface |
H: Netflix forced language localisation
A friend of mine who went on an exchange to Denmark asked me for help, because sometimes he just wants to see movies in Spanish, or at least with the subtitles in Spanish. But he said that every movie he sees has the subtitles in Danish and he cannot change the language.
Is there any way to ask Netflix to change the language, or at least to trick it to believe he is in a Spanish speaking country?
As you know, using proxies would be unacceptably slow.
Is there a video-ready hide-my-ip software out there?
Is there any other faster way to do this?
AI: Has he tried VPN like hide my ass: http://vpnverge.com/truths-about-hidemyass/ or DNS service like smartyDNS? |
H: How can I add a SVG to my Tumblr post?
I have a svg image say something like this: http://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg
How can I embed an image like this within my Tumblr post?
AI: Enable HTML input mode: https://www.tumblr.com/settings → "Edit posts using": plain text/HTML (Using other input methods (rich text editor, Markdown) may work too, but I don’t know/use them.)
Then use the HTML img element, e.g. in a text post:
<img src="http://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg" alt="SVG" />
The value of the alt attribute (currently "SVG") should contain an alternative description of the image content, used for example by visually impaired visitors or search engines.
For additional information, usually presented in a tooltip, you can use the title attribute:
<img src="http://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg" alt="SVG" title="SVG logo" /> |
H: IF statement in Google spreadsheet
I am trying to sum up the total of all values in a coloumn that are POSITIVE. Also, I have some subtotals in the coloumn that should be left out from this sum.
=SUMIF(E6:E65 ; ">0" ) - SUM(FILTER(E6:E65;E6:E65>0;not(ISERROR(SEARCH("subtotal";C6:C65)))))
I can easily do a SUMIF to find only positive values. But Google Sheets doesn't have a SUMIFS command to let me sum those that are positive AND not with the subtotal string in the neighbour cell.
That's why I used the above. I sum all the positives and then subtract all positives that also have the subtotal string in the neighbour cell. The FILTER only let's those values through that are fullfilling both requirements.
This works fine mostly.
But I get an error (I get #N/A) when there are no subtotals with a positive number. In that case the SUM(FILTER... part of course doesn't give me a value, since it never summed anything. In that case, how can I make some kind of an if-statement, so I only make this subtraction, if what I subtract is in fact a number?
AI: What you need is:
=ARRAYFORMULA( SUM( IF( ISERROR( SEARCH("subtotal", C6:C65)), IF(E6:E65 >=0, E6:E65, 0 ), 0)))
To break down the logic:
ARRAYFORMULA (SUM(
is the equivalent of doing:
= IF( ISERROR( SEARCH("subtotal", C6)), IF(E6 >=0, E6, 0 ), 0)
for each line, then summing the total. Note that you use a range reference (eg C6:C65) instead of a single cell reference (eg C6) when using ARRAYFORMULA.
Next it checks if subtotal is not in the (semi-) adjacent cell (otherwise it returns 0):
IF( ISERROR( SEARCH("subtotal", C6))
If "subtotal" is not in the adjacent cell, next check if the value is positive
IF(E6 >=0
If value is positive return the value, otherwise return 0. |
H: Why does this misspelled Google search return more hits than a correctly spelled one?
When I search for "law and human behavior" (with quote marks) on Google, I get only 106,000 hits. When I search for "law and human behaviour" (again, with quote marks) I get 25,200,000 hits.
I don't have any prejudices about the American vs English spelling, but the journal is really called "law and human behavior" (see http://www.springer.com/psychology/psychology+%26+law/journal/10979). Furthermore, a search for the word "behavior" returns about twice as many hits as a search for the word "behaviour".
AI: Perhaps because people are using more English than American spellcheckers and simply accept the correction from “behavior” to “behaviour” (even if the name of the journal is called "law and human behavior")...
If you are searching for a phrase included in quotes, Google results are related to the combination of the words, independently from the hits of the single words contained in it. |
H: Google Spreadsheets: IF not working
I have problems with my IF command in Google Sheets. If gives #ERROR! all the time. See this simple test:
Not even if I put in the number directly and avoid references:
Am I using the IF wrong? Or what could such a problem be? This example is from a new document.
AI: I noticed that you are in Denmark.
Do you by chance write one and a half as 1,5 rather than 1.5?
If so, you need to use semi-colons rather than commas. Try:
=IF(3>1;1;0)
It's a locale issue as answered here |
H: How to search results from certain language in Google?
As of today, I find that Google has changed its interface for filtering searched results to be from a certain language (such as Chinese). I can't find a way to do that. Can you please help?
AI: Open the settings menu by clicking the "Gear" icon (upper right). Choose "Languages".
Beneath the setting for the Google products language interface is a heading for "Currently showing search results in:" with your current language and an "Edit" link.
Click the "Edit" link. You should now see a long list of languages. Check the checkboxes against the languages you want to see results from, uncheck those you don't. |
H: Searching in a collection of sites in Google
Using Google Reader, I was able to search for a collection of sites. But, with Google Reader closed I have moved to Feedly. Google Reader had a nice option of searching through the subscribed feeds, which comes with the paid version of Feedly.
I remember using using a Google feature to restrict the Google search to a bunch/collection of sites, but could not recall the same. Could someone let me know the Google feature or anything similar to it?
AI: You are probably thinking of Google Custom Search Engine.
Google Custom Search enables you to create a search engine for your website, your blog, or a collection of websites. You can configure your search engine to search both web pages and images. You can fine-tune the ranking, customize the look and feel of the search results, and invite your friends or trusted users to help you build your custom search engine. ...
There are two main use cases for Custom Search - you can create a search engine that searches only the contents of one website (site search), or you can create one that focuses on a particular topic from multiple sites. You can use your expertise about a subject to tell Custom Search which websites to search, prioritize, or ignore. Because you know your users well, you can tailor the search engine to their interests.
I use a CSE for several hundred blogs that cover a particular topic of interest and it works great. |
H: How to set a default video quality on all YouTube videos?
I have a fair internet connection speed and every time I play a video from YouTube it defaults to 144p although my connection could support 360p without buffering. I have to manually switch to 360p each time I play a new video. I use Iceweasel on Debian.
Is there any known workaround to solve this problem, like changing some browser configurations? Any suggestions will be appreciated.
PS: I would like to set the quality static, so that YouTube may not switch qualities while I watch videos, preferably 360p.
AI: There is a userscript, YouTube Auto Buffer & Auto HD, for the Firefox/Iceweasel extension Greasemonkey that (among other things) allows you to override YouTube's default quality setting. |
H: Verification by SMS in country with long code? (Germany)
I enabled two factor authentication with a German number. And since then I'm
locked out of my account: verification SMS never arrive
After setting up two factor authentication, I made a quick test, and it didn't
work. As I still had the settings page open, I created the screen shot below
(phone number edited out). Then I closed that page and hoped for the best. Now
I'm locked out for more than a week, and no reply from Twitter customer
support.
I then read about short and long codes. In certain countries, one can send
SMS to a short code, e.g. 40404, and the message get's posted to one's
timeline. Also one can receive tweets to the phone by SMS. In Germany, a short
code is not available, only a long code, +491724403473. Here, receiving
tweets by SMS from Twitter does not work. That makes me to wonder:
Could it be that Twitter does not send verification SMS in countries with long
codes? Could that be the reason why I'm locked out?
By the way, using the long code, I can still post to my timeline, although
there were issues in setting that up by SMS, and my password got posted.
Update
Twitter in the end answered my original support request, which I sent on
2013-09-25 CEST, i.e. prior to posting this question on Stack Exchange.
Their reply:
Thank you for contacting us about login verification!
It looks like you are using a one-way long code or an unsupported carrier to
add your phone to Twitter. By one-way we mean you can post Tweets to Twitter,
however you will not receive anything from us (read more about it here -
https://support.twitter.com/articles/87284-tweeting-with-an-unsupported-carrier).
This means that you are unable to receive login verification text messages
from Twitter at this time.
Since I have confirmed you as the owner of this account, I have updated your
settings to disable SMS login verification. You should now be able to log in
to your account as before.
Please note that Twitter for iOS or Android users should still be able to
enroll in login verification from within the Twitter app. You can read more
about this feature here:
https://support.twitter.com/articles/20170388-using-login-verification#login-verification-for-ios-android
My request (phone number and URL edited out):
AI: It is indeed true that Twitter can't send SMS in countries with a long code. Looks like there's an oversight in this system so that it's allowing SMS verification to be used even though it should require confirmation via incoming SMS.
Twitter provides instructions at https://support.twitter.com/articles/20170409, but unfortunately those aren't of much use. I recommend you contact Twitter support via https://support.twitter.com/forms/sms and tell them about your case. They should be able to remove SMS verification for you. Please do read the first automatic reply carefully, as they sometimes require you to reply to it for the case to actually be opened for examination. |
H: Sum a column except current cell
Is it possible to sum all values in a column EXCEPT the value in the current cell? That is, the cell that is to hold the result.
With a normal SUM(E:E) command the result is #REF! with a Circular dependency detected error.
Can I in some way leave out the current cell from such a sum command?
AI: With a normal formula it is not possible. A custom function doesn't works as well (pure JavaScript). Therefore I wrote this little script to act as a work-around.
Code
// global
var ss = SpreadsheetApp.getActiveSpreadsheet();
function onOpen() {
var menu = [{name: "Complete Range", functionName: "sumColumn"}];
ss.addMenu("Sum", menu);
}
function sumColumn() {
var activeRange = ss.getActiveRange();
var fontColors = activeRange.getFontColors();
var data = activeRange.getValues(), sum = 0, indexText = 0;
for(var i=0, iLen=data.length; i<iLen; i++) {
if(typeof data[i][0] == "number") {
fontColors[i][0] = "general-black";
sum += data[i][0];
} else {
if(data[i][0] == "#REF!") {
fontColors[i][0] = "red";
indexText = i;
}
}
}
data[indexText][0] = sum;
activeRange.setFontColors(fontColors).setValues(data);
}
Explained
The script will create a new menu entry called Sum when the file opens. Add either the SUM function (with complete column range to force a circular dependency) or the word #REF! into the cell you want the total sum to appear in and select a column range or the range that needs to be summed up:
Select from the menu the (only) option Complete Range. From this part on, the script is quite straightforward. It will sum the numbers and will store the index when it hits the #REF!. The rest will be ignored. After that, the text entry will be replaced by the total sum and the lot (data) is added to the active range.
Example
I've created an example file for you: Sum with Circular Dependency
Remarks
In order to determine the sum, I've colored the total sum in red. If you want to do it all over again, just type somewhere (once) the word #REF!.
Add the script by selecting Tools>Script editor. Save/initiate the script by pressing the "bug" button. This will trigger the authentication process of the script, because it needs to gain access to the Spreadsheet. |
H: Why does Google blur out the name on this street sign?
I was searching StreetView in the UK for a particular road sign but when I got to the location I saw this:
Why has Google blurred out the street name, but only one part of the street name?
Other views haven't blurred out the name, but in those the sign is either further away or more edge on.
I can't be for privacy reasons - after all knowing where you are is the point of Street View.
AI: Google Maps: Street View: Privacy and Security (UK version)
Individuals and license plates are blurred
We have developed cutting-edge face and license plate blurring technology that is applied to all Street View images. This means that if one of our images contains an identifiable face (for example that of a passer-by on the sidewalk) or an identifiable license plate, our technology will automatically blur it out, meaning that the individual or the vehicle cannot be identified. If our algorithms missed something, you can easily let us know.
I bet that it's a false-positive for a license plate. You could always use the "Report a problem" link at the bottom of the page.
(For what it's worth, it's blurred for me here in the U.S.)
From the Google Maps support forum:
All faces, licenses plates, etc. are blurred to protect privacy. Sometimes false images such as the sign you discovered gets picked up and blurred.
This is an automated process and is not reversible. |
H: Google spreadsheets—sum cells from another row based on a cell value
My current code is:
(SUM(INDIRECT(ADDRESS(ROW()-(I4:I- 1);COLUMN()-4;4)&":"&ADDRESS(ROW();COLUMN()-4;4)))*( ( J4:J ) / 10 ))))
I want to sum cells from Gx – Gy but range is determed by cell I4. My existing code works, but only for one line.
=ArrayFormula( if( J4:J = "" ; "" ;
So if I put ArrayFormula in front, the calculation is shown only where the data is, but the result is always equal to the result of first row.
Can anyone help me?
You can view my sheet here.
AI: With the magic of matrix multiplication and this solution (credit where credit is due), I have managed to wrangle it to do what you want.
=ArrayFormula(IF( J4:J = "" ; "" ; MMULT((ROW(G4:G)>=TRANSPOSE(ROW(G3:G)))*((ROW(G4:G)+1-I4:I)<=TRANSPOSE(ROW(G3:G)));G3:G)* ( ( J4:J ) / 10 ) ))
My head hurts already, so I won't go into too much explanatory detail, except to say that the key magic happens in
="MMULT((ROW(Range1)>=TRANSPOSE(ROW(Range2)))*((ROW(Range1)+1-I4:I)<=TRANSPOSE(ROW(Range2)));Range2)))"
And I've added a second sheet to your public one with a rough equation builder, for understanding or alternative applications. |
H: Cell reference with colour formatting
Is it possible to reference a cell in Google Sheets so that cell where it gets displayed also displays it using the same text and cell colour formatting?
=A1
Will only reference cell's value. But if that particular cell has red background and white text I'd like that to be copied as well.
I'm leaning toward existing formula solutions rather than scripts. If applicable of course.
AI: For Google Spreadsheets, it is possible by writing a script:
function copyValuesAndFormatting() {
var sheet = SpreadsheetApp.getActiveSpreadsheet();
var fromRange = sheet.getRange("A2:A");
var toRange = sheet.getRange("B2:B");
var values = fromRange.getValues();
var fontColors = fromRange.getFontColors();
var backgrounds = fromRange.getBackgrounds();
var fonts = fromRange.getFontFamilies();
var fontWeights = fromRange.getFontWeights();
var fontStyles = fromRange.getFontStyles();
toRange.setBackgrounds(backgrounds);
toRange.setFontColors(fontColors);
toRange.setValues(values);
toRange.setFontFamilies(fonts);
toRange.setFontWeights(fontWeights);
toRange.setFontStyles(fontStyles);
}
Add a trigger for the script function, so that it runs on every spreadsheet modification.
I have created a sample spreadsheet here. Feel free to copy it to your own account, and start experimenting with it. |
H: Can I create a new Paypal account if I have completely no access to the old one?
I need advice: many years ago I created a PayPal account using an email address in the @activist.cc domain.
According to a fellow user here of Super User, the @activist.cc domain used to be owned by www.CommunityMail.net, an ecologist wannabe email provider. But, seems to me that this free email service was disconnected and CommunityMail.net just vanished in the air along with my precious mail. So, I cannot gain access to my PayPal account because, if I choose the "Password forgotten" link, they send a new password to my @activist.cc email address.
Complicating matters, I have also lost my old phone number due. Now I have a new phone number, but, obviously, it is useless for me in recovering my PayPal account, because, they will try to verify my account trough my old and now invalid phone number.
So, as you can see, I am stuck. My sole solution would be, maybe, to try to contact PayPal customer service and try to verify my account trough my physical address and snail mail, which did not change since the creation of my PayPal account. Even so, I remember that the postal codes are changed now and they are different from the postal code it was used at the time when I have created the account.
But, this last solution could last too long and they might consider it unsure from the security point of view. In that case, could I create a whole new PayPal account using my current data?
I know that PayPal doesn't allow this, and that is why I have delayed taking any measure in this direction till now. But now I cannot delay this any more. I want to restart my activity as freelancer and I desperately need an active PayPal account in order to be paid by my partners and employers. And I cannot present in front of them with such lousy excuses as this one related to PayPal. After all, I pretend to be a good PC user. If I cannot solve my PayPal account problem I might look unprofessional, although I am just the victim of certain unfortunate circumstances.
But, beyond my pride is my need. I just need a PayPal account, and I am willing to create a new one if I can, but I must know if this is a safe thing to do and I will not have any bad surprises in the future.
AI: I think your best course of action is to call them. Here's what their web page says -- note the phone number in the upper right for calling from outside the U.S.: |
H: Is there a way to search for images with transparent background using Google Image Search?
How can I search for an image with transparent background using Google Image Search?
AI: Yes, Google Image search now allows you to filter results by colors, including transparent colors.
Click on Search Tools → Colors → Transparent |
H: Google Apps Calendar Admins can see all user calendars regardless of privacy settings. Workarounds?
I just accidentally found out that as a Google Apps "super admin", I can see all of my users' calendars and their details regardless of the privacy settings on those calendars or events. Here's Google's support page saying exactly this:
https://support.google.com/a/answer/1084780?hl=en
While I somewhat get this, I'm surprised that there is no way for admins to self-censor. I'd like to be able to see my co-workers free/busy schedule without infringing on their privacy.
The only workaround I could think of is to create a separate admin account, but this has 2 issues: a waste of a user license, and the pain of logging into a different account.
Does anyone else have even a semi-decent way to handle this?
AI: If you are specifically concerned about personal events, we handle it with personal Gmail accounts.
For example, John Doe has a GAPPS account john.doe@example.com and a personal account john.doe@gmail.com. From the john.doe@gmail.com, he shares his calendar with full access and manage sharing. When logged in at work, personal events are saved into the john.doe@gmail.com calendar. Work events are saved into the john.doe@example.com calendar.
The result is personal events are not automatically shared with admins. If a user leaves the company, they take their personal calendar with them.
Also, they can share their personal calendar with an admin person on a free-busy basis. |
H: How to disable Gmail read receipt nagging?
I have some coworkers and customers that send all of their e-mails with read receipts requested. Whenever I view one of these emails in Gmail and then try to leave, it asks me if I want to send a read receipt or not. I always click "No", but even if I view that message at a later date (such as trying to find an old email on a particular topic), Gmail will continue to nag me about sending read receipts.
Is there any way to tell Gmail that I never, ever, under any circumstance, never want to send a read receipt? This drives me absolutely insane. I must spend several hours over the course of the year just dismissing read receipt dialogs.
AI: I found a solution for Chrome:
Read Receipt Decliner
I just installed it and it works well. Still, I'm interested to hear if Gmail has an actual setting for this or not. |
H: Prevent people from downloading / copying / making a copy of data in Google doc
Is there a way to share a Google Document in view-only mode with someone but prevent them from downloading it, copying and pasting the data, printing it, or going to File > Make a copy?
I understand that if they really wanted to they could also take a screen shot and then OCR the image, but that's a little bit more technical, so I'm not sorry worried about people doing that.
AI: Just added: Disable downloading, printing, and copying of any Google Drive file
From Google Support
If you don’t want your file to be widely shared, you can disable the option to download, print, or copy it. When someone with view or comment permissions opens the file, these options will be disabled.
(h/t Lifehacker) |
H: How do I make my presentation widescreen in Google Drive?
Google Drive just announced that they now support Widescreen formats and it is now default. However how do you change existing projects settings?
AI: Simply select Slide --> Change Theme and change the resolution in the bottom right. |
H: To which timezone does the "date" in Gmail refer?
I use Gmail for my email. I do not understand to which point in time the "date" of an email in Gmail refers: is this the local time when/where I received the email, or is it the local time when/from where the mail has been sent?
Is the "date" of an email, as shown by Gmail, local time of the sender or receiver?
Is it from the moment where it has been sent or received?
AI: Gmail shows you the time when a message was sent, based on your local time zone. So the time
shown is your local time, not the sender's local time when the message
was sent |
H: Can't create an email alias in new Google Apps
Our Google Apps has been updated to the new interface and I can't find where to create an alias for a user. The help says to click User then on the user's name and then scroll down to the "add alias". I don't see the "add alias" at all. What am I missing? My address has an alias because I set it way back when before the interface changed. I have the grandfathered free version. Do I need to upgrade? I guess I can create a group email with one user but that only works for receiving email.
AI: It seems to work fine for me as described in this link - https://support.google.com/a/answer/182527
Click on profile and user profile appears on right and you have option to add alias there. |
H: Remove a Google Docs opened in editor
I can remove or open the files when they are listed in Google Drive. However, I am not sure that this is the file that I want to remove. I, therefore open it in document editor. Now, I see that I really want to remove it.
But, how do I do that?
If I go back to Google Drive then I am not sure that the "Untiteled document" is the same I just opened and wanted to delete. I therefore open it again and see that I want to delete it. But, I do not see the delete option in the document editor. I therefore close the editor and see "untitle document" in the Google Drive file list. But, I am not sure that this is the file that I want to delete. I therefore open it. In the file editor I see that this is the file that I want to delete. But, I see no option to delete it in the editor. I therefore go back to Google Drive.
How do I stop this hell?
AI: Re-name the document. You should re-name it as "Delete 1" or something similar. That's your first problem. Afterwards you can find the document and delete it. |
H: Google forms script to delete responses counter
I have tried and combined a few pieces of script to delete rows, but this does not reset the counter. Help resetting responses using script would be appreciated.
My copy sheet function, and delete all rows function works, but the counter remains, showing 58 responses.
I use the triggers to set the copy and delete functions to occur daily, without the requirement to manually delete responses. (sheet url excluding the "docs.google.com..." 0AvTM4SfinH2NdGp1MHdzWms2QnpUMnFiMHJXd1dlV1E&usp) This is what I have so far:
function CopySheet() {
var sh = SpreadsheetApp.getActiveSpreadsheet();
var ss = sh.getSheets()[0];// here I chose to always get the first sheet in the spreadsheet
var inputRange = ss.getRange(1,1,ss.getLastRow(),7);
var data = inputRange.getValues();
var newData = [];
newData.push(['Timestamp','Full Name?','Email?','RAG']);
for(var n=1;n<data.length;++n){ // skip headers by starting at 1
for(var c=0;c<7;c=c+3){
var row = [];
if(c==0){row.push(data[n][0]) ; c++}else{row.push('')};
row.push(data[n][c])
row.push(data[n][c+1]);
row.push(data[n][c+1+1]);//Keep adding a new row and +1 for each extra column
newData.push(row);
}
}
//This next bit creates a copy of the sheet. I would rather a spreadsheet copy but could only get document copy to work
sh.insertSheet().getRange(1,1,newData.length,newData[0].length).setValues(newData);
var doc = DocumentApp.create('Responses document'); // create document
var file = DocsList.getFileById(doc.getId());
file.removeFromFolder(DocsList.getRootFolder());
file.addToFolder(DocsList.getFolder("Folder 1"));
var table = doc.getBody().appendTable(newData); // create table in a separate process so I can set the style below
var style = {};
style[DocumentApp.Attribute.HORIZONTAL_ALIGNMENT] = DocumentApp.HorizontalAlignment.CENTER; // this one has no effect
style[DocumentApp.Attribute.FONT_FAMILY] = DocumentApp.FontFamily.ARIAL;
style[DocumentApp.Attribute.FONT_SIZE] = 10;
style[DocumentApp.Attribute.FOREGROUND_COLOR] = '#0000ff';
style[DocumentApp.Attribute.BORDER_COLOR] = '#dddddd' ;
table.setAttributes(style);
}
//This section deletes the sheet, leaving the headers; "function deleteAllResponses()" at the bottom should reset counter but does not work
function DeleteSheet() {
SpreadsheetApp.flush();
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheets()[0];
var datarange = sheet.getDataRange();
var lastrow = datarange.getLastRow();
var values = datarange.getValues();// get all data in a 2D array
for (i=lastrow;i>=2;i--) {
var tempdate = values[i-1][2];// arrays are 0 indexed so row1 = values[0] and col3 = [2], If I add more columns I need to up this number
{
sheet.deleteRow(i);
function deleteAllResponses() {
}
}
}
}
AI: I asked the same question on Stackoverflow and got this answer which means I don't have to physically enter the id Answer to this question
Answer from wchiquito:
/* CODE FOR DEMONSTRATION PURPOSES */
function deleteAllResponses() {
var form, urlForm = SpreadsheetApp.getActiveSpreadsheet().getFormUrl();
if (urlForm) {
form = FormApp.openByUrl(urlForm);
if (form) form.deleteAllResponses();
}
}
Thank you both for answering my question |
H: Making all cells in a column links from the values within the cell?
I have a column of cells in a Google Spreadsheet with values such as:
512
2123
2342
3532
What I would like to do is convert all these into a hyperlink and keep the value as the link text:
http://www.example.com/id/{value}
...where {value} is the value of the cell. I know the format of a hyperlink in a Google spreadsheet but I don't want to do this manually every time I put in a number. I want a simple process that when I add a new row the contents of this column is turned into a link with the value I input.
I tried this:
=HYPERLINK(CONCATENATE("http://www.example.com/id/",A1);A1)
But I get:
error: Circular dependency detected
AI: I wasn't able to reproduce your results. As a matter of fact, it worked perfectly.
What you tried to do is most probably the following:
In A1 you typed in =HYPERLINK(CONCATENATE("http://www.example.com/id/",A1);A1) and this yields an error of coarse.
Update
If you really want to get the result in A1, then you need to use a script.
Code
// global
var ss = SpreadsheetApp.getActiveSpreadsheet();
function onOpen() {
var menu = [{name: "create URL", functionName: "createURL"}];
ss.addMenu("URL", menu);
}
function onEdit(e) {
var activeRange = e.source.getActiveRange();
if(activeRange.getColumn() == 1) {
if(e.value != "") {
activeRange.setValue('=HYPERLINK("http://www.example.com/id/'+e.value+'","'+e.value+'")');
}
}
}
function createURL() {
var aCell = ss.getActiveCell(), value = aCell.getValue();
aCell.setValue('=HYPERLINK("http://www.example.com/id/'+value+'","'+value+'")');
}
Explained:
The e.value will retrieve the cells value (only applicable a cell). The setValue() will add the concatenated string into the getActiveRange(). All is only executed when e.value contains something and the active range is in column A.
I've created an extra menu option as well, to be able access the script this way.
Example:
I've created an example file for you: onEdit URL builder
Add this script via Tools>Script editor, into the script editor. Press the "bug" button and you can use the script. |
H: How to view next page of Gmail?
I must be blind, but I can't figure out how to view the next page of "Everything Else" mails in Gmail.
How can I view 11-20, and so on?
AI: On the far right of the header section, at the opposite of "Everything Else" will be an item count. It will show something similar to:
1-50 of 8580
You can click on that to then bring up a new view which will give you Previous and Next buttons for you to paginate through the rest of your email messages.
You may also notice a down arrow next to that count, which allows you to "Show more messages" and even how many messages to show at a time on screen. |
H: Disable HTML5 on YouTube without account?
YouTube seems to be defaulting to HTML5 for me (using Chrome), such as this video. I'm unable to login to YouTube ("You are not eligible to create an account." on “Sign In”), so how can I turn off HTML5 as a guest?
I tried &html5=false in the address bar and it didn't help. The reason I need this is because YouTube is not really buffering the video for me in HTML5.
AI: Install the YouTube Center user script and go to Youtube. You get a settings button now in the upper right corner. Click it to open the settings, switch to Player and select your preferred player.
Disable Dash Playback if buffering still doesn’t work. |
H: Facebook reverts back to Top Stories even after changing to Most Recent
I am aware of the question Facebook home page post display changed and its answers, however, I think this issue is slightly different. Facebook either brought back this feature or its more integrated into the UI now.
I prefer to have "Most Recent" selected, so I can linearly go through the timeline and see what my friends have posted. On the mobile version of FB, I can set it as Recent, and it never reverts back to "Top Stories". However, on the main website when I'm accessing it from my laptop, the setting seems to revert back constantly. I realize that this is part of their marketing to keep me on the site looking at "Top Stories", but I'm wondering why it sticks on the mobile version, then.
Is there a setting to permanently select "Most Recent" for posts that's buried in the settings somewhere?
AI: Just bookmark this facebook link
http://facebook.com/?sk=h_chr
Other than this I don't think there is a better way. There were browser plugins that did this but they don't work now. |
H: Prevent Yahoo! to ask me again about changing the theme
After the latest design changes (Metro style) when going to Y!Mail page, Yahoo asks me two things:
to upgrade change my browser (I click "Continue without upgrading"):
to personalize my inbox with a theme:
Even if I select my favorite theme and click the Keep theme button, every time Yahoo! asks me these questions again and again! It also forgets my selected theme.
Did anyone find a solution to this problem? How can I fix it?
AI: These settings are stored server-side, so it’s probably just a glitch/bug. Try setting the theme from a different browser/computer. |
H: Create a function for an entire column in Google Spreadsheets
I'd like to set a function for an entire column in Google Spreadsheets, and I'd like for that function to get applied whenever I add new rows to the spreadsheet.
I know that I can set a function for a cell in that column, and then drag the cell's handle down through the entire column to autofill the function into the other cells. However, that process is slow for spreadsheets with many rows, and it's error-prone to need to remember to do it every time I add new rows.
Is there a way to just say "the function for column X is Y, please assign the function to any new cells in X"?
AI: You can use ARRAYFORMULA to do this. Then you reference the column as eg B1:B ( note that there is no row number for the second part).
So if you want every cell in column A to be double of column B, you would put this in cell A1...
= ARRAYFORMULA (B1:B * 2)
You might want to throw in an if statement to check for non numeric values as well. |
H: Google Sheets says “spreadsheet too large” when it isn’t
I have an XLSX spreadsheet. It has 68251 rows and 94637 cells, and it's on-disk size is 1510842 bytes. When I try to upload it, Google claims that it exceeds the 400,000 cell limit.
The cell count here is the number of non-empty cells. The spreadsheet is created with Apache POI by a Java program. Some of the rows just have a sentence (of Korean) in the first column.
Some have a single word of Korean. Some have nothing at all, and are just there for visual whitespace.
Why does Google Sheets reject my spreadsheet?
AI: Blank cells count towards the limit if they are within the range of non blank cells. The calculation is done by multiplying the number of the last row with data by the number of the last column with data
for example:
+----+---+---+---+
| | A | B | C |
+----+---+---+---+
| 1 | x | | |
| 2 | | | |
| 3 | | | |
| 4 | | x | |
| 5 | x | | |
| 6 | | | x |
| 7 | x | | |
| 8 | | | |
| 9 | | | |
| 10 | x | | |
+----+---+---+---+
Although there are a lot of blank cells, and no more than once cell filled per row, the total cells calculation is 10 x 3 = 30
It is possible that non-visible characters are present in your spreadsheet (especially as your sheet was generated rather than manually created).
In a case such as the one below (if there is a space in the cell D4), there is no visual indicator of the final row.
+---+---+---+---+---+
| | A | B | C | D |
+---+---+---+---+---+
| 1 | x | | | |
| 2 | x | | | |
| 3 | | x | | |
| 4 | | | | |
+---+---+---+---+---+
To find out for sure what your 'end' cell is, put the focus on A1, then use Ctrl+Shift+End and the focus will move to the cell that is in the final row and the final column.
To remove any unwanted cells, select the first unwanted column, press Ctrl+Shift+Right arrow, then right-click and choose delete. Do a similar procedure to delete unwanted rows. |
H: How to see inbox status across multiple Gmail accounts at a glance?
I have several Gmail accounts I use regularly (for personal and different businesses). I love how in the Gmail iPhone app I can see how many unread inbox emails I have in each account at a glance in the main screen with an icon and unread inbox email badge counter for each account. I miss being able to do so when I'm on the web. Changing between each account just to check whether I have new mail is, comparatively speaking, slow and unreliable. So -- any way to get a similar at-a-glance view across multiple accounts on the web?
Note the accounts include personal Gmail and multiple Google Apps for Business accounts.
AI: Here are three possible approaches:
With addons
If you want to there are some browser addons that will sign into multiple accounts and give notice of new emails. There are also some applications you can run directly on your pc/mac that will do similar.
No addons
For a pure solution (no extra addons/apps):
If you use Chrome you can set up different users now in Settings. Once you have two or more users, each of them can be signed into Gmail. Each user has her own window, with different histories, cookies, accounts etc.
In each Gmail account, you will want to set up the Unread message icon feature (see Settings > Labs). You can then minimise all the other windows and the icons will update in your taskbar (if you have a taskbar). I have used this to manage three or four accounts that I needed to access regularly.
Use mobile site on desktop
Another handy trick is to login to m.gmail.com as it's much faster loading than the main site. |
H: Do I need to create a specific user account per domain alias?
My question here is about domain aliases and how it is managed in Google Apps.
My Google Apps account is set with the domain domain.fr
I have my account user@domain.fr.
If a create a domain.com alias, do I need to create a user@domain.com account (and pay for it), or will all the emails sent to user@domain.com be automaticly redirected to my user@domain.fr account?
AI: From the google support page:
If you have a domain alias for your primary domain, every user and group with an email address in the primary domain (user@primary.com) automatically has an email alias address in the alias domain (user@domainalias.com).
You don't need to create a new user or a new alias, and all emails will be redirected to the associated user's inbox. As it is an email alias there is no cost. |
H: Create "part dynamic" MailChimp campaign
Is it possible to create a mail campaign which would be consisting of two parts? I mean I'd like to create a mailing of this kind:
Some hand-edited content.
Additional data fetched from a specific site—preferably by restAPI but I can also prepare some RSS for that if needed.
AI: I've found some kind of solution to this problem. It is possible to add some content from RSS feed in regular html campaign using some called merga tags (look for Feed merge tags in text) so if you are able to prepare a custom rss feed on your site the job is quite simple. |
H: Google Drive: share a folder which is not in the root
Is there a way for sharing a folder on Google Drive without having it in the root of Google Drive?
If not possible:
Do you know a sharing system with a decent free size, that allows this option?
The other way around, is it possible to exclude sub-folders from the sharing?
N.B. For sharing I mean uploading it online, not necessarily sharing with other people.
AI: If you're asking how to have a folder synchronized without having the location of the folder within your Google Drive folder, you can do so with Symlinks. The program mentioned in that article, Link Shell Extension, is a great way to do this if you're either uncomfortable with the command line, or if you're doing most of your folder operations in explorer. |
H: How to view a comment I made on a post with tons of comments?
Let's say I commented on a picture, among let's say 1 million other comments. If you try to press "View more comments" it will load 50 at a time. As you can imagine, it could take many hours to find the original comment within the post in this manner.
I can go to my activity log and click on the comment from there, but when I click on it, I'm taken to the post but I still have to scroll to find the comment. If someone happens to reply to my comment, I can click on that Facebook notification and it takes me to that post and automatically scrolls down to my comment. But if no one replied, I wouldn't have that ability.
How can I find a comment I made on such a post without scrolling through for hours?
AI: You could find your comment by using binary search and changing the url manually:
Start by getting the time of your comment from the activity log. Then go to the post and press on the time-and-date-text below one of the comments. The URL you go to should look something like this:
https://www.facebook.com/{page}/posts/{postID}?comment_id={comment_id}&offset=0&total_comments=1000000
You are looking the offset for your comment, you know it should be between 0 (lower bound) and the number of comments (upper bound, In this case 1 000 000).
Offset 0 means the newest post and 1000000 is the oldest post (in this case).
Let L denote the lower bound of offset, U denote the upper bound and M half way between L and U. (M = (L + U)/2)
Remove the comment_id from the URL and change the offset to M. The URL should look like this
https://www.facebook.com/{page}/posts/{postID}?offset=M&total_comments=1000000
Look at the time on the comment there and compare it to the time of your post.
If your post is older, then the offset is to low. Let U = M and calculate a new M.
If your post is newer, then the offset is to high. Let L = M and calculate a new M.
If your post is from almost the same time, just press "Show more" until you find
yours.
Go to step 4 and repeat until you found your comment.
This should give you the your comment within log2(1000000)=17 iterations, so even though it is complicated, you should find the comment a lot faster.
To find your comment (even) faster you could use the time difference to guess something between L and U other then M.
Optional:
Let t_L denote the time difference (e.g. in minutes) between post L and post U, and t_Y denote the time difference between your post and post U. Then the following formula for M should find your post in very few iterations (1, 2, 3 depending on how evenly the comments are spread):
M = (U - L) / t_L - L
But it probably won't save you much time because it is complicated to calculate the time difference in minutes.
If there is not a million comments you could probably skip the binary search and just guess from the time difference between the first comment, the last comment and your comment instead. |
H: How to find the oldest email in Gmail
Just what the title says, how do I find the oldest email in Gmail? I know ho to find the oldest email from a specific person, but I’m interested in finding the oldest email, regardless of the sender or the label/folder it resides in at the moment. How can I do this without manually going through each label?
AI: All Mail includes all the mail.
Click on the All Mail button on the side bar.
Right next to the < > buttons you should see a link 1-100 of xx,xxx → click on the link.
The drop down should give you two choices: newest and oldest; select oldest.
You should now be on the last page.
Note: if the All Mail label isn't on the sidebar, it can be added via: Gear → Setting → Labels → show. |
H: Custom maps in Google Maps / Google Map Maker
I want to make a custom Google Map to show someone points of interest in an area. Ideally, I’d like to drop pins on the points of interest and then add notes and images (which I’ve taken) to these pins.
Is this possible with Google Maps / Google Map Maker? I’m aware you can make a map, but these seem to be for public consumption. Ideally, I’d like it to be private—unlisted / view only with the link. Also, I couldn’t see a way to annotate / add images to these maps.
AI: With the new Google Maps Engine you can do everything you want.
There is a tutorial that takes you through the basics of setting up your own map, but it does miss mentioning that in the information field of a pin you can add <img> tags.
You will still have to host those images somewhere else.
All maps are private by default, you have to share them in the same way as you do on Google Drive. |
H: IF function in Google Spreadsheets displays Parse error, what is wrong?
What is wrong with this code?
= IF (F3+E3+D3 > 0, F3+E3+D3, 0)
I want the cell to contain the sum only if it is positive. If it is negative I want zero to be there.
Google Spreadsheet gives me error: Parse error.
AI: Have you tried to use ";" instead of "," ? |
H: How can I change the language in my LinkedIn profile?
My default language on the LinkedIn website is Italian and I have compiled my job profile in both Italian and English versions. How can I set the default profile to English for the visitors?
Currently, it is not so easy to read my English profile when visiting my page because it is necessary to search a little menu for it.
AI: Have a look at this FAQ entry
Currently, there's no way to change the default language of your profile once you've set it up in a particular language. Many people who speak multiple languages choose to create a secondary profile for each language. Viewers will see your profile in the language most relevant to them. All language profiles will show up in search engine results on and off LinkedIn and can be accessed directly with a unique URL.
You could also close your account and re-open one in your preferred language. We don't recommend this option, because you'll lose all of the connections and recommendations associated with the closed account
So you can't change it. |
H: How to access the "Videos uploaded by" playlist in someone's channel?
I was searching for a video and I ended up following this URL: http://www.youtube.com/playlist?list=UUmKurapML4BF9Bjtj4RbvXw which seems to be an automatically generated playlist out of all the videos from those (awesome) guys' channels. So I was trying to access the very same playlist from their YouTube channel, but I couldn't find the link.
What's the way to access such playlist?
AI: Go to the user's profile page on YouTube: https://www.youtube.com/user/<username>/
Hover over/tap on Recent Videos and a Play button should appear: |
H: How to undo “close issue” action on GitHub
On GitHub, I closed an issue by error. Where "by error" means that I closed it because I pressed the wrong button and not because I though that the issue was fixed.
I know it is possible to reopen the issue but I would like to undo the close command in such a way that it is removed from the history. Is it possible?
AI: This is not possible.
The Close and Re-open status of an issue will just remain part of its history.
Accidents happen. So do reviews which necessitate reopening an issue. Do not worry about it. It happens. |
H: Repeating functions inside “if”
I was creating a spreadsheet the other day and I stumbled across the following "problem".
I wanted to test the result of a function against a value and if that was true, display the result of the function, otherwise display a default value.
What I started doing is:
=if(function()="X",function(),"default value")
( function() being a generic name for any function)
But I thought, this way I'm adding extra load to my sheet by running this function twice. I tried looking online for a way to do the same thing by running the function only once but I couldn't find anything (or more like couldn't find the right keywords to do so).
Is there anyway to get around this?
AI: You probably won't be adding load, as the function results are cached. That is, a function call with a specific set of parameters will always return the same result.
If you still want to avoid calling your function several times, you could store the result of your inner function in a cell, and reference it:
A B
1 =if(B1 = 'X', B1, "default value") =function() |
H: Why am I getting an "Authorization needed" error in my dummy web app?
I'm trying to write a Google Apps Script web app, which will, eventually, populate a spreadsheet. However, I'm having a hard time getting started.
I have an HTML file:
<div>
<select name="player1"></select>
<input type="number" name="score1"/>
<select name="player2"></select>
<input type="number" name="score2"/>
</div>
and a script file:
function doGet() {
return HtmlService.createTemplateFromFile('myHtmlFile.html').evaluate();
}
I have published it as a web app (Publish -> Distribute as web app -> Update), and set the app to run as myself, with only myself allowed to access it.
After that, clicked the link to "test your newest code".
However, this link gives me nothing but the message "Authorization is necessary to perform this action" (translated).
How can I perform this authorization, and why is it necessary (as I'm running the app as myself, with access only to myself)?
AI: Found the solution here: https://stackoverflow.com/questions/11421055/how-do-i-stop-the-error-authorisation-is-required-to-perform-that-action-in-goo
It is also mentioned in the official documentation: https://developers.google.com/apps-script/troubleshooting#common_errors
In short:
In the Script editor, run the doGet function from the dropdown menu
An authorization popup shows
Grant access
Re-run the app from the "latest code" link, and you should not get the authorization error |
H: Adding gists to Tumblr posts
I'm having difficulty embedding gists in my Tumblr posts. I want to add a tutorial on solving a problem and I want to include source code of the algorithm in my post with syntax highlighting.
I tried to include the embed code of the gist in the HTML of the post, but it didn't work. Can anyone tell me how to do this?
AI: Embed a Gist on Tumblr
There are two ways:
Dirty / Quick:
When creating a post, click HTML and then add in the following line:
<script src="https://GISTURLHERE.js"></script>
This will then include the Gist. The concern with this is the Tumblr parser could remove the inline script tag.
Clean / Slower
Use the following lib: https://github.com/blairvanderhoof/gist-embed
This will embed the gist, after reading the URL from the data-attr. The code block should be unaffected by Tumblrs parser.
There are alternatives to this solution, but afaik the basics for most are the same.
Take a URL (to your gist) and then create a script tag pointed to that URL. Once the script has loaded, the gist will be rendered.
Hope that helps. |
H: Post code snippet on Google group via email
I like to compose my posts in Gmail. It keeps the draft safe. Now I want to write a post for a Google group but I am not sure how to format code in my post such that it is rendered as code on Google group.
Any suggestions? I am writing my mail in plain-text mode.
AI: Google Groups do not support any board tag. Therefore there exists no way to format a code snippet by adding tags. The best you can do is change the font, e.g. the first message of https://groups.google.com/forum/#!topic/julia-users/EIlGr-VoIzA |
H: Undo unfollow people in Facebook
I have seen a post in Facebook, I clicked on Hide > Change what update you get from UserXXX > Unfollow
Now I want to undo this and see again the post of UserXXX in my Wall.
I have tried to google for it but I can't find a solution.
Any help?
AI: https://www.facebook.com/help/335291769884272/:
To unhide stories from people, Pages or app at a later time:
From your home page, hover over News Feed in the left sidebar menu.
Click the pencil icon that appears to the left and select Edit Settings.
A list of people, apps, Pages and groups you’ve hidden or unfollowed from will appear in a pop-up window. Click X next to each one you'd like to remove from this list. Removing someone or something from your list of hidden stories means those stories can appear in your News Feed again.
Click Save. |
H: How to search/filter emails in Gmail according to recipients
I know this tutorial: https://support.google.com/mail/answer/7190
But when I use the TO: operator (TO:myemail@myemail.com), I get also emails where is used myemail@myemail.com for CC or BCC.
AI: The TO:myemail@myemail.com will return all messages sent to myemail@myemail.com, including those where myemail@myemail.com is CCed (or BCCed in case you send the e-mail, since you can see the BCC).
Use TO:myemail@myemail.com -CC:myemail@myemail.com -BCC:myemail@myemail.com instead. (the 'not' function is represented by a minus -)
Parenthesis are only required when you want to search for two or more email addresses for that operator, i.e., TO:(myemail@myemail.com OR myotheremail@email.com) |
H: How to calculate the next Monday after a given date?
I am looking for a formula that can look at a cell value that contains a date and return the first Monday to occur after that date.
Examples (MM/dd/yyyy format):
10/22/2013 (Tuesday) would return 10/28/2013 (Monday)
10/28/2013 (Monday) would return 10/28/2013 (Monday)
AI: Let B2 the cell containing the date.
=IF(WEEKDAY(B2)=2, B2, IF(WEEKDAY(B2)=1,B2+1, B2+9-WEEKDAY(B2)))
or
=IF(WEEKDAY(B2,3)=0, B2, B2+7-WEEKDAY(B2,3)) |
H: Gmail Filter - Give Label To A List Of Incoming And Outgoing Emails Containing Email Address From A Certain List Of Email Addresses
I've a list of email addresses (let's give it a name Cool Email Addresses for understanding purpose)
Email A
Email B
Email C
The emails I've sent and received should be given a label Label XYZ if the email sent or received contains one or more than one email addresses from the list Cool Email Addresses.
How can I create a filter like this?
AI: You can create a new filter in Gmail and put this query in the "Has the words" field:
(to:(emailA@example.com OR emailB@example.com OR emailC@example.com))
OR (from:(emailA@example.com OR emailB@example.com OR emailC@example.com)) |
H: Allow Public Likes But Not Comments?
I've create an account on Facebook which is going to be used primarily for marketing a non-profit that I work with. The account is basically a character I'll be playing. (Two accounts, actually, interacting with one another.) But I'm not entirely sure how to set the privacy settings correctly, or if the settings I'm looking for are even possible.
Currently posts are viewable by everyone, which is exactly what I want. (Since I don't expect people to "friend" these accounts.) However, when viewing the posts/comments as non-friends there are no options to "like" or "comment."
The latter is good, I don't want anybody to comment on these posts. But is there a way to allow anybody ("everyone" or "public" in Facebook terms) to "like" the posts/comments? I've gone into the privacy settings and selected that "Public" can "View your future posts" and that "Everyone" can "See what others post on your timeline." This is what made the posts public. But is there a way to also allow people to "like" these posts?
AI: There is, at least currently, no way to do this in Facebook.
If you want to get likes, you need to also deal with the interaction. |
H: Does the new Outlook.com have other calendars?
Google Calendar has an option of adding ready-made calendars like certain holidays for country/religion. I wonder if there is something similar for the Outlook.com calendar. I really want to add my holidays.
AI: I found a helpful link on a microsoft help page which directs how to do it, and link with a list of holiday calendars available |
H: How to keep small images on Google Drive from counting against my storage limit?
It appears Google has recently changed it so that everyone gets up to 15GB of storage divided between GMail and all the other apps such as Google Drive, but images below a certain size (800x800 pixels if you don't have Google+) are mentioned as not counting below your storage limit. However I uploaded a bunch of 500x500 images as a test and they are definitely counting against the limit. A bit of further research suggests pictures uploaded by Google Drive are counted, although I couldn't find why this is since the same images when uploaded by Picasa Web are not and they are both going to Google.
I also have read that Google Drive images can be shared with Google+, although there is no mention of whether or not or how the small image exclusion works there either. But it also seems to be suggested that Google+ pictures up to 2048x2048 are also not counted against the limit, so I'm confused about how this works if you send the pictures for Google+ via Google Drive.
At the moment I only have Google Drive - the desktop client - I do not have Google+ or Picasa. That's the way I would like to keep it unless it's absolutely necessary to have one of the others in order to get unlimited small image uploads via Google Drive. Do I simply need to sign up for Google+, and then small images uploaded via Drive automatically stop counting against my storage limit, or do I have to add the step to share them with Google+, or do I have to actually use something outside of Google Drive to upload them, meaning I don't have the easy of seeing the pictures on my desktop and have to go through the web interface?
Update: Ok, it appears that Picasa Web has been transitioning to Google Photos which is really Google+ Photos, although I still only see my pictures in Picasa Web as I haven't "upgraded" to Google+.
AI: According to a Google rep I talked to, the answer to this question is, "you can't". Any images in Google+ that don't count against your storage limit will as soon as Google Drive can see them. |
H: Is it possible to only shuffle a few specific stations on Pandora?
I have a plethora of different types of stations on my Pandora and wanted to only shuffle a few of them together when I listen. Is there a way to do this?
AI: In the web interface you can do this by selecting "Shuffle", then underneath select the little arrow in the yellow box next to "Shuffle All" (or possible "Shuffle <genre>"). Then select "My Shuffle".
Once you've done this, all your stations should have a checkbox next to them. Simply check or uncheck the ones you do or don't want as part of your mix. |
H: In Google Docs, is it possible to view the code that runs when you click on an action?
In Google Docs, you can click on the menu items and then choose an action. For example, you can click on the "Format" menu item, then click "Align" > "Left" to align text left. Is there a way to see what code runs when you do that?
AI: Load the page in Chrome
Choose Tools->Developer Tools to bring up the developer pane. (This is a whole tutorial in itself, but I will tell you how to do the specific thing you want).
Right click on the body element in the Elements tab and choose "Break -> on subtree modification". This is just a guess, but its a good place to start. I'm guessing Google will modify the DOM when you click things. Now when you move the mouse around, your breakpoint might fire prematurely for what you are looking at. Just hit F8 to continue.
Hit the {} button at the bottom when it breaks to make the google optimized javascript code "pretty print" or display in a more readable form.
Now, basically, its up to you to figure out what you want to do and where you want to go. You need to familiarize yourself with developer tools to really have the full power you need to do what you want probably, but that's a whole book. |
H: How do I add a caption to an image in Google Documents?
When inserting an image into a Google Document, text can be made to wrap around the image by clicking on it and choosing the "Wrap Text" option. How can I also add a caption to the image, with text still wrapped around the image and caption?
AI: As of October 25, 2013, Google Documents does not support text wrapping around tables, so inserting a table and putting an image and a caption in it will work but cannot be made to have text wrapped around it.
One workaround is that since text can wrap around images, we can choose Insert > Drawing... and create a drawing with the text we want to caption the image with. The resulting drawing can be changed to have text wrapped around it, and can then be placed beneath the image we inserted.
Here is a short gif showing the process: |
H: Are there analytics for YouTube videos by URL source?
I want to know how many people played video from any URL.
Are there some ways to get analytics for YouTube?
AI: If it's your video, go to Analytics > View reports > Playback locations > Embedded player on other websites: |
H: Google reverse image search in a specific site
I want to use Google (or any other good option) to search for a specific image inside a specific site.
I go to http://images.google.com/
Click on that small camera icon
Paste the image URL
Now I see a list of sites where Google found that image in.
(click here to see my results page)
Now here's my problem:
I want Google to limit this search to a specific site (say "cnn.com" for example).
I tried using "insite:cnn.com" operator, but that doesn't seem to work when searching by image.
AI: The operator is actually site:. You can add it to the search line after uploading your image. |
H: How to do a Google Spreadsheet equivalent to SQL's JOIN and SUM( )?
I have this table:
| A | B |
|---------|-----|
| grocery | $10 |
| clothes | $40 |
| grocery | $19 |
etc.
So I'd like to have a column with an aggregation of the categories like grocery and clothes with the total expenses, what in SQL would be a JOIN with the aggregate function SUM()
How can I achieve this?
AI: This is what I think you're looking for:
Formula
=QUERY(DATA!B1:C3;"SELECT B, SUM(C) GROUP BY B label B 'Type', SUM(C) 'Sum'")
Explained
Column C is aggregated by column B through a summation. Labels are added.
In this particular case, the usage of JOIN in an SQL statement isn't applicable, since the aggregation is done on one table.
Screenshots
Data:
Result
Example
I've created an example file for you: Sum Aggregate |
H: 500 Internal Server Error on YouTube
I went to some channel on YouTube today and I found this error:
500 Internal Server Error
Sorry, something went wrong.
A team of highly trained monkeys has been dispatched to deal with this situation.
If you see them, show them this information:
T1hQ00IlOu6HEJIHFmF2IURDaz8DZkMPyk3G-ERtRIvuLdpamarzVNdBIpwh
lQj65SUNULlDhqVLGr6kza4z_nqGO_prIH7S6qmzkhNZyCcZmT84SYlQwJ0p
_iU9U-78rFPYJ837QcPGp2MaROxNwt7TGcAHcDJBPbusblOqpA0ls6y9m5xO
MS8llK53u0rUpnmbrz7-PdMiV1fkZYMTl3-niFIRAMM9FkI6zwhpTehM9pkT
Zzb_TuEF0bRkFyU0GALNM_vdePNg4_j9XUI5w8QmepK4WvpMGrqgKlOHsGdw
V9qJPtvWuube2lrp_5TTfe485vMlW-hui8sXcDiEYUcsbS8yt0-64ZyT3Yab
vvum6lQL0WNtihWzMWrRUZrX2SnSCzU1o5OMty-XdhkuIkby8m9fdhBX1nDs
X01H_5UkMInylI62O-qXMBy_W5mH9Htsq04p-1jV4IaZBCFvy6yHYN85Cs5_
gvE92PTCv6dsFkYqLMtm7Q-5Tzx3B00fPKUYep0i08ARUsgsNqPNFKxobLpm
1-uGs6uPndT-wK9pNdDVPaiavCk4Zy_EBsNS9tTOgB7opVNor1gvwm_KMnaz
jjdkxZB4vP3QgOL67au0kULhoQRpZ7DO_E0WL3Amy3r5fA3BqqWqWmFS65A9
BVXKr3vKj4JXiysUscypgaJGBN9M2cQ99nYKXohJ0wJv2K7cmhK6kHPjft07
P5IiE_TA8iUeaCNHB9a068-pgEb7PsZtk5FYhJv2IueLCmlwHUjvsWTAO6UM
SbGRaufDWAxIRyDnytiEVoxu8nSwJYMMSdaXxPGZ-ElF1n0xtlJIMldKRraa
NlgBSXtGUb0kER-6We_vUj1IdLYIjVtlLykKlOvPxA7lzmTKr9R4FiRgfjjw
y646VgznWNcLq8oGlFBdTMikd3ayexJSWgQJ6j3zyPsegHnwp-ibvnOGOZgB
X4wFZgdhyTyVWcywOHK16iil9_Xhf6m3C-1R476c2uUFZIdDr7jAfzwyIfz7
guund2L5N-Xdbwrd_ZyWWEVBGIy6iIsBoZiYeu8a2hRbc2YTNquOQ4WzRr6f
jJn1bXQwnkGbp1NX60nKZYDprTR4qq7hVa2ZzXgsPRDQfaz3df_VHpCrg86Q
9bvlpsk-B77lriUyU0Ivhrn7o5OzNZAWfLUqeO480tu5VCMK3GOXDdIQ5g6N
NoxiGd0QPQ1LI7VGBYLhS0sL7rs0LxODBdOt8AjiYNTxZEhI9eSuJJIIObyk
OMwy5Oot0dvFHJQSnZ43D6f6ygLhO9WNteeQiJP1C1MLSRfcJk8oFODbFKaN
Kti1dRZA5mnrkUJAG3FiEAhKoitMAoFlimr6MdyZERqH7HIZrTVRauJ7GJ3Q
QoG77Djxf3fyGVJDvmy-bTJ3oU-spOZgb_xLtPG7TzMpdDVWdND7-EA1NzLe
TIAUtQQKHnxZBXH6Dki54x2x-XGZmsq565NM42OPBABsyR4twQBllXD-Mij5
JIZBDQiiz1BCIPGc48TnM0aSR5GnwbJktY6WsV7wOzJE3YJ8HKIOFcoPGDLG
KW4374fIoFkukvJ5elY4PD8fWY1Ek6kw0-Cs-TBIAtWG47RxobGoqLR7JeVK
y5OaId4Ze7B86uYjRulNUJe-y0N5UhFiPS3Rhfr8mgOc5Y58YHVruZlCnrbU
jto7vKdaXl9-qImsUmI_sfamTaFJV7qz62MBajpZVOrTccRPKfJG5vAPv-0B
puX8-yy6HjYl7kKCRH3ka7STeuoOmEz4Ow4H_E8Cj3kuiIPN1XKcv2JXcH5M
nPb15ijdusseNuSxVf1AjlpQVpO02wc_x6t3wLxPKyua1NgIRGpm3LfYLHEt
uTlOayR58EQFkzNBzkxi_bqUgK2MQKQUJS6BMY_-wdfuFRHjGct5W0lD7Gm3
BZIcY_GXdwYLJ0hr2S1Ezmg5-w4TpG8n8VZny7uJ359Gt55ZQSkqfR9qdJRP
6gTEVmbQYqiEpU8qgyNy_6wPqmHUGdM4ZUSNBRxIQ84gCB3raf7s5aac72BV
Q8KZfj71Ri0YDjG2RFabbY5WPAn5Weari3vgl0IO8XIoxdDNwEvWmnIFuK_f
Z4mdM3C_dN_QbTZj8Wk0yaTYgL1_1xgg9-nTpTxlNbNgh5SUaDnbxQNnPaV3
hmFhg_vC-8_Ncv2RrKTyWd9N1FK8RJ1w9KMFXlbOV5yJ6-556AusiJauQPAZ
1c89TlLSblEheeNGAFDGTECVhIxcoVMiy-j4iwPuSy71wII42O313J-c6Ecp
YLDQkAePhaLf3MMWPZt5b_FbppvgCH1fqBKaApBAHwAbGvT6pBPMfvwBsCnw
Esj6c_rsCmfWKVqrudnbi07Au2h84z11Hzug1fRDWKFLp0wOjAKGGiIfsubB
QXqzOEgZFsNe9NNNk6rLFGuYn9qZuYZS2HmiJZQHP0M9gE9S4IhySxzJ8SZz
h0tCHczv6xaqJn4KjafD-XlV0J035gQ940sXxJo6nGi48R4TVFww4FVCHjNm
m2EVwbwTE1iuinC_n8feNfdERuXWY5sWGjb6rOPdBFsBocnSq92hAVR3BBLN
kGG0fKSSSphP-omOuqC4ZNq24FiGyo9TLZk2-At-SQn44zuNSdTpZE2iwsPn
QYEoOj-ktCkjtuexnSUfvp-OVnO3HbtDOSN1M0dsp8FXJTfpGmj5IW1lECHt
3lOWDrn5qByhWVdZHu1Gtj2zZhGfZ86VAJX6FROhXuF4ihWwnz8YiAg2P9wM
ZdgX7MDRyzHtw8xNfeMG1Oo85IAAv2VBdVYFe_jMIP-MPmiLjGJ3vVbWDWh3
SN2XT9qDifV34GzTefKuRL86ZzTxf20Z0ZnORzkDSQB28EnMgpB54EXa6XhC
AUx42Rl777i5O7n3VRo1QfgFsVpu_mLlggLvcxogrgzRvI4mx5je_suidWp3
69CokIHAdvzqJcdRY9YLem8MIFTaTfAIlf9Ldp4_1Ue3i8LwNmEFFWcjiQPF
ZIJxy41KD6iD1VxsvzkLev90Ac08GsO9abt1gRuTsmclS_dGKCVQ3N2c648L
sslnpFTl6XTt7d7-5Jl5uU-Gu9dIZrRxid3rBqtgIB7gAXg2u7KwY8j48dl1
UeQpSiqUT8xaFnVSvHnEKWcdcpQZNVDzWN4wDREeDeihCOIpA9pvhezqw-rs
kbFhLx4ZyJBzTxvtcLHupkt51Paspiq_Qtct0f8NCz8oSJlzorBg3CXuF3zp
MyxtHN0hEWZH--jWeEV4xmCUIphk0SOIIuTE0Ge7tBwp-AzzoJLGLgBCCTQx
vlHIj6C033DQ2r-XtcofT73dLWWa9_gUrmPDw7MhA8X2uoL0TWJv9tBdtMjZ
opxbCm9W9mzJWX0k_W6hlsb5fIJNcwI7SNITGdVfjt9e0QKBlRPnLxwcMvUv
dQpZG2w_noL8L-T28mVzPNjO7PNSXxIc7W4RdQp7uZo2b-30HYTqvLZAey3z
3_iq6TCQVnoWZ7U2F_9jeQYrpBGjQusnHyM3xcaPtJZrSGTjms_cayhc7C8S
KzV6MjcLK5eqs3IwuU3OTAdisVejE4gvmDDiXImISvg1MV1BioBmW1tA_Fwd
kdNYu4eDF145Jh8kfL1d-adepWXLX7vOY_-wt_2F102Ey_yU321JzD37O3fA
m2QiBpbFgfm0HyZ_zjIYJEgF0NFWS_ql0cX0Xdd9KhZhGxyHvtUgcq6AAUCZ
C5dTS46lK6oeL_calb0-Zjk2q__1qMaArUWmo7CmaRUHmcRIN4prpfAhdGC8
JmnzoyIVZsFK1eTHMMPfzGatWZ-odIhScZR8OjssODs6H6931waTmw9azHqz
MwcwmF2d15MHiLMHpJEZ6Ve7JRCQ81VfaEL1MkRObZBu_lWEC_YwTtDpaZfD
x6ktT3fgk0lTilt0PJ5irrKS7zhZKafnASuhgFmsptEoqRZHLElnqKlJOVna
8Vl9Q9-slTR6GxKDhA1jhD2OEoAF_g==
Indeed, it's a 500 error. I googled it and seems to be a joke, but I'm curious about the information that is displayed. What does it mean?
AI: http://www.cambus.net/decoding-youtube-http-error-500-message/:
The information is encoded in modified base64 for URL applications
(base64url encoding), which differs from original base64 by the fact
that the padding character ‘=’ is dismissed and the ‘+’ and ‘/’
characters gets respectively replaced by ‘-’ and ‘_’ characters.
However, as underlined in the comments, the base64 data is very likely encrypted:
The base64 data is very likely encrypted, and only Google, Inc. has the decryption key. It's useful to them if you send the base64 junk, but you can't get any details about their server through that error.
and:
gzip -9 increases the size ever so slightly. Lends more credence to it being encrypted. |
H: Is it possible to follow a post in Facebook without commenting or liking?
Is it possible to follow a post, or more specifically the discussion on the post, in Facebook without liking it or commenting on it?
By following, I mean receiving notifications about any added comments on the post. Not sure if it's the right term.
Commenting does seem to set a discussion as followed, and currently I think this can be cancelled for a single discussion from the notification list via the "turn off..." [x] extra menu on a notification related to that post. (Not 100% sure about this.)
Of course with Facebook what's possible today might change tomorrow without notice (which I do consider a good thing), and also during feature releases what's true for one user might not hold for another.
AI: Click the options arrow in the top-right corner of the post and then choose “Follow”: |
H: How to uninstall an app from Gmail
Is it possible to uninstall an app that uses Google? I want something like the app settings in Facebook where you can edit or remove an app that you have previously installed:
So in Facebook all I have to do is to click the x button in there to uninstall the app.
How is this done in Google?
AI: I believe you're asking how to revoke permissions to applications that use your Google authentication details.
To do this, click on "Manage Apps" in the "Connected Apps & Sites" of your Google "My Account".
Once there click on "Remove" to the websites you wish to revoke. |
H: Get YEAR() and MONTH() from a string like "September 2013" in Google spreadsheet
I have a sheet with column A listing the month of the year in human readable format e.g. "December 2013", and column B listing a calculated value of bills issued in that month (from another sheet).
I would like to make the B value use the A value for the date comparisons in a formula by extracting the month and year. But "December 2013" isn't a date... so how can I get a date/year value from this cell to compare against a proper date listed in another cell?
e.g I currently have a formula like:
=sum( filter('Invoices Issued'!J:J ; YEAR('Invoices Issued'!K:K) = 2013 ))
And I would like to replace "2013" with something like YEAR(A4).
Can I do this?
AI: The following formula will help you filter the dates.
Formula
=FILTER(sourceArray, arrayCondition_1,..., arrayCondition_30)
=SUM(FILTER(B2:B, RIGHT(A2:A, 4)="2012", LEFT(A2:A,LEN(A2:A)-5)="february"))
Explained
The first arrayCondition_1 retrieves the year, having 4 digits, taken from the RIGHT. The second arrayCondition_2 retrieves the month (text), based on the total length of the string minus 5 (digits year plus white space). The sourceArray in filtered accordingly and the result is summed up.
Screenshot
Example
I've created an example file for you: FILTER DATE AS TEXT |
H: GitHub in other languages
I came across this post on the GitHub blog: GitHub in your language, but I can't seem to find the option to use the GitHub website in another language. The links in the blog post that append a GET parameter to the URL seem to do nothing apart from that, and the post refers to links in the footer which I can't find.
Does anyone know how I can get a localized version of GitHub? It seems strange that such a widely used application isn't localized.
AI: Thanks to the Internet Archive Wayback Machine, this is what the footer used to look like when they had the translation options circa late 2010:
A redesign or two since then has removed the footer, and that the URL parameters have no effect, it's looking like that feature has been quietly deprecated from the GitHub web interface.
Also, you can't load SSL pages via Google Translate or Bing Translate, so using those to filter the page in a non-English language will unfortunately not work.
Unless there is another service that will translate SSL delivered pages (all of github.com is served over SSL), you can't live render a local translation of github.com to read. |
H: Is it possible to search for some keywords inside LinkedIn groups?
Is it possible to search for some keywords inside LinkedIn groups even if I have not joined them?
This may be simple, but I did not find a solution; I can only find group names.
AI: It is possible by using the Advanced search. There you can write some keywords and the related Groups to look. But it is possible only for Groups that you have joined. I'm not aware if there are more possibilities for "Pro" accounts. |
H: Vimperator is not compatible with Firefox 18.0
Today I find that Vimperator (3.8) is not compatible with Firefox 18.0.
This makes me really upset. I've tried other add-ons like VimFx but I think Vimperator is the best.
Do you have any solutions other than changing the Firefox 18 back to Firefox 17?
AI: The minimum compatible Firefox version to work with Vimperator 3.8 is Firefox v20, as you can see from its own install.rdf manifest. So you will have to either update Firefox or if this isn't possible for some reason, find an older version of Vimperator. |
H: How to convert USD to NIS in Google Spreadsheets?
I need a function that converts American Dollars to New Israeli Shekels in a Google Spreadsheet. Is there such a function, or a viable workaround?
AI: The NIS (New Israeli Shekel) is not an international accepted currency, but the ILS (Israeli new shekel) is. Therefore you need to use the following formula
Formula
=GoogleFinance("CURRENCY:USDILS")
Screenshot
References
http://en.wikipedia.org/wiki/ISO_4217
http://en.wikipedia.org/wiki/Israeli_new_shekel |
H: Count the number of non-blanks that have unique value in other column
I have a large spreadsheet of customer data. I've set up a sample spreadsheet with some simple fake data. You can view the sample data (with edit privileges).
I need a formula to be able to count the number of companies that have been contacted. So it needs to count the non-blank cells in column E, but take into account if there are multiple contacts at the same company, evident by having the same value in column A.
In this sample data the formula would give a value of 4, as there are 6 non-blank cells in column E, but A6, A7 and A8 have the same value and should only count as 1.
AI: I was able to create two options:
Formula 1
=COUNTUNIQUE(FILTER(A2:A11,E2:E11<>""))
or
=COUNTA(UNIQUE(FILTER(A2:A11,E2:E11<>"")))
Formula 2
=COUNTA(QUERY(A2:E11, "SELECT COUNT(E) WHERE E<>'' GROUP BY A label COUNT(E) '' "))
Explained
The first two formulas are identical. They filter column A, where column E has entries. Afterwhich column A is filtered for unique names. These names are than counted. The COUNTUNIQUE function combines the COUNTA and UNIQUE.
The second formula will count the number of occurrences per unique business name having an entry (<> '' and group by). The result is counted. Remove the COUNTA function to see the intermediate result.
Example
See you're own example file for the results !! |
H: Google Spreadsheet: Count values from last 30 days
Here is a sample spreadsheet you can view and edit: https://docs.google.com/spreadsheet/ccc?key=0AnWwBCPp8kISdGc4bExyYV8xOTVRbnRkaXNQSzBWalE&usp=sharing.
How can I count the number of successes that have occurred in the past 7 or 30 days?
AI: This is how I would do that.
Formula 1
1. COUNT(value_1)
2. FILTER(sourceArray, arrayCondition_1, arrayCondition_2, arrayCondition_3)
3. DATEVALUE(text)
4. TEXT(number, format)
=COUNT(
FILTER( == value_1
A2:A14, == sourceArray
A2:A14 <> "", == arrayCondition_1
A2:A14 >= == arrayCondition_2
DATEVALUE( == text
TEXT(
NOW()-30, == number
"MM/dd/yyyy" == format
)
)
B2:B14 = "Success" == arrayCondition_3
)
)
Explained
The sourceArray is filtered by the first arrayCondition_1 by means of having an entry ("<>" = not equal and "" = an empty string). The second arrayCondition_2 will subtract, from the current date (without time), 30 days. This is compared to the sourceArray. The third arrayCondition_3 will filter column B for instances where it matches the word "Success". The COUNT function uses value_1 to count the instances and it will ignore #N/A (COUNTA doesn !!).
Formula 2
1. IFERROR(test, value)
2. QUERY(data, query, headers)
3. TEXT(number, format)
=IFERROR(
QUERY( == test
A2:B14, == data
"SELECT COUNT(A) == begin of query
WHERE
A IS NOT NULL AND
B = 'Success' AND
A >= date '" &
TEXT(
NOW()-30, == number
"yyyy-MM-dd" == format
) & "' == end of query
LABEL COUNT(A) '' " == headers
),
"No successes" == value
)
Explained
The QUERY function is build, almost the same as the FILTER function in formula 1. The data is the same as the arraySource. The beginning of the query starts with a SELECT statement, which is related to SQL, followed by COUNT(A). The count is performed on column A, when column A contains something (IS NOT NULL) AND column B must match the string Success AND the dates from column A are greater equal (>=) to the current date minus 30 days:
Pay close attention to how the date is being prepared: Language Elements, Literals
Use the keyword date followed by a string literal in the format
yyyy-MM-dd. Example: date "2008-03-18".
The TEXT function offers the possibility to format the date, as described above.
The header part starts with LABEL and calls for COUNT(A), which is column A. The replacement text of the header must be an empty string (''). You need to do that, because otherwise the header is included (as count). If the test of the IFERROR function yields an error (#N/A), then it must display the value No successes.
Remark
The first formula fooled me the first time, when I used the COUNTA function. This gives a count of 1 if there are no matches (@Nick5a1: thanks !!). Therefore I created the second formula, that ultimately lead to a revised first formula !!
Both formulae are quite logical to build. The catchy part for the first is to get rid of the time notation when you use NOW() and (very important) to use the COUNT function.
For the second formula you need to really understand how the QUERY function works, but allows for a better error handling.
Ultimately I would chose for the second formula.
Example
See example file you created yourself. |
H: How to set permissions for all collaborators in a protected range, or set default permissions?
I find the "protect range" function in Google Spreadsheets very useful, but I have one problem: I often need to set all of the collaborators' permissions to, for example, "Can comment."
It is very tedious to set them manually all at once, so is there any way to set all of the permissions to "Can comment"?
Or, is there any way to change the default permissions for a protected range?
AI: I have created an AutoHotKey script for this, since there doesn't seem to be any way.
To use it, double click the first contributor in the lists's permission selector thing, and then just press right Ctrl. Every time you press right Ctrl, the next contributor's permissions will become "Can comment." After it reaches the last one, simply press Enter to close the dialog (or right Ctrl works too). Press right Win to end the script.
#NoEnv
RCtrl::
SendInput {Down}{Down}{Enter}{Tab}
Return
RWin::ExitApp |
H: What does Google mean by "recently released apps"?
Google lets users browse recently released apps via
https://play.google.com/store/apps/collection/topselling_new_free
How does Google define recently released? Does that actually mean recently updated apps?
AI: I suspect that it's a marketing term and is purposely not defined. In fact, there's probably no defined date cutoff at all; it's probably the latest X number of apps sorted by most recent release date (that also meet some other criteria).
We also can't know if the list is manually manipulated.
So, I think the only people who can answer this work at Google, and they're not telling. |
H: Does IFTTT work with Google Hangouts?
The IFTTT site has a GTalk channel.
Is that the same as Hangouts?
In the GMail web page, we only have Hangouts, not chat.
AI: No, it's not the same as Hangouts. Gtalk is more or less replaced by Hangouts. The IFTTT channel was quite limited in any case, but it won't work with Hangouts at all. |
H: How do I create background image in Google docs
How do I create an image behind text in Google docs (the text editor part)?
AI: The answer is to insert the background image and text as a drawing (insert > drawing).
The drawing tools allow ordering of layers unlike the normal editor. |
H: Citing a Wikipedia article
Is there an automatic way to create an academic citation or a BibTeX record from a Wikipedia article? (Similar to the "cite" link in StackExchange.)
AI: In the sidebar, under Tools, is a link to Cite this page. Click this link. (You can also get there by going to http://en.wikipedia.org/w/index.php?title=Special%3ACite and entering the name of the page you want.)
Under the warning about using tertiary sources in your academic papers and a general disclaimer that it is a community-edited resource is a set of citations. Currently, the supported formats are:
APA Style
MLA Style
MHRA Style
Chicago Style
CBE/CSE Style
Bluebook: Harvard JOLT Style
AMA Style
BibTeX entry (both with and without the use of LaTeX package url)
Wiki style (for use on Wikipedia talk pages)
When you click the link it specifically references the most recent revision of the article. If you want to cite an earlier version you'll need to go to the article's history. |
H: What is the correct syntax for the IF function?
I'm trying to make a cell output "Some words" if the number cell in B10 in a page named "Page" is greater than or equal to 3. If not, it should output "Some other words".
I tried =IF("'PAGE'!B10≤3", "Some Words", "Some other words"), but I got an error saying it's not a number. How do I make this work?
AI: Remove the quotation marks in/around your expression:
=IF(PAGE!B10 <= 3, "Some words", "Some other words")
The IF function takes a boolean expression as its first parameter. In your formula, you are passing it a string (because of the quotation marks). |
H: Can I remove or change the link between YouTube and Google+?
I have a Google+ account, and I have a YouTube account that created a linked Google+ page on my Google+ account. In my YouTube settings, there is no link to disconnect the Google+ page (as seen in the screenshot below). I can’t delete the Google+ page while the YouTube account is connected to it.
Is it possible either to separate my YouTube account from Google+ entirely or to link it instead to my main Google+ account? If the latter, can I keep my YouTube username?
AI: If 14 days have passed since you connected to Google+ with your YouTube account, you cannot reverse the change. See this article Switch back to your old YouTube username.
New channels created with a Google+ page or profile don't have an old username and can't disconnect Google+.
Channels with an old username that have linked to a Google+ page (not profile) can only switch back to a YouTube username within 14 days after linking. |
H: IF statement with ranges
How do I make it so that if any number in the range C6:D11 on PAGE is less than zero, output "Some words" and if not, output "Some other words"?
I tried using =IF(PAGE!C6:D11 < 0, "Some words", "Some other words"), but I that gave me an error saying "Range has no entry corresponding to this cell".
AI: The problem is that you are passing the IF function an array (range), while it only supports a single value.
Try
=IF(MIN(PAGE!C6:D11) < 0, "Some words", "Some other words")
The MIN function finds the minimum value in your range. |
H: How do I remove someone’s links from embedded YouTube video?
I want to embed a YouTube video to my website.
The uploader included a floating link to his website at the corner of the video.
Is there a way to remove it with some parameter?
AI: If you are referring to the annotations, you can disable them by setting iv_load_policy to 3.
iv_load_policy (supported players: AS3, AS2, HTML5)
Values: 1 or 3. Default is 1. Setting to 1 will cause video annotations to be shown by default, whereas setting to 3 will cause video annotation to not be shown by default.
Source. |
H: Automatically reply to mail if subject doesn't match criteria
People send a lot of mail to my gmail. I need a way to categorize my mail.
I thought of subject filters. whenever somebody send mail with "support" or "sales" as subject gmail would automatically label it and remove from inbox.
But the main problem is that people don't follow this rules. most of incoming mail has subject "help please, it's urgent!!!", "problem with payment" etc.
I want to know, is there a way I can automatically (without me even checking the mail) send reply to sender saying that subject is incorrect if subject is not exactly "sales" or "support" and send that kind of mail to trash?
P.S. many people would suggest to use different mail accounts, but that's not an option in this case.
AI: Use a filter:
- excludes the following keyword. |
H: How can I change Google Plus Custom URL?
Today I set my Google Plus Custom URL but there is a mistake in the URL that I didn't notice until now.
Is there any way to change this URL?
AI: As of now, it is impossible to change your Google+ Custom URL. The Google support page says:
Once approved, this URL will be linked to your Google+ page or
Profile, so be sure everything is exactly the way you want it. Once
your URL has been approved, you can't request to change it. When
you're certain, click Confirm.
Change your custom URL
If you want to change the capitalization or accents/diacritics of your
custom URL, follow these steps:
Go to the "Links" section of your Google+ profile. A box will appear
allowing you to make edits to the formatting. Remember, you can only
change the capitalization or accents/diacritics of the URL, not the
URL itself.
I guess you're not the only one having such an issue so Google might change this policy, but right now I believe there's nothing you can do. |
H: Clarifications about custom URLs in Google+
I want to register a custom URL for my Google+ page (I'm eligible)
I have some questions.
Suppose my page name is John Doe. Google forces me to have google.com/+JohnDoe + some extra characters in my choice. google.com/+JohnDoe isn't registered, why can't I directly register that?
Custom URLs are case-sensitive?
Would the old plus.google.com/5432503297532095473210197 address still be accessible? Because of that note in the agreement which says "the service could become a paid extra in the future", I'd like to continue linking on websites the old, long and impossible to remember address.
AI: There could be a couple of reasons why the name you want is not available. Maybe it's too common. Maybe it's the same name as someone famous. Maybe someone else with that name has more followers/posts/been on Google+ longer/is more "valuable" to Google, and Google is reserving the name for them.
Custom URLs aren't case sensitive. In fact, you can edit the URL to change the case of the letters in the URL when it's displayed.
Google is very good about leaving redirects when pages move. I have to believe that that the old stupidly-long number URL will still work in the future, even if it results in a redirect. (Actually, I've just tested it with my old gplus.to address which pointed to the number URL, and it redirected to my G+ custom URL.
I see now you're referring to a G+ page. From what I'm seeing the Customer URL choice you have is based on the verified website URL and (right now) you can't change it.
Some more information in this G+ post. |
H: INDEX MATCH in array formula
I'm making a database in Google Drive. In one column I have abbreviations of a number of departments someone is in, but people can be linked to multiple departments. The abbreviations are comma-separated. I would like to have a formula that SPLITs the abbreviations at [,], then MATCHes the results to a range, and returns the full names of the departments.
abb desired result
--- --------------
soc Socrates
pla Plato
des Descates
heg Hegel
heg,des Hegel, Descartes
I've tried an arrayformula with INDEX and MATCH to no avail:
=join(", ";arrayformula(index(B$2:$D$7;match(split(F2;",");D$2:D$7;0);2)))
I've published a MWE where you can also find an attempt with FILTER, but it gives the 1xN or Nx1 error, which makes perfect sense ...
AI: This seems to be easiest solved with a script. If you have a list of philosopher names (column A) and their abbreviations (column B):
Name | Abbreviation
--------------------------
Socrates | soc
Plato | pla
...
in a sheet named Philosophers, you should be able to use the following script function:
function getPhilosophersByAbbreviations(abbreviationsStr) {
var philosophers = SpreadsheetApp.getActive().getSheetByName("Philosophers").getDataRange().getValues();
var result = new Array();
var abbreviations = abbreviationsStr.split(",");
for (var a = 0; a < abbreviations.length; a++) {
var abbreviation = abbreviations[a];
for (var p = 0; p < philosophers.length; p++) {
if (philosophers[p][1] == abbreviation) {
result.push(philosophers[p][0]);
}
}
}
return result;
}
In your data sheet, you enter the formula in column B:
soc | =getPhilosophersByAbbreviations(A1)
pla | =getPhilosophersByAbbreviations(A2)
des | =getPhilosophersByAbbreviations(A3)
heg | =getPhilosophersByAbbreviations(A4)
heg,des | =getPhilosophersByAbbreviations(A5)
... and the full names will be displayed in columns B and so on.
Feel free to play with the example spreadsheet I set up. |
H: Sending messages to non friends on Facebook?
So I randomly searched up a name and he was my former friend from about a few years ago. He moved away and I graduated high school, but just about a week ago I searched his name but he didn't show any image.
I clicked the "Message" button without sending him a Friend Request but I never heard a reply. I didn't even see a "Seen at x:xx time" under my message I sent him. Does this mean he received it or not? I'm pretty sure somebody this popular like him would go on Facebook all time.
Oh and another similar case occurred with messaging. I made a new friend at my University in one of my classes and he told me to add him on Facebook. Then he told me to message him. So he went on his phone about 30 minutes later but he didn't receive the message. However, it showed up on my Sent box. How is that possible?
AI: Your message might have ended up in his spam folder: https://www.facebook.com/messages/other/ . This happens sometimes if you aren't Facebook friends. |
H: Is there a Master Password for Google Drive documents?
So I have a special document that I already set to self-private. However, I want to also make a Master Password for that document in case somebody accidentally gets into my account or the somehow access it.
Does Google Drive have a feature that will allow me to set a Master Password for a specific document so that I cannot open it unless I enter the password correctly?
AI: You cannot set a master password for a specific document. The best you can do is to encrypt your file before storing it in Google Drive. Also, see keeping your account secure. |
H: How can I batch delete Facebook Pages' “likes” on my account?
My account was hacked and I am now “liking” 400+ pages. Other than spending a few hours manually removing them from my account, is there a quicker way of removing them all at once?
I don't mind removing any of my own “likes” if it involves doing that.
AI: I will be the bearer of bad news. Apparently there is not such feature. In their help page about the activities (where you can see a bunch of your "activities") nor in any other aggregator you can do this. Maybe you can mess with the API's as suggest this question in StackOverflow you will manage, otherwise, using the web application, keep clicking for hours.
For the API:
Access to this link: https://developers.facebook.com/tools/explorer/?method=GET&path=me%2Flikes%3Ffields%3Did, generate a token using the button at the top right part of the screen.
In the user permissions make sure user_likes is selected:
Click "Get", now you will get a bunch of ID's about all your likes, take note of each number, then use the following URL to delete them: https://graph.facebook.com/ID?method=delete issue several post request. You can select your preferred application to do it (using the access token) or the Graph API Explorer as I did.
Source: https://developers.facebook.com/docs/reference/api/deleting/ |
H: How do I prevent that references in my formula change when I copy the formula to a new cell?
I'm trying to use submitted Google Form data in one spreadsheet to locate and retrieve data from another spreadsheet (tab in same document). The Google Spreadsheet file is here.
The =QUERY statement I'm trying to use is this:
=QUERY(sheet2!A1:K; "Select B, C where A =" & B1 ; 0)
It works if I remove the cell reference from where A =" & B1 ; 0) and I replace it with a static value like where A contains '123456' ").
Any suggestions on how to get the =QUERY to work using a cell=referenced value? The heading for the column being referenced is TEXT but the value of all rows below the heading is a NUMBER.
AI: The problem you have is that the data row reference changes when you drag-copy the formula down. It needs to be made static. So instead of
sheet2!A1:K
you need to write
sheet2!A$1K
or in this case (as you're starting from row 1 anyway), you can use:
sheet2!A:K |
H: How to remove [Deleted Video]'s from the current playlist?
YouTube recently changed some functions across all their services (the most notable, comments). And added the option to remove videos from currently watched playlists:
PERFECT! FANTASTIC! TERRIFIC! Now, I also want to remove videos that were for X or Y reason deleted:
But I can't. I press the button, refresh the page and the entry persists.
BTW, this is suboptimal as tracking them down is very painful.
AI: You will have to visit the Youtube playlist and click on "Edit playlist". Using the playlist editor, you would then be able to remove that video (along with other videos if you desire) from the playlist.
Removing videos from the playlist while playing it does not work, period. |
H: Check multiple POP3 accounts from one inbox
I have multiple domain specific email address that I'd like to check from a single Gmail login. I've previously seen a set up where multiple inboxes or accounts were accessible from the left side bar simply by clicking on the name/email address.
I've already added these accounts to Gmail, enabled to send mail as, and enabled the multiple accounts feature in Labs. I'm unsure of what to do next to move each of the accounts inboxes to the left sidebar. I looked at maybe creating Labels, but this doesn't look as I've seen it before.
How can I list my accounts in the left sidebar?
AI: I take it you have already set up filtering so that email from other accounts are labeled? If not, you should set up a filtering rule for each account, so that incoming emails are tagged with an account-specific label.
Click the gear icon -> Settings -> Filters -> Create new filter, and enter the account name in the to field.
Now, to display each account in the sidebar.
The look of labels have changed slightly. Most labels are now collapsed under More:
Hovering over a label, click the down arrow to open a menu, which allows you to specify that a label should be always shown in the top section:
Now, the label is displayed in the top section of the label list. If you selected Show if unread, the label will only be displayed if there are unread messages there. |
H: Voice chat in Google Drive
I was working collaboratively with a Google Drive document at the same time i was speaking to the other parties on Skype voice chat.
It got me thinking is there a voice chat feature inbuilt into Google Drive ?
AI: No, but it works the other way around. You can start a Hangout and work on a document from there.
See The Next Web: Google+ is becoming a beast for the workplace, Google Docs now available in Hangouts and Sharing Documents on Hangout with extras for details. |
H: Bring Dropbox back to state on Day X?
I turned on a laptop I hadn't turned on for a very long time, the dropbox folder on it started synching and...... my complete dropbox folder now has a gazillion files all with doublures, directories I deleted are back again and directories I renamed are now twice in there with both names. Including the files in them.
This will cost me a gazillion years to fix.
Is there an option to bring back the complete dropbox "state" as to be exactly on day X?
AI: For a batch restoration you can try out dropbox-restore *
You might have to do a bit of tinkering but it should work, incidentally there as an identical question on StackOverflow
You can go to dropbox.com and follow these screenshots to do each one manually
From your windows machine follow this |
H: How can Google Drive export files in deeply-nested folders?
I have an archive of images for our project. The images are well-organized in deeply-nested folders.
The client is behind an elaborate firewall, and cannot access any Google Drive link.
I need to export the files to zip, so that we can put the link on our site, or email them the archive.
How can I do this export?
AI: Google Drive does export sub-folders, but only when they have content.
Simply find the folder you want to export in the left-hand sidebar, click the down arrow next to it, and select Download:
There is a 2GB limit, so if the sum of filesizes in your folder tree exceeds that, you may run into trouble.
If that is a problem, another solution is to set up synchronization with your computer. Then you'll have a copy of the entire Google Drive on your hard drive, and you are free to create a zip file from any folder you'd like, from your computer.
See Overview of Google Drive for help installing the Google Drive client on your computer. |
H: How do I automatically expand a =QUERY when receiving submissions from Google Forms?
The Query below 'works' on a line by line basis (when manually filled down), but it does not 'autofill' down when new data is added to the responses sheet. The data being added to the responses sheet comes from a Google form.
=QUERY(Sheet2!$A$1:K; CONCATENATE("SELECT B, C WHERE A = ", responses!B1), 0)
How do I adjust this Query so it will 'autofill' down when new data is added to the responses sheet by a Google form?
If this is not possible, any suggestions?
Here is a link to the Google Spreadsheet I'm working with.
AI: You would need a Google Apps Script to automatically add your QUERY to new rows.
The following script runs when a form is submitted, and populates the D column with the formula from the previous row. That is, before running the script, you need to enter your formula in the first row.
function onFormSubmit(event) {
Logger.log("Event: " + event.changeType);
Logger.log("New row added");
var sheet = event.range.getSheet();
var addedRowIdx = event.range.getRow();
Logger.log("Index of new row: " + addedRowIdx);
var range = sheet.getRange(1, 4, sheet.getMaxRows(), 1); // 4 == fourth column == column D
var queryColumnFormulas = range.getFormulasR1C1();
for (var i = 1; i < queryColumnFormulas.length; i++) {
if (queryColumnFormulas[i][0] == "") {
Logger.log("Inserting formula in row " + i);
queryColumnFormulas[i][0] = queryColumnFormulas[i - 1][0]; // Copy formula from previous row
}
range.setFormulasR1C1(queryColumnFormulas);
}
}
To install this script, in your spreadsheet click Tools -> Script editor, and paste the code above. In the script editor, click Resources -> Current project's triggers. select the function onFormSubmit, and the event From spreadsheet: On form submit.
Feel free to look at the example spreadsheet and corresponding form I setup. |
H: Posting a message on another person's Twitter wall
Is there a way on Twitter to post on someone's wall? Like on Facebook, I could either post directly on his wall or mention a person in my message with the @ sign for the message to show up on his wall or tag the person in a picture.
For Twitter, would mentioning a person with an @ sign post the message on the person's wall too? Otherwise, is there a way to post on a person's Twitter wall?
AI: No there isn't. You can @ mention them. The only way for this to appear on their 'wall' (timeline) is if they was to hit 'retweet' on that mention. |
H: How do I protect my Google/Gmail account?
I have seen lots of horror stories of people who have lost control of their Google account, especially Gmail.
How can I prevent the same thing from happening to me? What steps can I take to protect my account before I lose control of it?
AI: Google offers quite a few tools to help you keep unwanted persons out of your account, but some of them only work if you activate and use them.
Keep your Account Recovery Options up to date
Mobile telephone number: If you forget your password, or if there is unusual activity on your account, Google can send you a security code via SMS for you to prove you are who you say you are. If someone has your account password it's quite unlikely they've also got your mobile phone. Google will only use your number for security purposes. Important: Keep this up to date! This won't be of much use if Google sends security codes to a phone number you no longer use.
Recovery email address: Similar to the mobile phone number, this is a different email address where Google will send security codes and other important security messages, like when you've forgotten your username and/or your password. If you don't have a second email address, you can always use the email address of someone you trust (like a spouse).
Alternative email address: This is different from the recovery email address in that this is a second address that you can use to sign in to your Google account. It also cannot be a Gmail account or an address that's associated with a different Google account.
Use two-step verification
This may be the single best way to protect your account. When you log in from an untrusted device, you'll be prompted not only for your password but also for a six-digit code sent to you that's unique for your device. Even if someone has your password, if they don't have access to your secondary device where your code is sent, then they can't complete the login.
In case of emergency (if you've lost your phone or its battery dies), you can also generate a list of ten one-use codes that you can print out and keep in a safe place to use when accessing Gmail from a previously untrusted device. Note: "two-step verification" is not necessarily the same as "two-factor authentication", which can be even tougher to crack.
Use a strong, unique password
There are lots of places to get advice on how to create a strong password online, so I won't belabor it again here. Just as important, however, is to never use the password for your Google account anywhere else. Every month it seems there's news of a site that has had user credentials stolen. While you may not care about the data that was on that site, since so many people re-use passwords that's where the value lies for the bad guys.
Think about it: If you forget the password to your bank account, where does the reset password link get sent? Your email address. The password for your email should be the strongest of all.
Set Gmail to always use HTTPS (SSL)
Unless there is a technical reason not to, you should have Gmail set to always use a secure connection (HTTPS). This setting is found under Settings > General > Browser connection.
When using a shared/public computer...
Use "private" or "incognito" mode in the browser: These modes (available in most modern browsers) prevent the storage of web history, form data, or cookies. If you can't use this mode, be sure to clear history and cookies after you log out.
Log out from your account when you're done: This should go without saying, but people forget.
Don't fall for phishing attempts
No site should be asking you for your Google Account password except Google. Don't enter your password on any page you reach after following a link, even from someone you trust. Go straight to https://www.gmail.com or https://accounts.google.com/ServiceLogin instead.
Keep your system secure and up-to-date
Keep up with OS and browser updates. Make sure you use a trustworthy malware/virus scanner and keep it up to date as well.
Watch for connected apps that do more than they should
Google and Gmail have very robust APIs which allow for a variety of apps to add a lot more functionality to Google's apps. However, they also have a lot of access, and it's possible that a rogue app, or one that is insecure, could be leaking your information. You should regularly check your security settings for apps, sites, and devices to make sure that only the apps and such you still use are listed there. Apps you no longer use (or which don't come from a trusted source) you should remove from your account.
Further information:
Gmail security checklist
What if I forget my password (video)
Know your Google security and privacy tools
Keeping your account secure
An update on our war against account hijackers
Gmail product forums: "how to protect my account from password theft?" answer from bkc56 (A little dated but still a lot of good information) |
H: Per topic permissions?
I am managing a very chaotic group where everyone would post anything (well not quite, but still) on any unrelated topic. My goal is to keep them informed about some updates concerning everyone. I'd like something like a dedicated thread where only I, the group admin, could post messages.
Is that doable?
AI: You can use the option Lock replies:
https://groups.google.com/forum/#!msg/transition-sfv/3Jdz8DMUaT0/5WIYUiE7P8UJ:
Lock Replies - Disallow any replies to topic(s). Topics that have replies locked have a gray lock icon next to their names. The Post reply button will also disappear from within these topics.
Unlock Replies.
Lock Topic - Disallow any actions in the Actions menu to be performed on topic(s). Topics that have been locked have an orange lock icon next to their names. Most all menu items in the Actions menu will also disappear when locked topics are selected. |
H: Scrolling with mouse in draw.io
Is there any way to scroll with mouse or keyboard in draw.io? So far the only way I found to do scrolling in draw.io is to use the diagram thumbnail at bottom right corner of the page.
AI: Right mouse click (or equivalent on single button mouse) and drag while holding the button. |
H: How can I convince Gmail to archive messages that I've sent?
When you send a message from Gmail (I usually use cntrl+enter or do it from Mailbox) it appears in your inbox. Is it possible to create a label or use something similar to automatically archive sent messages?
AI: Yes there is a way to archive the sent mail in Gmail. How to create the filter:
Go to settings in Gmail.
Go to the Filters tab and select Create a new filter.
Enter your email address in the From section and proceed by selecting Create filter with this search.
Now tick Skip the inbox (Archive it) and also tick Apply the label and select New label
Create a name for the label like Sent_Archive
Proceed with Create Filter |
H: How to filter, SUM and display multiple values with multiple conditions added daily?
I have a spreadsheet that collects dozens of payments made daily through different means. For example, utilities bills, credit cards bills, personnel fees, expenses, etc. They are made in cash, by homebanking, by ATM, by check, and by courier. I managed to filter them daily with for example:
=SUM(FILTER(C3:C;D3:D="Homebanking";F3:F="november 10 2013"))
where it will show how much money was paid through homebanking on 11/10/2013.
Column C holds the values in $
Column D holds the means of payments values
Column F holds the dates (converted to mmmm dd yyyy because I couldn't get the formula to read 11/10/2013)
However, this method is taking too long because I need to add this formula daily for each item and each means of payment. I have been looking for a way automatically to generate a daily filter that displays how much has been paid on a daily basis for each item.
Is there a better way to sort through many dates and sum all values by day, item and means of payment?
EDIT: SS with dummy data
It would be easier to work with filters, just as I would in Excel, but I'm thinking about filtering by date and then publish it as a web app, or at least as a web embedded chart.
AI: The following formula would yield the most elegant presentation.
Formula
=QUERY(DATA!A:C, "SELECT A, SUM(C) WHERE A IS NOT NULL GROUP BY A PIVOT B")
Screenshot
This is a good alternative, but formula wise a bit different.
Formula
=QUERY(DATA!A:C, "SELECT A, B, SUM(C) WHERE A IS NOT NULL GROUP BY A, B
LABEL SUM(C) 'Costs'")
Screenshot
Example
I've added the results into your dummy sheet. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.