text
stringlengths 83
79.5k
|
---|
H: How can I tell if I have viewed a Comment (or it's Card) in my list of Notifciations in Trello?
In Trello, I see a list of Notifications on the right with a red alarm "bell" to signify I have new notifications ( @comments to me, etc.)
But, I can't tell which of them I've already viewed.
One possible solution:
A card that has a Notification since I last looked at that card will show the notifcation (red alarm bell) icon.
But, I see no way to search on those cards.
AI: When you click on the red alarm "bell" you should see a list of new notifications. Look for the darker side bar on the left side of each notice in the list. Trello clears this bar when you close the notification list.
Click the bell again to see the difference.
Notes:
Trello keeps track of what notices or cards you open but can't tell what notices you read.
Look for the link ".. X more notifications.." to open a larger list of notices.
When you have read all notifications the "bell" changes to the normal ""no new notifications" color |
H: I hit a bug when trying to report a bug regarding Visual Studio to connect.microsoft.com
Having created an account and signed in I go to https://connect.microsoft.com/VisualStudio and receive this message:
The only "submit a bug" button I can see is on the microsoft.net native page connect.microsoft.com/VisualStudio/MSNetNative and that just goes to an error page ... a bug trying to submit the bug!:
Maybe there's a submit a bug option elsewhere that works.
[by contrast]
If I click on PowerShell in the directory then there's a button to submit a bug. If I click on Visual Studio I get a message:
you have been invited to join a private NDA program for Visual Studio, you can view specific content by selecting from the dropdown titled "Programs" located at the top of this page.
at that point I've no idea what to click next, but clicking programs doesn't seem to help much.
AI: You have to sign out
THEN go there
https://connect.microsoft.com/VisualStudio
And there is a submit a bug button
Click that "submit a bug"
Then there is a sign in page. Sign in
Then you get a form to submit the bug |
H: How can I remove all my Twitter favs?
I have tried to remove all my Twitter favorites but I can't.
This is what it looks like:
As you can see, I have 6 favorites but none of them appear.
AI: This seems like a caching bug from Twitter - there's nothing much you can do except wait it out for a while.
Alternatively, you can report the bug to Twitter on their support form. |
H: I'm unable to turn on email delegation between my Google Apps domain accounts
I've created a second account (not an alias) that will delegate to my primary (as in, I'll enable delegation on the new account, delegating to the older one). My domain already has delegation enabled -- I have one other account delegating in the same way -- but this one won't turn on. When I attempt to enable delegation, the acceptance/confirmation email is sent to the receiving account, but clicking on the Accept link leaves me this error message:
The account *****@***** or your own account is currently not allowed to set up this delegation. Please read the Help Center article to find out what may cause this error. You will not be able to view and send messages on behalf of *****@*****.
The new account is not waiting for a password change (confirmed) and is able to initiate the delegation workflow. The helpdesk article on delegation doesn't tell me much, only this:
In order to use delegation, both accounts must be enabled and verified, and neither account may require a password change on the next sign in. Otherwise, setup will fail with an error.
The new account isn't verified but frankly I'm not sure what that even means in this context.
How can I diagnose this delegation enablement issue?
AI: Bear in mind that ...
It can take up to 24 hours for new user accounts to appear in the
searchable Directory.
That means that features like email delegation could take up to 24 hours to be ready to be configured.
References
Add users indiviually - Google Apps Help |
H: Google Forms - Survey data storing
I am trying to capture and store data into a spreadsheet using google forms. Everything will be stored in google drive.
How do I set up forms/ spreadsheet to input the data captured in the form into particular columns of a spreadsheet
The form will be sent out each week and the data will be sent to the specific columns for that weeks information
I was intending on using Boomerang for the repetitive emailing (does anyone have any better solutions?)
Help with any of the above will be greatly appreciated.
AI: Your Google Form decides which column to store the data in - you do not control this.
And the design you're aiming for (different weeks data in different columns) is likely to cause long term problems. But there is a better approach:
In general, the first column in the sheet which it stores data in is labelled Timestamp, and contains the date/time when the data was entered.
Each column after that contains data in the order in which the question was added to the forum, ie:
Column B gets the answer to the first question you added.
Column C gets the answer to the second question you added, etc.
These relationships are maintained even if you re-order the questions on the form.
You can add helper-columns to the right of the ones filled in the by the form. So you could add "week submitted", and use this to calculate the value from the Timestamp column.
Then use a pivot table (or similar) to create a summary of the data, with the "week submitted" as the column value. This will give a view of the data like what you described originally, while still using the Forms data storage approach. |
H: What does the red icon (lock? Bell?) mean in Trello?
I've tried hovering for a tooltip. None.
If I open that Card and go back and refresh, the red icon is still there.
AI: That icon indicates that the board is a private board. |
H: How can I view all Trello Cards that have a link to a particular Trello Card?
If I get the Link To This Card and then paste that into another Card, how can I see all the Cards that have such a link (to this card) on them?
I tried searching on the Link To This Card, no luck.
AI: It looks like you can do this by using the board search with the URL of the card that you're concerned about (without the https). From what I can tell, this only works using the search box at the top of the page and doesn't work when using the filters on a board.
For example, if I want to find cards that have links to https://trello.com/c/mIkC5aTy, searching for trello.com/c/mIkC5aTy shows me the cards that have links to that one. |
H: SUMIF using NOT ISDATE
I want to sum across a range of fields, but only if the cell contains a number, not a Date.
I would love to use something like SUMIF(A2:Z2,"!ISDATE()",A2:Z2)
But the criteria in SUMIF is incredibly dumb. Is it possible that there is a valid solution out there?
AI: You can use =SUM(FILTER(A2:Z2,ISERROR(DATEVALUE(A2:Z2)))) where
DATEVALUE interprets the content as a date, if it would be auto-converted into a date when entered. Otherwise it throws an error.
ISERROR returns True value if its input is an error
FILTER narrows down the data set to those columns or rows where the condition holds. |
H: How to automatically increase the exponent in Google Spreadsheet columns?
I have asked a similar question before
How to automatically increase the exponent in Google Spreadsheet?
But the new question is:
In a Google Spreadsheet, I put in the following numbers in a ROW, each number is an entry in the ROW.
100 100*1.01 100*1.01^2 100*1.01^3
The highest exponent of 1.01 is 3 for now. But I would like to keep filling this ROW until the exponent of 1.01 is 30. I can only do it by filling each entry in the ROW manually. How can I do this easier?
I tried
=100*power(1.01, COLUMN(1:1))
But this does not work.
AI: You can use
=100*power(1.01, COLUMN(A:A))
(That is, replace 1 by A). Actually,
=100*power(1.01, COLUMN(A:A)-1)
would be better, as it allows you to apply the formula to all cells, including the very first one.
Also, the answer I gave to your other question works equally well here:
Put 100 in a cell (for example, B4), then enter in the cell to the right =1.01*B4, and extend the formula to the right. |
H: Is there a "what links here" feature for GitHub?
I know its issue management system has something similar implemented. From another issue, if we link to another issue (on GitHub of course) the latter will show the source from where it was linked:
However, a better example of a web site that implements that feature really well would be Wikipedia:
The reason I am looking for this: I am interested in learning about other GitHub projects that are based off a project. For e.g.
ng-annotate is a npm project (hosted on GitHub). grunt-ng-annotate is, I believe, based on it. However, in the latter project there is a link saying ng-annotate, but it links to the npm page, which links to the first project I've mentioned.
I am interested in learning of any other projects that are based off ng-annotate.
AI: After googling "find related github projects", I find this service: gazer.
It seems working perfectly.
In your case, ng-annotate related github projects yield many results. |
H: How to anonymously join public events?
How can I join an event without having my name listed? Below I can see everyone's name, almost all of which I don't know, except for Facebook User's.
Names of attendees for event on public page that I Like.
How can I be that guy?
AI: There is no way to hide your name from the list. Event host can change privacy setting for the event but in that case also your name will be visible to selected audience.
What you can do is you can remove yourself from the list. |
H: How to show picture instead of link on Twitter from Facebook posts
I have connected my Twitter account with my Facebook account. And when I post something on Facebook it also get posted on Twitter. Status get posted on Twitter same as I post on Facebook but when I post a picture on Facebook, it shows a link on Twitter instead of that picture.
Is there any way to get picture visible on Twitter instead of the link (or with the link) from posting Facebook?
AI: That depends on the application you are using. The application will need to leverage the use of Facebook API to call the photo ID src (instead of just the Photo ID link) then post that via Twitter API.
Assuming you are using this, https://www.facebook.com/twitter/, then you will not be able to get the option to have the photo posted to Twitter as this app has not been changed in a very long while.
The closest option will be to use an IFTT recipe |
H: Quick way to clean up Netflix Viewing Activity (Recently Watched List)
If you've used Netflix a lot, you know how annoying it can be having a long list of "Viewing Activity", aka. stuff you've watched. In a normal browser, it's not so bad. However, as soon as you open it on your phone or a console, you quickly realize how short your choices become. All the simple, full categories like Action and Anime are quickly replaced with rows of Because you watched .... The only way to do away with those rows, appears to be by going to your "Viewing Activity" and clicking delete next to everything you watch!
What's the quickest way to clean up this list?!
AI: The easiest solution I've found has been to use a Google Chrome extension and a little, very simple JavaScript!
Please Note: The following is a semi-permanent solution and will begin automatically cleaning your viewing history every time you visit the page. If that's not the solution for you, please skip to end!
First, if you don't already, get Google Chrome (Note: The extension I mention is available on FireFox as well). Then go to Google Chrome Web Store and add Custom JavaScript of websites (cjs) to your Chrome extensions. This simple extension will allow you to run custom JavaScript on any website you visit, and includes use of jQuery!
The following is full instructions for getting to Viewing Activity page. Quick link button at end of paragraph, if it's not a dead link by the time you read this.
Now go to your Netflix account. Highlight your icon in upper right (your account name) and click on Your Account in the drop down that should appear. Scroll down to My Profile and click on Viewing Activity.
Now to make use of your new extension! First, copy the code below (at end) so you'll have it ready. Now, on your Netflix Viewing Activity page, open the cjs Chrome Extension. If you don't see it in your toolbar, look for a double right arrow at the end of your address bar. Click it to drop down your extensions. With cjs open, highlight and delete placeholder text. Paste in the code below, then click Save. The page will reload, and you'll immediately begin seeing action taking place.
The one caveat is that you have to scroll down to get all your viewing activity to show up. For this reason, and for the sake of not creating an overloading loop, you may have to reload the page a few times to get ALL your viewed movies/shows deleted from your history. I'm currently working on a better solution to that issue, but haven't really thought of one yet, and since mine is all cleaned up, I have little to test against! (which is a good thing, means this works great with semi-regular visits to the page).
The Codes:
function bob(){var a=jQuery(".deleteBtn:first");a.length&&setTimeout(function(){a.click();bob()},250)}
if(/viewingactivity/i.test(location)) bob();
If you don't want to clean your viewing history every time you show up:
First, Copy the code above. Then go to your Viewing Activity page. If the previous button doesn't work, simply go to your account page, look in My Profile section and click on Viewing Activity.
Now open your browsers developer tools. In most browsers this is as simple as pressing F12. Most Developer tools are divided into tabs. Make sure your in the tab that says and/or contains Console. There you can enter JavaScript manually. Now, before you enter any code, make sure your page is scrolled all the way to bottom. Netflix will autoload only so many rows at a time. In order to do this to your full viewing activity, you'll need to scroll until you reach the pages footer. Once your satisfied the list is full, simply Paste the code into the console and run it. For most browsers, that's as simple as pressing enter key, though some have a Run button to click on. Viola! You're done! Sit back and watch your history clean up! |
H: Is there a way to display exact received time instead of relative time?
Does Google offer a configuration option, or has someone developed a plugin or extension, that can display the exact received time instead of the relative time an email was received?
This is what I see today:
The problem is, I have to hover or open the original message in order to determine what time of day this message was received. So for example, if someone says "check the email I sent you yesterday at lunchtime", that's currently really hard to do by scanning my inbox. It's also hard to distinguish between emails I receive on the hour (alerts & such).
I would like the received time to look like one of these:
Jun 27, 9:03 PM EDT
Jun 27, 21:03 EDT
AI: There does not appear to be a configuration option for this, and a look at Google support forum confirms this.
I've made a bookmarklet that changes the display of email list to put the time first. Unfortunately there is not enough room to show both date and time, and messing with the layout of Gmail pages is likely to result in something else breaking (especially if Google tweaks the design). So I squeezed in only the day of month: e.g.,
11:56 AM 27
12:13 PM 27
12:34 PM 27
12:46 PM 27
Hopefully this will help locating the message by time.
This could be made into a userscript for your browser that always executes on Gmail pages, although I'm not sure you'd always want this format. The source code is this:
a = document.getElementsByTagName('tr');
for (i=0; i<a.length; i++) {
b = a[i].children;
if (b.length==8) {
s = b[7].firstElementChild;
d = s.title.split(/, | at /);
if (d.length==4) {
s.textContent = d[3]+' '+d[1].split(' ')[1];
}
}
} |
H: How can I get a report of all Trello cards from certain list from several boards
I need to generate a daily report of all cards assigned to me that exist on a specific list in several boards. All my boards have the same structure so the naming of the lists is always the same.
The cards might remain in a column for several days, so I cannot rely on (for example) IFTTT since it fires only when new cards are added and I won't produce any useful event that could fire IFTTT's events.
I'm open to use any kind of web application, service, tool or script.
I'd like it to run without launching command line tools, as Shashank Agrawal proposes. It would be better to have it completely automated using web based stuff, such as Google Spreadsheets scripts.
AI: OK. I finally solved it with a dynamic Google Spreadsheet:
Follow instructions about How to import JSON data into Google Spreadsheets in less than 5 minutes. This leaves you with an automatic polling spreadsheet.
Get your trello key and secret.
Craft those values in the API URL you exactly want to feed into the ImportJSON function of step 1.
Set your spreadsheet filters as you wish. |
H: Is it possible to sort topics in Rizzoma by number of votes?
Overview
As Google Moderator is shutting down on June 30, 2015 (more Info) I would like to learn about alternatives, mainly for educators. Rizzoma topics could include the Yes/No/Maybe Wave gadget, so topics could work as Google Moderator submissions.
Question
Is it possible to sort topics by number of votes gathered through the Yes/No/Maybe Wave gadget?
References
Alternatives for Google Moderator / Moderator for Google Apps - Software Recommendations
AI: At this time it's not possible to change the sort order of Rizzoma topics, so sorting of topics by a gadget attribute is not possible either.
One alternative could be to develop a Wave gadget to be used as a topic container where users could submit items to be voted and lately sorted.
References
https://rizzoma.com/help-center-faq.html |
H: How to show/share only one route on Google Maps?
I want to share a route between two places with some people, the plan being that we meet and follow this route together.
The new Google Maps has a (normally) nice feature that by default shows you several routes so you can choose one. When I've chosen my route, how do I hide the others?
I want to choose a route and send it (ideally with a live link), without provoking confusion or unnecessary debate by sending several options. But even when I select one route and go into step-by-step directions, the alternatives are still visible.
How do I show only my chosen route?
AI: Creating a custom map as per MaryC's answer is good if you want something you save permanently or embed and don't mind going through a multi-step process with a different UI to get there.
I also found a quick and easy alternative that uses only the regular Google Maps 'directions' UI.
Basically you just drag part of the path then drop it where it was:
Set up directions as normal, hover over part of the path of the route you want:
Drag, then drop it right where it was. You've now got only one route - and the URL of the page has auto-updated to point to this one route (you can also adjust the route if you want). |
H: Google Sheets permissions
I built two separate spreadsheets in Google Drive and spreadsheet "A" has a script that when run, will copy the input data into spreadsheet "B". When I test it, it works perfectly. But I have other users that only have access to spreadsheet "A". When they run the script it doesn't work because they don't have permission to spreadsheet "B", but I don't want to give them the historical data that's saved in spreadsheet "B".
The error message is:
Document ID is missing (perhaps it was deleted?)
How do I get through this?
I made a Demo copy that can be accessed: demo copy
AI: According to Authorization for Google Services it's not possible because for Standalone, add-on, or bound to Docs, Sheets, or Forms the script run as the user at keyboard. The alternatives is to convert your script to a web app or to a Installable trigger. |
H: Can we force a new kitten with the same dimensions?
I apologize if the title sounds odd, but I am trying to find out if I can get different kittens using the same url from the image placeholder service http://placekitten.com
As per usage,a url like http://placekitten.com/200/300 or http://placekitten.com/g/200/300 should place the following kitten if properly given as src to an html image element.
I've tried appending random unique query strings.
http://placekitten.com/g/200/300?_=1
It still loads the same kitten...
AI: You were close with the query string...
You can request a specific "kitten" by using the image URL parameter with the number of the "kitten". For example:
http://placekitten.com/200/300?image=12
There appears to be 16 kittens numbered 1 to 16 (URL parameter value).
A number < 1 returns kitten 1.
A number > 16 returns kitten 16.
Reference:
http://placekitten.com/attribution.html |
H: Can Google Photos access photos that have been saved in Google Drive?
Is it possible to upload photos to Google Drive (not the /Google Photos folder) and still view them through Google Photos?
I'm asking this because of the following: Usually I have two sources of photos, those taken with my smartphone, which get uploaded instantly to Google Photos, and photos from other cameras or friends' cameras, which I upload manually to Google Drive.
I could upload the latter to Google Photos, but in that case they will be sorted into /Google Photos/YEAR/MONTH which is not very useful (I'd rather prefer my original structure, as these photos are "occasion-related", e.g. /Other Photos/YEAR/Summer-Vacation-France). It is possible to upload them to Google Drive in my desired folder structure, but then I won't be able to view them in Google Photos.
In any case I want to use Google Photos as a web photo management software for ALL my photos, as it is very comfortable to have everything readily available when not having access to my computer (besides that, I sync Google Drive and thereby also Google Photos with my Mac, and use the local files for my desktop photo library).
Any sugggestions are appreciated!
AI: Just found out what is the problem, might also be interesting for other people: Google Photos Settings has an option "Google Drive" that must be enabled first - otherwise your photos won't show up.
I can confirm this works, all photos from Google Drive then show up in Google Photos, sorted by date.
However, there are some issues when it comes to searching through these photos: "June 2015" will only show photos from Google Photos, not Drive, but "2015" for some reason works for both. Then again, "2008" won't show me any photos from Google Drive that were taken 2008. Searching for file names like "IMG_012345" will work, for both Google Photos and Drive. This is really confusing...
The initial question has been answered, but I will update this answer if I find out what's wrong with Google Photos' search. If you know anything, let me know! |
H: Highlight all cells in a range that contain a formula in Google Sheets
I am looking to apply conditional formatting to all the cells in my sheet and highlight cells that contain a formula. I know that I can format cells based on a custom formula, and I know that I can use the ISFORMULA() function to determine a cell contains a formula.
e.g. I can apply conditional formatting to cell B7 using the custom formula =ISFORMULA(B7).
How do I format an entire range using this formula? I do not wish to manually type this formula for every cell.
AI: There is a related question on Stack Overflow that has a helpful answer:
Generally: the way to refer to "this" cell is to enter notation for the upper-left corner of the range being formatted. For example, if the range is C1:C, then C1 means "this cell".
So, for example, if you want to highlight all cells containing formulas in the range A1:J10, then you can use the formula =ISFORMULA(A1) and apply it to the range A1:J10. The important part is that the cell reference in your formula (e.g. A1) matches the upper-left cell in the range you are formatting (e.g. A1:J10).
Note also that for the ISFORMULA() function in particular, it is possible to specify either a cell or a range for the parameter, though regardless whether you use a cell or range, it only looks at the first cell anyway:
ISFORMULA returns TRUE if cell is a cell that contains a formula. If cell contains a range of cells then TRUE will be returned if the first cell in the range contains a formula. All other values will return FALSE.
So, you could also use the formula =ISFORMULA(A1:J10) to format your range. Note that this works with normal ranges (e.g. B2:F30), but not with infinite ranges (e.g. B:F). |
H: How can I link to a result in the COCA corpus?
I'm an active user on the English Language & Usage stack, where questions of how idiomatic or common a particular usage is are asked with some frequency (for example, today we were asked Is it common to use “perverted” as an adjective?).
I would like to be able to answer these questions with evidence from the COCA Corpus, a powerful and popular tool in the community. The problem is, I can't figure out how to link to a particular set of results from the COCA; when using the app, all the URLs which appear in the address bar, regardless of where one is in the process, are just http://corpus.byu.edu/coca/, which simply lead back to the generic landing page.
Ideally, what I'd like is I'd like to provide a link so the OP could see a page like this, with all 3 panels:
But I'd settle for being able to link to just one of the panels; for preference, the main panel, outlined in yellow in the bottom-right, which lists all the examples of perverted used as an adjective, but I'd also accept the panel giving measurements of relative usage, outlined in orange in the top-right.
I tried reverse-engineering this myself, but I'm stymied by the site's use of iFrames. I was able to sniff the HTTP traffic and get the appropriate query string to, theoretically, produce the content of either the examples panel:
http://corpus.byu.edu/coca/x3.asp?xx=1&w11=perverted.[j*]&r=
or, again theoretically, the content of the usage metrics panel:
http://corpus.byu.edu/coca/x2.asp?chooser=seq&p=perverted.%5Bj%5D&w2=&wl=4&wr=4&r1=&r2=&ipos1=-select-&B7=SEARCH&sec1=0&sec2=0&sortBy=freq&sortByDo2=freq&minfreq1=freq&freq1=10&freq2=10&numhits=100&kh=100&groupBy=words&whatshow=raw&saveList=no&changed=&corpus=coca&word=&sbs=&sbs1=&sbsreg1=&sbsr=&sbsgroup=&redidID=&ownsearch=y&compared=&holder=&whatdo=seq&waited=n&rand1=y&whatdo1=1&didRandom=n&minFreq=freq&s1=0&s2=0&s3=0&perc=mi
But plugging these URLs directly into a browser tab simply produces an error. I'm guessing the webapp is sensitive to referrer URLs or session cookies or something.
Can anyone tell me how I can create a link which would take visitors directly to the results of a particular COCA query?
AI: Following a tip from the user @RegDwigнt on Meta.EL&U, it turns out COCA does have officially-supported mechanism to share links to specific results, but it requires that you register an account (accounts are free).
Steps:
Register a COCA account
Follow the instructions in the registration email (which may involve entering a 9-letter code)
Log in to the corpus
Perform your query
Follow the history link which appears under your username in the top-right corner of the site
Find the query in your history (since it's the most recent, it should be at the top), and copy the URL from the share link link (not the re-run query link, which only works when logged in under your account).
The link now on your clipboard will take anyone who visits it to the specific query you selected from your history. For example, here's a link to the query I was interested in this morning: perverted used as an adjective.
If you follow that link, you should see something very similar to the original screenshot in the question. With one caveat: in certain browsers, the link will open a page with just the left-hand query panel displayed, and may attempt to launch a pop-up to display the actual results (specifically, the metrics panel outlined in orange in the top-right in the screenshot in the original question).
Since most browsers and ad-blockers disable pop-ups by default, this can cause confusion; visitors to your link may only see the search panel and not even be aware the content panel is trying to load in a pop-up. It may be best practice to warn them at the time you provide the COCA link.
If anyone has suggestions/a workaround for this issue, let me know in the comments, and I'll update this answer (or add your own answer, of course). |
H: How can I change the default line spacing for Google Docs?
For every new Google Docs I would like to change the line spacing to 1.5.
AI: From Add titles, headings and customize the style of your document - Docs editors Help
Customize titles, subtitles, headings and text style
With styles, you
can quickly customize the look of text in a Google document. Use the
new styles toolbar menu to format text in your document.
Highlight a selection of text with the font size and style that you'd
like to use for normal text or a particular heading.
Go to the styles
toolbar menu, and click the arrow next to Normal text or Heading 1-6.
Select Update Heading X to match selection.
All of the text in your document with the same text type, such as Heading 4 or Normal text, will be updated to match the font and font size of your initial selection.
Normal text
Normal text is the default text style of your document. If you update
the style of normal text from the styles toolbar menu, the default
text style of your document will change accordingly.
If you change the font style of normal text, the font style of the
headings will update. If you want your headings to have a different
font style than normal text, we recommend setting normal text style
prior to setting heading text style.
Save default styles for your documents You can save customized styles to be used by default for new documents.
Expand the styles drop-down menu.
Point your mouse to Options.
Select Save as my default styles.
Then, apply that style to a new document:
Expand the styles drop-down menu.
Point your mouse to Options.
Select Use my default styles.
To restore your default styles to the default Google document styles:
Follow Steps 1 and 2 above.
Select Reset styles.
References
Edit and format a Google document - Docs editors Help |
H: How do I organise my data in Google SpreadSheets
I have separate sheets based on month's of the year.
Each time I create a new month I copy the template sheet and fill in the data.
Therefore each sheet has the same layout it's only the data that changes.
I'm getting to the point where I would interested in the data over two months combined, right now I would have to go into sheet 1 (Feb-2015) and copy the field say B2 (say it's 5) then go into sheet 2 (March-2015) and copy B2 (it is 7) then add them together, 5 + 7 = 12.
There must be a better way of doing this? Can I combine all of the sheets then create some type of selector for the month? I'm not sure what to do and also not sure what 'spreadsheet keywords' I need to Google to find what I want?
AI: Put all the data for all the months into ONE sheet. Use a column called Month to keep track of what month each row is for.
When you want to see one month's data only, click in the data area, then choose Data > Filter from the menus. This puts a small drop-down arrow in the header cells, by clicking on this you can control what filters are applied.
There is an example of this approach here: https://docs.google.com/spreadsheets/d/1ro-wEdk-Gvw0v-UltYlbjf4EMLq5sPeJYhM1zKMblt4/edit?usp=sharing |
H: How can I save a Google Maps route offline?
Just what the title says.
I've been looking everywhere and all I can find is how to save a particular map view, but not a route between two points.
AI: As it seems Google does not have a feature to "save a route offline". After finding this out I was actually surprised to hear it as well as you might be to. Google should definitely be adding a feature like this.
To try and help you out a little bit some suggestions for what you could do is:
*print the map out *(after you make your route)
screenshot the route and then go through the images(when offline)
To sum it up, there is no such thing right now of saving routes offline, you can only save maps offline and I gave you some suggestions. Hope this helps:)
If you still need help here is a Google support link:
Support.google.com/maps
This one is for Google maps mobile:
Support.google.com/mobile/maps |
H: Sort randomly in a Google Script
I found this script to sort a Google Spreadsheet but I need to sort everything randomly instead of alphabetically, is there a way to sort it randomly every time this script runs?
// LinkBack to this script: // http://webapps.stackexchange.com/questions/7211/how-can-i-make-some-data-on-a-google-spreadsheet-auto-sorting/43036#43036
/**
* Automatically sorts the 1st column (not the header row) Ascending.
*/
function onEdit(event){
var sheet = event.source.getActiveSheet();
var editedCell = sheet.getActiveCell();
var columnToSortBy = 1; var tableRange = "A2:T99"; // What to sort.
if(editedCell.getColumn() == columnToSortBy){
var range = sheet.getRange(tableRange);
range.sort( { column : columnToSortBy, ascending: true } );
}
}
AI: Here is the function shuffleSheet which randomly shuffles the rows of the current sheet. The actual shuffling algorithm (which is classical) is taken from this answer by Laurens Holst.
I imagine this is something you will not want to do on every edit, but only when the script is explicitly invoked.
function shuffleSheet() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var range = sheet.getDataRange();
range.setValues(shuffleArray(range.getValues()));
}
function shuffleArray(array) {
var i, j, temp;
for (i = array.length - 1; i > 0; i--) {
j = Math.floor(Math.random() * (i + 1));
temp = array[i];
array[i] = array[j];
array[j] = temp;
}
return array;
} |
H: How to compute the maximum of Column B after having filtered by the contents of Column A?
I have data in two columns (say A2:B20). To get what I want, I have to filter by the first column, and then get the maximum value in the second column of the filtered array. Can this be done without a custom function? If not, what would the custom function be?
AI: The formula
=MAX(FILTER(A:A, B:B="something"))
gives the maximum of the entries in the A column for which the corresponding entry in B column is "something". See documentation for FILTER. |
H: Using query to find the entries in one column which are not in the other
I am using Google Sheets to track changes in a group's roster. Cells B2:B240 contain the old list of names, and C2:C240 contains the new list. Both lists are alphabetized. There is a lot of overlap between the two lists, so I want to identify new members (i.e. present in C but not in B) using the QUERY tool. I did find a way to check for differences on an individual row level, but that method is inconvenient for my spreadsheet layout.
Here is a sample spreadsheet: https://docs.google.com/spreadsheets/d/1e7bEZtcmwEKvEef795sAam3lv3CMu6MlqyhHiTWr214/edit?usp=sharing
Essentially, I want column D to list all the names that are in C but not B. That will give me a list of all the players who joined, and I can use the same logic to find those who left (i.e. in B but not C). Column D in the sample has this formula:
=query(B2:C240, "select C where C<>B")
It gives me the first unique entry, but also lists all the other entries where B and C don't match up because of the offset.
AI: This can be done with FILTER by MATCH:
=FILTER(C2:C240,ISERROR(MATCH(C2:C240,B2:B240,0)))
Here, MATCH returns an error if the element is not found in column B (the third argument, 0, requires exact match). The command ISERROR returns true in such a case, and this is what the column C is filtered on.
In SQL, this would be implemented using, e.g., select ... where not exists ... The query language available in Sheets is not powerful enough for that. |
H: How can I search for a specific e-mail without flipping through every page each time?
I tried to search for such a question on this website but did not find anything really concerning to my real question.
So, I have got Gmail and I have a lot of e-mails. There are like 4000 or thereabouts. (I have never deleted e-mails from the 'All Mail' default label.)
Now I would like to search for a specific e-mail and I tried to search for it by turning on the search toolbar (CTRL + F).
But I do not really remember where this one e-mail is located - there are plenty of pages and I really do not know which one it is in, hence I ought to flip through every page every time and see if something has been found (it is marked in yellow).
But one gets really knackered, you know. How many pages are there for more than 4000 e-mails? You do not want to know, neither do I.
So, is there any way to sort messages? Had I better use Python?!
I will post below an image of my Gmail account so it will be helpful.
AI: No, you cannot change the sort of messages. They're always shown in date descending order.
Gmail is built on the premise that you don't need to delete anything and that the search powered by Google should help you find any message you could possibly want.
But you need to know what you're looking for. You can do a simple search on some text you know is in the message. If you know who it's from you can use from:somename@gmail.com in your search string. Did you happen to "star" the message so you could find it later? is:starred. Did Gmail mark it as "important"? is:important. Does it have an attachment? has:attachment. No? Then use negation: -has:attachment. Have you read it already? is:read. Do you remember about when you received it? Use the before: and after: search parameters.
There are a ton of search operators you can use to narrow your search. Have a look of the Gmail Advanced Search Operators support page for more. Use the operators in combination to find what you need:
This search will find all conversations containing "unique" and "text" that have been read, were received in May, and haven't been starred.
unique text is:read -is:starred after:2015/04/30 before:2015/06/01
For the future, use labels to organize your email so you can find it faster. |
H: How to change Quora profile URL
I have created an account with 'Example Name' (just for example) and I saw the url of my profile is showing something like this: https://www.quora.com/Example-Name-8 (This is just for example and not associated with anyone).
My question is how can I change my profile url ('Example-Name-8' with some customize name)? Is it possible I can create url according to me?
AI: No you can not change your profile url - The only way to do that is to change your name (which has to be your legit name).
The only reason you see that number after your name on the URL is because someone else may have the same name or that's just the way Quora creates there URLs.
If you want to get more in depth please see the quora forum on this question here:
Is it possible to change my Quora profile URL? |
H: Clear range of cells
I'm trying to make a script for Google Spreadsheets (which is my first time), by clearing a range of some cells.
So: for example I want to clear D5:D12 but not D13 and D14, but then again I want to clear D15:D20, but not D21, butD22:D30` must be cleared (and it goes on like this all over the sheet).
All I have now is this:
function onOpen() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var menubuttons = [ {name: "Clear Cells", functionName: "clear1"} ];
ss.addMenu("Functions", menubuttons);
}
function clear1() {
var sheet = SpreadsheetApp.getActive().getSheetByName('Blad1');
sheet.getRange('D5:D12').clearContent(),
sheet.getRange('D15:D20').clearContent(),
sheet.getRange('D22:D30').clearContent();
}
Hope you can help me to make this more easier. Because it's a lot of work to specify each range.
btw: all these cells are colored (orange color), is there a way the clear a specific color maybe?
AI: You can clear only the cells with orange background (color code #ff9900) by getting the background colors of all cells with .getBackgrounds() and then checking them for being orange.
function clearOrange() {
var sheet = SpreadsheetApp.getActive().getSheetByName('Blad1');
var range = sheet.getDataRange();
var bgColors = range.getBackgrounds();
for (var i=0; i<bgColors.length; i++) {
for (var j=0; j<bgColors[i].length; j++) {
if (bgColors[i][j] === '#ff9900') {
range.getCell(i+1,j+1).clearContent();
}
}
}
}
I knew the color code for orange used in Google sheets because I first ran this code with the "if" statement replaced by Logger.log(bgColors[i][j]);
The reason for (i+1,j+1) is that indices in JavaScript are 0-based while row and column numbers are 1-based.
Hypothetically speaking, if you didn't have orange background as the criterion for clearing, you'd have to specify the ranges explicitly; the script has to know what to clear. You could still shorten the script by putting the ranges in an array, as below.
function clear1() {
var sheet = SpreadsheetApp.getActive().getSheetByName('Blad1');
var rangesToClear = ['D5:D12', 'D15:D20', 'D22:D30'];
for (var i=0; i<rangesToClear.length; i++) {
sheet.getRange(rangesToClear[i]).clearContent();
}
} |
H: Multiple cells with same drop-down list, but disallowing duplicate selections
I'm looking to create a few drop downs in my spreadsheet where they share the same list of choices, but you can't select the same option twice. This is for choosing first, second, and third choices from a list.
AI: This appears to require a script (Tools > Script editor) because the validation rules available through the interface don't seem to support "in this list but not in that list". Here's a script that assumes the options are in cells A1:F1 and the dropdowns are in cells A2:C2. (It is a bit easier to code this logic with row-oriented data.)
Depending on your use case, you may decide to hardcode the options into the script; this is what I pointed out in a comment with the line var options = ...
The logic of the script is:
get options available
get options chosen ("rankings" in the script)
To compute the validation rule for cell I,
remove the value of this cell from rankings (.splice does this)
remove the remaining rankings from the list of available options (.filter does this)
Set the validation rule, prohibiting invalid values and showing some help text.
The above steps are executed when the document is first open, and then after each edit.
function onOpen() {
onEdit();
}
function onEdit() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var options = sheet.getRange("A1:F1").getValues()[0]; // or var options = ['q','w','e','r','t','y'];
var ranking = sheet.getRange("A2:C2");
var n = ranking.getWidth();
var current, remaining, rule;
for (var i=0; i<n; i++) {
current = ranking.getValues()[0];
current.splice(i,1);
remaining = options.filter(function(j) {return current.indexOf(j) < 0});
rule = SpreadsheetApp.newDataValidation()
.requireValueInList(remaining)
.setAllowInvalid(false)
.setHelpText('Choose distinct options')
.build();
ranking.getCell(1,i+1).setDataValidation(rule);
}
} |
H: My Gmail account is being used in another location
Actually, I do not know whether or not my Gmail account is compromised given the details.
I am on a desktop computer right now and logged in to my account.
I have got a Windows phone with Gmail synced but it is another account.
On the desktop computer, as soon as I log in, I can see a warning below on the right corner saying that My account is being used in another location. I click on Details and it says that my account is used in another location but strangely, it has got the same IP address of my current location. I told you that I do not have it on my mobile phone, and it is always being used here (neither on my laptop!). So what is going on?
BTW, maybe it's because I have the Hangouts open as you can see on the left of the below image. Or maybe not, because such a thing has never happened before, but only for three weeks.
AI: It probably is the Hangouts app. Other possible things might be if you've signed in to Chrome, Picasa, Google Music uploader, Google Photos backup, Google Drive. It could also be if you've logged in to Google with a different browser.
Since it's coming from the same IP, it's certainly something behind your router, so I don't think you have much to worry about. I'm no security expert, however.
One thing you can do is:
From Gmail, click the "details" link in the lower right, below any messages being displayed
On the activity page that is displayed, click the "Sign out all other web sessions" button
See what breaks
If it is Hangouts, or Google Drive sync, or whatever, you should get re-prompted to log in.
You can also have a look at your Google Account activity to get further clues.
Go myaccount.google.com and look in the "Sign in & security" section. You can see any recent security alerts (like a changed password), what devices have connected, and what apps are connected to your account. You can also do a "Security checkup" to see if you're at risk and to tighten down your account. At the very least you may want to change your password. |
H: Can Google decide to demote or promote a particular company in search results?
Let's say Google has fight with Apple, can Google decide to do so that when you search for "Apple" in Google, you won't find any references to the Apple company? Or, can you pay Google to make your website higher in the search results?
AI: It's Google's Search engine, and they can do with it what they want. They could set it up so that no Apple results appear in the search, but that would certainly make their search engine less valuable. If their search engine is less valuable, then fewer people will use it, resulting in lower revenue as there will be fewer ads served. Google won't do that.
And no, you can't pay Google to get better ranking in their search results. That's one of their main "selling points". (Search Engines before Google did do that, and as a result nobody trusted the results.) Paid links are fairly clearly delineated from the regular crawled content. |
H: Sort "Events Popular In Your Network" by date
In facebook, I like the Events Popular In Your Network page, but I want to see it in date order.
Possible?
AI: No, As of now its not possible. There is no way to sort Events Popular In Your Network by date. |
H: Is there an RSS feed available for Twitter notifications?
I would like to feed all updates to the Twitter notification tab into a daily digest of my email RSS feed reader. Is there a RSS feed available for new Twitter notifications?
AI: Not anymore. According to this official blog post, all RSS feeds that were provided by Twitter in the past were deprecated in 2013.
JSON is API v1.1’s only output format. XML, RSS, and ATOM response formats will be retired along with API v1. |
H: How to reference a fixed sheet name in Google Spreadsheet
I am doing reports from a set of data in Google Spreadsheet. As of now, I have several sheets, among them Raw Data and Processed Data.
In my Processed Data sheet, I use formulas such as: SUM('Raw Data'!A:A). However, if I rename the Raw Data sheet to Raw Data (old), all my formulas are changed to SUM('Raw Data (old)'!A:A).
While I find this a really nice feature, I was wondering if there was a way to force spreadsheet to reference the sheet named Raw Data, in a similar fashion $ works for cells, so that I can import my new data weekly and simply rename the newly imported sheet.
AI: While the formula added by Brian Bennet works, it takes a significant amount of time to update and feels somewhat clunky in an arrayformula.
Instead, I used INDIRECT to solve my problem :
A | B | C
------------------------------------------------------------
1| =SUM(INDIRECT("'Raw Data'!A:A")) | |
2| =SUM(INDIRECT(B2&"A:A")) | ="'Raw Data'!" |
3| | |
On the column A of this example, A1 is what I used for quick formulas, and A2 allowed for more modularity
However, as I used this formula inside ARRAYFORMULA, the refresh time of the array became erratic, especially when the sheet doesn't exist at first.
When the sheet doesn't exist, all cells in the arrayformula are marked #N/A. When I add the sheet Raw Data, even if I refresh my page with F5 several times, I still got the #N/A. I am unsure how to force the refresh. A few minutes afterwards however, the data is updated, and I can edit my sheet & the arrayformula is calculated instantly (calculation time is only very slightly impacted).
This might be another issue not necessarily related to my initial question, but I thought I should mention this behavior anyway.
As a side note : this fix doesn't work for pivot tables. I am still looking for a solution for that case. |
H: How to move from Asana to Trello
I want to move all the data for one project. Is it possible (migrate)?
I didn't found this option.
AI: There's no official support from Trello, but Todoport is a webapp which offers migration between various Todo apps |
H: Formatting cells based on upcoming date in Google sheets
I am trying to format a cell to be highlighted red if the following conditions are true:
the future date associated with that row (which is in a separate cell) is less than 21 days from today, and
the cell (which is the one I want to format) contains "no".
AI: Suppose the dates are in column A, beginning with row 2, and cells to be formatted are in column B. Then you'd use conditional formatting with custom formula
=AND(A2<TODAY()+21, B2="no")
applying it to the range B2:B. |
H: Why does Google Spreadsheets says Zero is not equals Zero?
After spending hours trying to figure out an error in my personal accounting spreadsheet, I could pin it up to one formula.
While this results in Zero
=((0,6-0,3-0,4)+(-0,3+0,8-0,4))
comparing it with Zero gives me false
=((0,6-0,3-0,4)+(-0,3+0,8-0,4))=0
What the heck am I missing?
AI: Thanks to the wonders of floating-point arithmetics,
((0.6-0.3-0.4)+(-0.3+0.8-0.4))
evaluates to approximately -5.55e-17 in double precision. This holds in JavaScript as well as in Google Spreadsheets. It does not really matter whether the computation is client-side or server-side: what matters is the number format used. It appears that Google Sheets use double precision.
The solution is the same: avoid equality comparison for floating point numbers. In your case, changing the units by multiplying everything by 10 would avoid the problem. |
H: Google Account deleted due to TOS violations
I receive the following email:
Is there any way to know what part of the TOS I am supposed to have violated?
AI: As far as I know Google never tell the user which clause of the TOS were infringed, so you have to check yourself what was done with your account. |
H: How to mention someone in a Wikipedia/Mediawiki conversation?
In Wikipedia talk pages discussions, I see people often mention each other.
Mentioned people receive a notification.
How to mention people?
For instance let's say I want to mention the user called Joe.
Solutions that work on all Mediawiki sites preferred.
AI: You can use the Wikimedia "pipe trick" to keep from having to repeat the username:
[[User:Username|]]
turns into
[[User:Username|Username]]
Wikipedia1 has some templates that are set up for this. You could just use the User link template
{{u|Username}}
To be more "Twitter-like", there's the ping template (aka "Reply to")
This template is particularly helpful in discussions that are not threaded, to indicate which user's comment is referenced.
{{ping|Username}}
results in
@[[User:Username|Username]]
More information at Wikipedia:Notifications
1 English Wikipedia. Other language versions likely have different templates (if they have any). |
H: How can I embed Photos from my Google Photos onto a Google Map?
I want to add some photos I took with my phone camera to a Google Map I am working on. There are 4 options when editing a marker for adding content.
Google Image Search
URL
Video Search
Youtube URL
When I try to use the share link from the photo in my Google Photos I get the following error message: We can't find the image at that URL.
I've tried posting the photo on Google+ and sharing that link and I get the same error. There is no option for uploading an image from your local drive.
I would think something like this should be pretty basic. Can someone explain to me how to do this?
AI: The shareable link that you get from Google Photos cannot be used in many applications, it doesn't just show the picture, it also puts it in a display showing the date (and any other pictures that you have included in the same shareable link)
Instead, you need to:
In Google Photos, click into the picture you want to use, so it is the only one on the screen
Right click, and choose Copy Image URL (that's the option in Chrome,
other browsers have slightly different words for the same action)
Paste that Image URL (not the shareable link) into the Image-URL
field in Maps. |
H: Fixing permission problems in cross-spreadsheet import when using Apps Script
I created a function in the Apps Script associated with a spreadsheet:
function importNotes() {
s = SpreadsheetApp.openById('spreadsheet-key').getRange('F2').getNotes();
return s;
}
Note that the spreadsheet the function is attached to is not the one that the note is being read from. Both are owned by me.
When I step through the function in the debugger, it works, e.g., sets the local variable to [['This is a note']]. (Of course, I use an actual spreadsheet key.)
When I put this in a cell in the associated spreadsheet:
=importNotes()
I get an error:
You do not have permission to perform that action. (line 3).
I've tried renaming the function to defeat caching and reloading the spreadsheet, but I continue to get the error.
How can I fix the permission problem?
AI: This is one of restrictions imposed on custom functions: they cannot perform tasks that require authorization, such as accessing user's files. From the documentation:
Unlike most other types of Apps Scripts, custom functions never ask users to authorize access to personal data. Consequently, they can only call services that do not have access to personal data, specifically the following:
[a list that does not include SpreadsheetApp]
To use a service other than those listed above, create a custom menu that runs an Apps Script function instead of writing a custom function. A function that is triggered from a menu will ask the user for authorization if necessary and can consequently use all Apps Script services.
Another solution, perhaps more suitable for your case, is to use ImportRange in your spreadsheet with the function, and access those cells. A custom function can access read-only methods of Spreadsheet service, such as getSheetByName, getRange, etc. |
H: How to output data from Column A and Column B to Column C automatically in Google Sheet
When I insert data in column A and Column B,
It should be automatically merged and added in column C.
A | B | C
===================
ABC CDE ABCCDE
AI: Just put a concatenation formula into every row in column C.
This is the formula to use if your values are text:
=A2&B2
I'm assuming that if they were numbers, you would not just want to glue them together. But you can extend the concatenation, like this:
=A2&"-"&B2
Here's a worked example, showing these formulas in use: https://docs.google.com/spreadsheets/d/1NhYydERaeuKwF_myMLEjAhq8cAKGl1nAeIDJmVNVERc/edit?usp=sharing |
H: When a LinkedIn invitation is withdrawn, is really no message sent?
Sometimes, I misclick and send an invitation to the wrong person on LinkedIn (mostly because the UI is sh*t on the add connection page). When I withdraw it, it says:
Is really no message sent? I thought a message was sent right away to when inviting someone.
AI: No Message will be sent to ... here it means when you withdraw an invitation, the recipient won't be notified about it.
When we invite someone, the person gets an invitation email, but when we withdraw an invitation, the person does not get any notification or email.
From the Help Centre:
(See the second point of the fifth point.)
You can withdraw an invitation if the recipient hasn't taken any action.
Click the Inbox icon in the top right of your homepage.
Click Sent on the left.
Find an invitation without "Accepted" next to the name.
Click the subject line of the invitation.
Click Withdraw.
If the Withdraw button isn't there, the invitation can't be withdrawn. It may have already expired.
The recipient won't be notified about a withdrawn invitation.
If you change your mind, you'll need the recipient’s email address to send them another invitation. |
H: Can you do a UNION SELECT in a Google Sheet?
I've got a Google Sheet linked to a form which collects replies from three different people on the same subject using the same form and editing three times. This creates a sheet which contains three columns stating where the three people are located.
I need to produce a view/query that takes those three columns and puts them 'underneath' each other, and not next to each other. In a database I would have done something like the query below, I've called my 'sheet' tblMain, and stated the relevant four columns (I also need the subject ID).
tblMain:
ID RALocation RBLocation RCLocation
Query:
Select ID, RALocation as Location, 'RA' as Role from tblMain
Union
Select ID, RBLocation as Location, 'RB' as Role from tblMain
Union
Select ID, RCLocation as Location, 'RC' as Role from tblMain
Does anyone know if there is a way of doing this in Google Sheets? I don't mind building more than one sheet and then combining them at the end, but I'm a bit stuck at how to do this.
AI: I offer two versions, depending on whether blank cells should be kept. The basic idea is the same:
Pick a character that is not contained in your table (e.g., an exotic Unicode character accessible via CHAR).
Use it in the JOIN command for each of three columns.
Concatenate the results, adding the character in between.
SPLIT the concatenated string by the same character.
TRANSPOSE the result.
For example:
=TRANSPOSE( SPLIT( JOIN(CHAR(57344),A1:A) &CHAR(57344)& JOIN(CHAR(57344),B1:B) &CHAR(57344)& JOIN(CHAR(57344),C1:C), CHAR(57344) ) )
where for joining/splitting, I picked the character CHAR(57344), which is designated for private use and therefore should not be present in any valid input.
The above formula removes blank entries, because this is what SPLIT does. This may be convenient if your data does not have blanks: saves you the trouble of tracking where the last row of the data is. But other times, blanks should be preserved.
To preserve blanks, I follow the answer by Jacob Jan Tuinstra except that I used another private use Unicode instead of space (who knows, maybe you have some cells that contain just a space and you want to keep those). This involves two extra steps: after joining everything as before, I use SUBSTITUTE to replace CHAR(57344) by CHAR(57344)&CHAR(57345), then split as before, and replace CHAR(57345) by empty string.
=TRANSPOSE( ARRAYFORMULA(SUBSTITUTE( SPLIT( SUBSTITUTE(...joins... , CHAR(57344),CHAR(57344)&CHAR(57345)), CHAR(57344) ), CHAR(57345), "")))
The full result looks like this (notice that now I specify where the last row of data is):
=TRANSPOSE( ARRAYFORMULA(SUBSTITUTE( SPLIT( SUBSTITUTE(JOIN(CHAR(57344),A1:A9) &CHAR(57344)& JOIN(CHAR(57344),B1:B9) &CHAR(57344)& JOIN(CHAR(57344),C1:C9), CHAR(57344),CHAR(57344)&CHAR(57345)), CHAR(57344) ), CHAR(57345), "" )))
One more caveat: strings in Google Sheets cannot exceed 50000 characters in length. If your data is too large for string-based approach to work, use a script (this one is a good place to start). |
H: I want to move all my "following" to a "private list" on Twitter
Is there a way to automatically move all of the people I'm following from my "Following" to a "Private List" I created on Twitter?
AI: It seems that twitlistmanager could do the job, although I haven't tested it. |
H: Possible to add multiple markers to a map and share a link in Google Maps anonymously?
Say, I go to http://maps.google.com (which these days redirects to https://www.google.com/maps) in my web browser. I can use the Search, and when my address is found, a (red) marker is added on the map. I can then copy this link and send it to someone else - and this works "anonymously" (that is, I don't have to be logged in to Google to do this). When the link is then opened, the marker is there.
How would I go about adding a second marker on the map like this? If I do another search, and a location is found, then the previous marker is deleted, and a new marker added at the new location - the link then changes to point to the newly added location, without reference to the old one.
I guess one way to do it would be to make a "custom map", as per the answer in How to highlight an entire route or way on an online map? - but requires that you are logged in with your Google account.
So how could I add multiple markers anonymously, and generate a shareable link to a map containing all of them?
AI: Go to Google My Maps, and click the Create a New Map button. Use the map-making tool to add as many markers as you want. Then click the Share button in the left-hand panel.
That gives you a link that can be shared, as well as options to share it via Twitter, et al.
The map which is opened with the link doesn't say who the map owner is. |
H: How do I find common attendees in two Facebook events?
If given two public Facebook events, is it possible to find common event attendees?
AI: There is no direct way to find common attendees.
But you can use some tools and export the guest list of Facebook events. Then compare both list to get common attendees.
There are some tools to export the guest list:
evu.li (Exports to CSV)
Attendium |
H: How do I remove myself from Google+ search?
Sorry if this is confusing.
I received notification in my Gmail saying someone added me to their circle and invited me to join Google+. I'm assuming Google+ allows users to find people by name or email address. That person doesn't have my email address, so I guess that leaves my name.
I'm not on Google+, so I don't know why I'd be searchable. I want to make sure strangers can't just type in my name in Google+ and actually be SHOWN my Gmail address or otherwise have me come up at all regardless of what it shows them. Is that possible?
AI: As you suggest in your comments, they can find you with your alternate mail—the mail you add in case you lose your password / other security reasons.
If your contact has a Google profile associated with any email address, including an alternate email address, or profile link you’ve stored in that contact’s entry, you'll see information from their profile beneath the information you've entered. Only information the contact has made public, or has allowed you to see, will be visible to you.
Source.
The same goes for Google Drive. I usually share files with Hotmail addresses and they are automatically changed to the associated Gmail account.
P.S.: I think that Google automatically creates a Google+ account for you. Even if you don't want it to. Anyway, review your privacy settings on Google+. |
H: Extracting GICS codes from Fidelity website
This is the website:
https://eresearch.fidelity.com/eresearch/goto/evaluate/snapshot.jhtml?symbols=aapl&type=o-NavBar
I'm trying to pull out the following two pieces of data into a Google Sheet:
Sector (GICS®)
Industry (GICS®)
That is, I want the following two to show up for the above:
Information Technology
Technology Hardware, Storage & Peripherals
I've tried the usual techniques including:
importData
importHTML
importXML (this gave an error).
The XPath's I've derived via Google's Inspect Element tool are:
//*[@id="companyProfile"]/div[8]/span/a
//*[@id="companyProfile"]/div[13]/span/a
Nothing has worked so far. How can I extract this data into a Google Sheet?
AI: The command IMPORTXML ignores the nodes with no text content: for example, taking //div[3] from the document where the body consists of
<div>First</div> <div>Second</div> <div></div> <div>Fourth</div>
results in "Fourth". So, when you count the <div> elements, skip over those where there is no text. The elements you are looking for are returned with
=IMPORTXML( url , "//div[@id='companyProfile']/div[4]/span")
and
=IMPORTXML( url , "//div[@id='companyProfile']/div[5]/span")
For a more robust solution, I advise not relying on the numbering of elements at all. The following command returns both values you want with a single call, one under another:
=IMPORTXML( url , "//div[@id='companyProfile']/div[@class='sub-heading']/span")
You can apply TRANSPOSE to the result to put them side by side, if preferable. Or, if some custom positioning is needed, get one at a time with
=IMPORTXML( url , "//div[@id='companyProfile']/div[@class='sub-heading'][1]/span")
and
=IMPORTXML( url , "//div[@id='companyProfile']/div[@class='sub-heading'][2]/span")
Note that one should use single quotes in an XPath command, since it's a string surrounded by double quotes.
Using Inspect Element tool is not an inherently bad idea (it shows a nice tree view of the document), but there is an important caveat: this tool shows the document after any JavaScript runs on the page, while IMPORTXML gets the source as it is before any JavaScript processing. This matters when some elements get added by a script (example in my answer here). To see exactly what IMPORTXML works with, use right-click -> "View Page Source" in Chrome, or its equivalent in other browsers. |
H: Keyboard Shortcut to go to "Sent" in Google Inbox
In Gmail, I used to be able to press g t to go directly to the "Sent" emails folder. After switching to Google Inbox, this keyboard shortcut does not seem to work anymore.
Still, Google Inbox has keyboard shortcuts for navigating to the inbox (i) or setting up a reminder (t). The lack of a shortcut for the Sent folder puzzles me. Was this keyboard left out deliberately? If that was the case, is there any way to bring this shortcut back without switching back to the original Gmail interface?
AI: Short answer
At this time Inbox by Gmail doesn't have a keyboard short to go to Sent.
Alternatives
Set a bookmark to go to https://inbox.google.com/u/0/sent
Use a keyboard shortcut manager extension
How to know the available keyboard shortcuts for Inbox by Gmail
From Keyboard shortcuts for Inbox on a computer
Save time going through your inbox and composing emails with keyboard
shortcuts.
See the list of keyboard shortcuts
1. Open Inbox on your computer.
2. Hold Shift and press ? on your keyboard.
3. You'll see a list of available keyboard shortcuts.
If you don't see the list of shortcuts, you'll need to turn on keyboard shortcuts. |
H: Facebook learns my typeahead searches - how to "delete"
I have already deleted my search history but it seems that Facebook learnt my searches. Eg. There are 4 names starting with xy: xya, xyb, xyc, xyd Once I have searched for xyc and after it I have also deleted the logs. But now every time I type xy into the search input box, Facebook shows the name of xyc instead of showing all the names starting with xy or just some names eg. xya, xyb... It specially shows that name I have already searched.
How can I disable this?
How can I remove the names?
If 1,2 are not possible is there any workaround?
E.g. teach Facebook xyb instead of xyc?
I think this is against privacy.
The mentioned people are not my friends, not my followers, I am not their follower.
It is a fact that when I use Facebook from my PC I don't get the same typeahead suggestions as on mobile. The mobile ones annoy me, I would like to delete them but I am unable.
AI: This is basically weighted searching. If you've been searching for xyc constantly then it makes sense to have that as the first item. The only way to override this will be to search for xy then continually choose consistently an option other than xyc. Depending on how long you have been searching for xyc will determine how far down xyc gets pushed in the list.
If you believe this is a breach of privacy you should report it to Facebook.
Summary: No, there is no way to delete this. |
H: How do I share photo with only one person instead of circle?
I've uploaded my photos to Google Photos and I want to share them with only one person. I don't want to use share-link, because it's visible for everyone who has it, isn't it? I cannot be sure that the person wouldn't forward it to someone else.
I'm looking for a way like Google Drive has. The photo should be visible only when the person is logged to Google account.
Is there a way how can I achieve that?
AI: Yes, you are right. If you share a photo via link it would be visible for everyone who has the link.
You can share your photos with a specific person by following these steps:
From Share a photo album:
Open Google+. Place your cursor in the top left corner for the Google+ main menu.
Click Photos icon Photos > More at the top of the page > Albums.
Click the album you wish to share > Share button at the top right.
Add your comments & select who to share with. You can share with someone who is not on Google+ by entering their email address in the To field.
Click Share. |
H: Google Keep search options
I would like to organize my Google Keep notes, using the labels feature. Is there any way to show only notes without a label?
AI: Nope, doesn't appear to be so. You should use the "feedback" feature to let them know that that's something you want.
The closest thing available is that you can filter by color. (Color used to be the only way to organize your notes.) If you're consistent about applying a color to items that you've also labeled, you can search for color of "None".
(For what it's worth, the Android app is the same.) |
H: Delete all my YouTube content
I want to delete all my YouTube content including my uploads, likes, subscriptions and all. Also I tried deleting it from link -https://myaccount.google.com/deleteservices?pli=1
Everything was perfect, and I get the display content deleted successfully but still anybody find my content on net. I don't want anybody to see my content on net. Actually when anybody search YouTube with my name he gets into my YouTube page and can see my liked videos, but I want that nobody can see that. How can I do this?
AI: My problem is fixed by the link - https://myaccount.google.com/deleteservices?pli=1
.Actually if you want to delete the youtube content completely then first delete youtube a/c and then recreate it.
And the only way to delete your YouTube account is to delete the Google+ profile associated with it.
Deleting your Google+ account will not affect other Google products such as Gmail or Drive.
Your emails and stored files will not be deleted. All photos uploaded to Google+ will still be accessible via Picasa.
You will not lose your contacts, though they will no longer be organized by Circles.
You will not lose any Google+ pages you own or manage.
You will lose access to your Google+ profile and all of your +1s.
Now to delete google+ a/c follow the link-http://www.wikihow.com/Delete-a-YouTube-Account |
H: How do I use a negative DURATION formatted cell from Google Spreadsheets in Google Scripts?
I'm using Google Spreadsheets and I have a sheet in the following format:
Start | End | Partial result | Expected | Total
08:00 | 12:00 | 04:00 | 05:00 | -01:00
14:00 | 18:00 | 04:00 | 05:00 | -01:00
----------------------------------------------------
| Month tot| -02:00
As you can see, it allows for negative duration stamps. This is causing me a lot of trouble in Google Scripts.
I want to email everyone a monthly summary.
Here's a simple snippet:
var sheet = SpreadsheetApp.getActive().getSheetByName(...);
var monthlyTotal = sheet.getRange(1, 1).getValue(); //The total is at cell A1
Now, when I debug, it shows my monthlyTotal as a Date object, set to Tue Dec 26 1899 14:50:28 GMT-0300 (BRT) (this is quite correct, my result is -81:16:00, it subtracted 81:16 from 1900-01-01 00:00:00, no issues there).
Now, I have no idea how to get back to a duration format (-81:16). I have tried converting this date object to a negative timestamp, but +monthlyTotal returns what I believe to be a wrong value (-2212132172000).
I have no idea how to turn a Date object from before 1900 to a timestamp and, as a consequence, I don't know how to proceed.
AI: Short answer
Don't use .getValue() on date/time cells. Instead, put =TO_TEXT(A1) somewhere (or already have A1 containing something like TO_TEXT(SUM(E2:E)), and use .getValue() to get that string. Numbers and strings pass between sheets and scripts reliably, unlike dates and times.
Explanation
Unlike the Unix operating systems for which the epoch begins at 1970-01-01, Google Sheets use December 30, 1899 0:00:00 as 0 time, which you can see by entering =TO_DATE(0) anywhere in your spreadsheet.
In principle, you could apply .valueOf() to the duration value returned by .getValue(): this returns the JavaScript timestamp, which is the number of milliseconds from the beginning of 1970. Dividing by 1000 gives the Unix timestamp.
However, this is problematic because Unix timestamp and consequently JavaScript timestamp are measured from the moment 1970-01-01 00:00:00 in UTC, while the 0 mark of Google Sheets is in the local timezone.
If you try to adjust for timezones using new Date().getTimezoneOffset(); be warned that script time zone may be different from sheet time zone: documentation says this is "a frequent source of scripting bugs". The method Spreadsheet.getSpreadsheetTimeZone() gives the timezone of Spreadsheet itself, but it's returned as a string like 'America/New York', which does not directly translate to an offset. |
H: Google sheets average between cells
I want to fill in the blanks between these cells with the average difference: i.e., because there are 11 blank cells between 0.234 and 0.334 the first blank should be 0.234 + ((0.334 - 0.234) / 11). How can I write a formula to fill in those gaps automatically?
AI: In principle, this could be done without a script... but it's really ugly. Already looking up the nearest nonempty cells (up and down) is nontrivial (and slow), and it gets much worse when you start writing data into the column, thus changing what's empty or not (circular dependency). One could calculate in another column and then paste the values... but it's better to just use a script.
The script below adds a custom function "Interpolate" to the menu, when the document opens. Place the cursor to any cell within a gap, and use the menu command.
Although the function interpolate() looks long, the logic is very straightforward. Among the advantages of a script solution is robust handling of edge cases: there is no data above, there is no data below, the data isn't numeric, or the gap doesn't actually exist.
function onOpen() {
SpreadsheetApp.getActiveSpreadsheet().addMenu("Custom", [{name: "Interpolate", functionName: "interpolate"}]);
}
function interpolate() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var height = sheet.getDataRange().getHeight();
var cell = sheet.getActiveCell();
if (cell.getValue() !== '') {
return;
}
var row = cell.getRow();
var column = cell.getColumn()
var values = sheet.getRange(1, column, height, 1).getValues();
for (var i=row-1; i>1; i--) {
if (values[i-1][0] !== '') {
break;
}
}
for (var j=row+1; j<height; j++) {
if (values[j-1][0] !== '') {
break;
}
}
var a = values[i-1][0];
var b = values[j-1][0];
if (typeof a == 'number' && typeof b == 'number') {
var insert = [];
for (var k=1; k<j-i; k++) {
insert.push([a+(b-a)*k/(j-i)]);
}
sheet.getRange(i+1, column, j-i-1, 1).setValues(insert);
}
} |
H: View a ruler in Google Drawings
I am trying to draw an image as follows, using Google Drawings:
I need these lines to be equidistant. Currently, I did that by using a square from top to first marking line. For this to be easy, I need rulers to left and top. For example see the following screenshot from Word:
Is there an option to turn on a ruler or something similar in Google Drawings?
AI: Short Answer
Google Drawings doesn't have a ruler but it has "alignment, snap to grid and auto distribution" (see [2]) features. Alignment and distribution guides are automatically shown when the user moves one of the objects near to other objects that could used as reference to calculate the guides measures.
Remarks
As far as I know it's not documented in the official help articles or they were removed while others still include links to them, i.e. "Snap to guides"
References
[1] Docs editors help
[2] Paint and create charts and diagrams with Google Drawings |
H: Inviting people not on Facebook to a Facebook event?
I am pretty sure it used to be possible to invite people who didn't have a Facebook account to a Facebook event, by email. However, I can no longer find a way to do this; the "Invite" link on a Facebook event page only seems to allow you to invite from your existing friend list?
Is it possible to invite non-Facebookers?
AI: Yes, but not directly from Facebook and without the RSVP-on-Facebook Function.
There are three possible workarounds:
On the event-detail-page, on the right side under the cover, press the menu-button (···) next to the invite-button. Choose "Export Event" and you will download an ics-file (this is
an iCalender-file). Then you could write your non-Facebooker an
Email and attach the ics-file. The recipient's mail-client will
recognize the ics and will offer to add the attached event into the
personal calendar of the recipient.
You could invite anybody via Email also from your calendar, so you could have your personal RSVP-group. For that you export the event like described in the first possibility into your calendar and then invite anybody through your calendar's invite-option.
You go to the upcoming-events-page and look on the right sidebar for the last box which starts with "You can add your events to Microsoft Outlook, Google Calendar or Apple Calendar". There is a link "Upcoming Events" that you can subscribe into your calendar again, with all your upcoming events (so you'll have all Facebook-Events inside your Calendar). Then you can invite again as usual via calendar/mail. This last "list-subscription" is useful if you invite people to FB-Events via mail often and don't want to always export every event separately. |
H: Best way to migrate Google Account to another
I'm looking to migrate my current account, created years ago when I was a child and with a badly unprofessional nickname, to another more serious Google account.
My current account is connected to many services and has also a Google Drive billing associated to. I have Photos on Google Photos and a Google+ Profile with pages. Moreover I have bought Android Apps on Google Play Store.
The Google Takeout tool is less useful then before, is not possible anymore to migrate automatically the Google+ connections and circles.
For what I can understand the situation will take a lot of effort; in any case what would the best strategy be to migrate completely a Google account to another?
AI: Was your original Google account created with a gmail address (eg youngster@gmail.coem)? If so, then I don't believe that there is one solution for this. Instead, you need to transfer ownership of the artifacts created by each individual service to the new account. This is more than just taking a copy of the data and making it available to the 2nd account (what Takeout can help with), it's about giving control of the orignal data to the new account.
The way to do this is different for each service (and it's possible that there are services that don't have a method for doing it. Ones I know something about:
You can use Picasa web albums to transfer ownership of photos
(includes Google Photos and Google+ Photos) to the new account. The
last time I looked, it was only possible to do this once in the
lifetime of the albums - so make sure you get it right the first
time.
Feedburner - transferring ownership of feeds is very easy, read about
it in their help.
Gmail - is the one service where you don't transfer ownership, just
use Takeout to tranfer the contents.
Blogger - itself is simple enough to transfer blog ownership, but the
problems arrive if you want to move photos as well: the links may
bread.
On the other hand, if your original account name is not a gmail address (eg youngster@oldISPmailService.com), then you can simply:
Create a new professional email account somewhere (eg
grown-up@myDomain.com)
Switch the primary email address associated with the Google account
to the new email.
Set a the display name for your Google account to something
professional.
Check the display names in any associated services which have their
own separate profiles (eg Blogger did, and I think still does)
Keep logging in to Google using the original account name, but
confident that no one else is seeing it any more. |
H: Is it possible to restrict a Google Drive app's permissions to a specific folder(s) (and subfolders)?
When installing an app for Google Drive, depending on the app, access to the filesystem is required and requested at the time of install.
Is it possible to restrict this to specific folders(s) and their subfolders?
For example a photo editor or diary app, or Notepad for Google Drive - https://drivenotepad.appspot.com/.
Why would such apps need to be able to access the whole filesystem?
Or even perhaps the user wants to simply restrict where the App can access.
If not it might not be a bad idea, security-wise.
AI: Short answer
At this time it's not possible to restrict access to folders, but its possible to restrict access to files.
Remarks
Feature request should be directly send to Google. This could be done from Google Drive itself, Help > Send feedback, and/or through the Official Google Drive Help forum.
References
Security of Google Drive apps - Drive Help |
H: Why can't I use my domain name as Facebook web address?
I'm trying to set up a Facebook page for my website, let's call it mywebsite.com.
I'm trying to use my domain name as web address:
Choose a unique Facebook web address to make it easier for people to find your Page. Once this is set, it can only be changed once.
When I enter mywebsite.com, I get the following message:
mywebsite.com is taken. Please choose another Facebook web address.
Too bad, I thought. Already reserved. So I tried with one of its subdomains:
fr.mywebsite.com is taken. Please choose another Facebook web address.
Basically, it looks like anything looking like a domain name (containing dots) is "taken":
dfsjkfdhkjsqhkjdfkqsdf.com is taken. Please choose another Facebook web address.
Is it a misleading error message to say that Facebook actually forbids dots in web addresses, or is there a specific place to create Facebook pages for websites?
AI: From the Facebook Help-Center regarding your Facebook Web Address, this is the section that is relevant to your issue:
What are the guidelines around creating a custom username for my Page or profile?
Here are a few things to keep in mind when you create a custom username:
You can't claim a username someone else is already using.
Choose a username you'll be happy with for the long term. Usernames are not transferable, and you can only change your username once.
Usernames can only contain alphanumeric characters (A-Z, 0-9) or a period (".").
Periods (".") and capitalization don't count as a part of a username. For example, johnsmith55, John.Smith55 and john.smith.55 are
all considered the same username.
Usernames must be at least 5 characters long and can't contain generic terms or extensions (ex: .com, .net).
You must be an admin to choose a username for a Page.
Your username must adhere to the Facebook Statement of Rights and Responsibilities.
In Summary
You are not allowed to use .com in your Facebook Vanity URL.
Try entering just "mywebsite" instead. |
H: How to mark a question as duplicate on Quora?
I was looking for an option to mark duplicate a question on Quora but didn't find. Is there any option to mark a question as duplicate?
AI: Short answer
Yes, there is. It's called "Merge".
How to
Once you've found a question that you think has duplicates, click or
tap “Merge Questions” in the more menu on that question to get
started.
References
What's Quora's policy on merging questions? - Quora
Introducing Question Merging - The Quora Blog |
H: Disallow people to search you by phone number on Facebook
On Facebook, people can find you by searching the phone number you have linked to your account.
(Try it now.)
I’ve gone to Profile → About → edit your contact and basic info and it shows that the phone number is only visible to me.
However, people can still search and find me by it.
I don't want to remove the number completely—because the phone number is good for recovering your account—, but I don’t want to be found by it. How can I disallow this?
AI: The setting you're looking for is actually on the Privacy tab in your settings.
Change it from "Everyone" to "Friends", and only people who you are in your Friends list will be able to find you by your phone number. |
H: Send email If one cell is greater than or equal to another
For some reason this script is not working and I was wondering if someone may guide me on fixing this?
In my Google Spreadsheets, I just want the value in cell A2 to send an email if it's greater than or equal to the value in B2. I have gotten it to work if it's a specific number or word but not sure if it what I'm doing wrong here to compare cells.
function ifstatement() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getSheetByName("data");
var value = sheet.getRange("A2").getValue();
if(value >= "B2") sendEmail(value)
};
function sendEmail(value){
var recipient="fakeemail@gmail.com";
var subject=" test subject " +value;
var body=" test body "+value;
MailApp.sendEmail(recipient, subject, body);
};
AI: if (value >= "B2") ...
That's just comparing value to the string "B2". You wanted to compare to the content of the cell B2. That is,
if (value >= sheet.getRange("B2").getValue()) ... |
H: Sign up to Messenger with just a phone number already used on a deactivated Facebook account - will the account be reactivated?
Facebook has recently started allowing sign ups for Messenger with only a phone number instead of a full Facebook account.
So:
If I sign up to Messenger with only a phone number
And I have previously used that number as an account recovery mechanism for a full Facebook account
And that account has since been deactivated (but not deleted)
Will Facebook join the dots and attempt to reactivate my dormant full Facebook account when I try to sign up on Messenger?
AI: Facebook will recognise the number and tell you to either:
"Log in with Facebook" (thus connecting your full account)
or "Continue signing up" (which will keep your new Messenger identity separate, and you will go on to enter a first name, last name, and optionally a photo).
If you do this separate phone number sign up, and you search for your own name in the contact search screen, you may be able to find what looks like a full Facebook profile of yourself. Nope, they did not reactivate your full account. They actually seem to create a new Facebook account with your name, phone number, and profile photo all publicly visible - this is presumably their chosen way make you discoverable to people with full Facebook accounts.
Source: Messenger for iOS (UK) |
H: How to intersperse responses within body of Gmail message?
I usually respond to email in Thunderbird, and there I know how to intersperse a response or comment within the message.
How does one do that in Gmail (in the browser)?
AI: Some of this will depend on your personal settings. Assuming yours are close to mine, here's one way to do what you want to do.
Reply to the message (as normal)
Click the button that looks like an ellipsis at the bottom of your reply pane.
(If you hover your mouse it will tell you that it will "Show trimmed content")
This will expand the quoted text for you. Quoted text is indicated by a line on the left margin
Place your cursor in the spot where you want to break up the quote and hit Enter twice. This will form a break in the quoted text. Add whatever part of your reply you need to here.
Repeat for each individual break in the quote where you want to write.
Finish by cleaning up the other bits. You may want to remove your correspondent's signature, and perhaps the default heading above the quote. My signature is set to appear above the quoted text, so I generally move it if I do this.
If, for some reason, part of the reply becomes "unquoted", you can re-apply the quote format by selecting the text you want to change and using the "Quote" tool under "Formatting options" (or Ctrl-Shift-9). |
H: How to stop your YouTube comments/activities from showing on Google+
I don't want anyone know what videos I’m watching/liking/commenting or any of my activity from YouTube to show on my Google+ page or stream.
I found a few settings on the privacy page:
But I can't find any settings for comments.
AI: Update: You don't have to do anything.
The comments you make on YouTube will now appear only on YouTube, not also on Google+
The only YouTube activity that gets posted to Google+ is comments. To stop that from happening simply uncheck "Also share to Google+" when commenting. |
H: How can I find the ID of my LinkedIn account?
How can I find the (numeric) ID of my LinkedIn account when I have already set a public profile URL?
Public URL setting
The ID would part of the URL, but it is not there now that I have a public profile URL. Is it somewhere in a settings page (I tried to look in "Privacy & Settings")? Or is there some other way to find it without changing the LinkedIn profile (as there is a risk of losing the already-assigned public profile URL - breaking links on other sites)?
AI: Once you're logged in
This will bring up a new URL in the browser which looks something like this.
https://www.linkedin.com/profile/view?id=46036342&trk=hp-identity-name
In my case from the above URL, the ID is 46036342 |
H: How to delete a group of cells and shift the rest up?
In MS Excel, it is possible to select any rectangular range of cells and delete it in such a way that the cells below the deleted range move up to fill up its place. This feature is helpful, e.g., when one has two lists side by side for comparison, and a record needs to be removed from one of two lists.
In Google Sheets, one can delete an entire row and then the contents below it move up. How to do the same with a part of a row, or a general rectangular block?
AI: Apparently, this requires copy-pasting:
Delete the block
Copy the data below it
Paste it to the empty space.
(The first step can be skipped, although this may increase the risk of pasting to a wrong position.)
If you find this tedious after a while (as I did), a script can do the same. The script below adds a menu item "custom / "delete and shift up", which removes any selected range in the matter described below.
(The script is a bit longer than I expected at first, because I wanted to avoid moving long columns of empty cells, while simultaneously covering the possibility that a user may select a range than goes outside of the current DataRange.)
function onOpen() {
SpreadsheetApp.getActiveSpreadsheet().addMenu("Custom", [{name: "Delete and Shift Up", functionName: "deleteAndShiftUp"}]);
}
function deleteAndShiftUp() {
var sheet = SpreadsheetApp.getActiveSheet();
var totalHeight = sheet.getDataRange().getHeight();
var totalWidth = sheet.getDataRange().getWidth();
var toDelete = sheet.getActiveRange();
var firstRow = toDelete.getRow();
var firstColumn = toDelete.getColumn();
var lastRow = Math.min(toDelete.getLastRow(), totalHeight);
var lastColumn = Math.min(toDelete.getLastColumn(), totalWidth);
var height = lastRow-firstRow+1;
var width = lastColumn-firstColumn+1;
if (height>0 && width>0) {
if (totalHeight>lastRow) {
sheet.getRange(lastRow+1, firstColumn, totalHeight-lastRow, width)
.copyTo(sheet.getRange(firstRow, firstColumn, totalHeight-lastRow, width));
}
sheet.getRange(totalHeight-height+1, firstColumn, height, width).clear();
}
} |
H: Automatically add rows daily and append previous day's data
I currently have a small database that gets data dumped into it manually every day that looks like this. Each day the data below will be dumped (just with updated date in column A)
On another sheet I am trying to create a daily snapshot of the total cash that is in the machines (E:E + F:F + G1) and the total volume (C:C) on a specific day. In this case it would be for 7/27/15. Hopefully looking something like this:
What I would like is for each day that I add in new data to the original sheet that the sheet with the formulas appends the previous date and adds in a row with todays formulas/data. Like this:
Hopefully someone out there understands what I am trying to accomplish. I understand formulas quite well with sheets I just tried to word and present my problem as clearly as possible as no formulas that I've tried have worked.
AI: Without a script
First, fill column A of the second sheet with
=IF(TODAY()-ROW()+2>=DATE(2015,1,1), TODAY()-ROW()+2, "")
where DATE(...) is the date that your records begin. This creates a reverse-chronological list of dates, beginning with today. It will be automatically updated as TODAY() changes. As any non-script solution, this approach is limited by the fact that formulas can not add rows to a sheet. So you should give the second sheet plenty of rows to begin with.
In column C, put formulas like
=IF(A2="", "", SUMIF(Sheet1!A:A, "="&A2, Sheet1!C:C))
totaling the C amounts for a given date, if there is a date.
In column B, put something similar:
=IF(A2="", "", SUMIF(Sheet1!A:A, "="&A2, Sheet1!F:G) + VLOOKUP(A2, Sheet1!A:G, 7, FALSE))
where VLOOKUP takes one value from column G.
A disadvantage of the above is that the calculations will be slow because all the data on Sheet2 are recalculated every day.
With a script
A script can use the same formulas as given above: no need to replicate the logic. Additional benefits:
rows inserted automatically
possible to freeze archived values in Sheet2, so that if someone goes back to fudge the books in Sheet1, the record in Sheet2 will stay.
Here is such a script:
function daily() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sh = ss.getSheetByName("Sheet2");
sh.insertRowAfter(1);
sh.getRange("A2").setFormula('=A3+1');
sh.getRange("B2").setFormula('=SUMIF(Sheet1!A:A, "="&A2, Sheet1!F:G) + VLOOKUP(A2, Sheet1!A:G, 7, FALSE)');
sh.getRange("C2").setFormula('=SUMIF(Sheet1!A:A, "="&A2, Sheet1!C:C)');
var freeze = sh.getRange("A3:C3");
freeze.copyTo(freeze,{contentsOnly:true});
}
The code is mostly self-explanatory: a row is added and filled with formulas. The two lines with "freeze" are optional: they replace the formulas in yesterday's row with the calculated values. If you don't want this to happen, remove them.
Column A should be formatted as "date" so that it displays correctly. You will also need to put a date in A2 to get the process started; subsequent dates will appear automatically.
To have the script run daily, add a trigger from the Script Editor: it's under "Resources > Current project's triggers". You can pick the hour of day when the script should run. |
H: How to get Google Docs results to appear in Google Search results?
I use Google Docs rather than a blog to write articles and I'd like them to be readable by the public. But I've never seen Google Docs results in Google Search results.
Is it possible?
How do I make it appear?
AI: You can use Google Docs as your writing tool, but you will have to use a blogging platform as your publishing tool.
There are a few options for this.
The simplest is to write a post in Docs, copy the content and paste it into a blog post. I'm not sure how well this will work in the different blogging platforms. I did test a few years back whether it works in Blogger - and it did provided the formatting wasn't too complex. (My previous results are described here.)
Another option is to use Docs "Publish to the web" feature. To do this, first share your Doc as Public on the Web. Then choose File > Publish to the web, go to the Embed tab, and copy the code provided. Then do to your blogging platform, make a new post, go into HTML mode in the post-editor and paste the code in. Publish that. (You will need to put in the post-title manually.)
Another option is to combine the Email as Attachment feature from Docs, and the post-by-email feature of a blogging platform. You might have to experiment to see how well this works: I just tried it with a very simple Doc and Blogger, and it showed the content of the post as well as a link to the embedded document. More testing would be needed here, I think.
One constraint on all of these approaches is that they will not work well, or at all, with images. I cannot think of any way around this, apart from manually adding them to your posts after you have published them from Docs. |
H: "Clean" join() without excess delimiters?
I'd like a function in Google Sheets to concatenate elements with a chosen delimiter like join(), but without excess delimiters at beginning, end, and between null elements. I accomplished this with REGEXREPLACE() as below:
With Formula 3, delimiters are neither first, last, nor repeated. However, the formula is long and unwieldy.
Is there a better approach? On my small spreadsheet, speed is not an issue. I know I could write a custom function, but would like to avoid that if possible.
Use of filter() as suggested by NormalHuman solves the problem when the elements to be joined are in a contiguous range. Is there also a good solution without resorting to join(split(join(...))) when selecting individual cells as in:
=join(char(10), g3, f3, h3, i3)
AI: I describe two ways to do this.
Using Filter command
You can join while ignoring empty cells with
=JOIN("~", FILTER(B3:E3, LEN(B3:E3)))
The command FILTER selects only the entries with nonzero value of LEN, i.e., nonempty one.
For non-contiguous input range, such as g3, f3, h3, i3, you can use {array} syntax:
=JOIN("~", FILTER({g3, f3, h3, i3}, LEN({g3, f3, h3, i3})))
Using Join-Split-Join
The previous method requires the range to be entered twice, which can be annoying in the second situation above. Here is another method:
=JOIN("~", SPLIT(JOIN(CHAR(60000), B3:E3), CHAR(60000)))
First, it joins using a private use Unicode codepoint (which does not correspond to any standard character and therefore should not be in the input). Then it splits by the same codepoint. The command Split omits blank cells in its output, which can be annoying in other contexts, but helps here. Then the final Join works as intended.
With this method, the range only has to be entered once. |
H: Array-Safe Clamp Value in Google Sheets
I'm trying to clamp a value between a minimum and maximum value.
If this were a formula, I'd expect it's usage to be =CLAMP(value, min, max).
From what I know, there's two approaches, nether of which I like.
1) IF / ELSE
Use =IF(value<min, min, IF(value>max, max, value)). This is my current approach, but it has a huge downfall: the replication of value. In my use case, my value is not a short and sweet cell reference, it is instead a complex formula, which has nested "clamp" like features within it as well.
Because I want a single-cell solution, this requires that my formula be nearly 8,000 characters long. It could be made significantly shorter (about 9 times shorter in my case) without the replication of value.
2) MEDIAN
I know of the Median Trick: =MEDIAN(value, min, max). Typically, this is what I use, but it too has a huge downfall: it doesn't play nice with Array Formulas (which I'm using).
All of my data is in a table. As such, everything is packed nicely in a grid. However, if you prompt the Median Function to find the Median of a grid, it will do just that, which isn't what I want.
Let's say that I wanted to add up the medians of three rows of data:
0 1 2 3 4
1 2 3 5 7
1 2 4 9 16
Now, I want the median of each row, individually:
0 1 2 3 4 -> 2
1 2 3 5 7 -> 3
1 2 4 9 16 -> 4
And I want to know their sum:
2 + 3 + 4 = 9
So I'll just use =ARRAYFORMULA(SUM(MEDIAN(A1:C5)), right? Wrong.
Instead, the median function returns 3, because that's the median of all 15 values. So clearly, that's not what I want.
Conclusion
I need an Array Formula-Safe method for clamping a value between a minimum and maximum without repeating the value, minimum, or maximum.
If you have a solution that does repeat, but it is better than the IF / ELSE option, I'm all ears. My minimum and maximum are just direct cell references, so repeating them wouldn't be as bad.
Note: I've tried doing this in Excel too, with no avail.
AI: You can achieve the effect of CLAMP(value, min, max) with
=IFERROR(max-SQRT(max-IFERROR(SQRT(value-min)^2+min,min))^2,max)
which is compatible with ARRAYFORMULA and uses value only once. Explanation:
SQRT(value-min)^2+min returns value if value>=min, and gives an error otherwise.
IFERROR returns the first argument, unless an error occurred in it, which case it returns the second
Thus, IFERROR(SQRT(value-min)^2+min,min) clamps the value from below by min.
The other steps do a similar thing with max.
The above formula can be simplified, reducing the references to max and min from three to two of each:
=max-IFERROR(SQRT(max-min-IFERROR(SQRT(value-min)^2,0))^2,0)) |
H: How to find my saved locations in Google Maps?
I have lots of favorite locations (starred locations) in Google Maps. It's visible on the map as I scroll/drag to it. But isn't there a place where all the saved locations/coordinates are listed?
I remember the older version of Maps having it on the side bar. This is how the latest versions side bar looks:
AI: I ran today in the same problem. It seems that Google decided to hide a list of saved places in order to force people to activate places history. Maybe I found a workaround. Log in your Google account and go to your Google bookmarks—you should see your saved places. |
H: How to write this Google Spreadsheet percentage calculation function?
I track my diet (macros) in Google Spreadsheets.
For 1 day my protein is 114.63 carbs 194.75 and fat 69.15, the 70.54 is sugar which I'm not sure I should include.
The total of all 3 is 378.53
Using math.com's percentage calculator I can see that 69 is 18.253% of 378, however I'm not sure how to write the formula in Google Spreadsheets.
This is my current formula:
=SUM(G30/D30/100)
I take the sum (G30 = 378) divide it by (D30 = 69) fat, and divide that by 100 and I get 5.47% :(
AI: You have it backwards.
You need to divide your fat by protein, then multiply by 100 to get the percentage value.
=D30/G30*100
69 / 378 = 0.18253968254
If you use the percentage format on the cell, you can skip multiplying by 100.
You don't need the sum() function at all here. That's for summing an array of cells. |
H: How to Create a Google Sheets Script for Reporting 26-Week New Highs using GOOGLEFINANCE Function?
I'm looking to use GoogleSheets to display ticker symbols and prices in real-time of stocks that have created new 26-week highs, i.e. today's highest trading price is greater than any trading price during the last 26-week period.
I think GoogleSheets's native GOOGLEFINANCE function allows this to be done for a 52-week trailing period (e.g. a formula comparing attributes "high52" against current day's "high"). The GOOGLEFINANCE function doesn't have an attribute for a 26-week period.
Does anyone have a script or template of one I can apply to retrieve a stock's highest traded price over a trailing 26-week period?
AI: I'll describe the process in stages. Here is a command that returns a table with high price on every day within the last 26 weeks:
=GOOGLEFINANCE("GOOG","high",TODAY()-26*7,TODAY())
Output:
+-------------------+----------+
| Date | High |
+-------------------+----------+
| 2/2/2015 16:00:00 | 533 |
| 2/3/2015 16:00:00 | 533.4 |
| ................. | ....... |
Since you only want the maximum of these numbers, let's add a QUERY selecting the maximum of the second column:
=QUERY(GOOGLEFINANCE("GOOG","high",TODAY()-26*7,TODAY()),"select max(Col2)")
Output:
+----------+
| max High |
+----------+
| 678.64 |
+----------+
This may be already good enough for your purposes. If you want to get rid of the column header "max High", end the query string with label max(Col2) '':
=QUERY(GOOGLEFINANCE("GOOG","high",TODAY()-26*7,TODAY()),"select max(Col2) label max(Col2) ''")
Output:
+----------+
| 678.64 |
+----------+ |
H: How to change the privacy of all posts in Facebook?
I've been a user of Facebook since 2006 and I need change the privacy setting of all my posts to "only me" so no one can see them.
Is this possible?
How can I achieve this?
AI: It doesn't appear that you can.
The "Limit Past Posts" tool in the Privacy Settings and Tools section allows you to bulk change any posts that were shared with "Public" or "Friends of Friends" to be shared with just "Friends". There is no option to change it to any other setting. (See Facebook Help) There is no other tool built into Facebook to do this sort of thing.
Your options would then appear to be
unfriend all your friends, or
change the setting on all posts individually
Or, delete your Facebook account. |
H: How can I get the permalink for every Facebook post?
When I want to share a Facebook post on another site, I need to search the embed code (or share the post on my timeline) every time, and this is really uncomfortable.
So I would like something similar to this:
"Get link" would be an actual link for the post.
Is that possible?
AI: The date/time of the post is actually a link of the post. |
H: LinkedIn Company Page created using private or business account?
I have to create a LinkedIn Company Page but I only have my private account on LinkedIn. If I use my private account to create Linked Company Page, will anyone be able to see that I created it?
If it's like on Facebook where no one can see who created Facebook Page (except admins of the page), then I will use my private account.
I don't have business account on LinkedIn and I would not like to create and maintain it if I don't have to.
AI: No, no one will be able to see that you have created that page. There is no way within LinkedIn to see lists of admins for Company pages, or even one admin for one page. This is an "internal" setting that only the admin(s) of that page can see.
And to create a company page you need to have a personal LinkedIn profile.
From Help Center Adding a Company Page:
Before starting, you must own a personal LinkedIn profile |
H: SMTP file size limits
When sending a file through email on servers such as Gmail etc. they always impose a drastically low file size limit. I really don't understand the reasoning behind this, as file sizes grow.
I am aware of services like Drive, Dropbox, and Apple's 'Mail Drop,' but simply for compatibility, wouldn't it be a better choice for mail hosters to simply raise the limits to those of Drive, because they obviously have the capacity to store large amounts of data, but disable it on email?
I'm sure there's a technical answer due to the SMTP protocol, but any answer would be appreciated!
AI: There are two sides to every email exchange. Your outbound server needs to allow an extra large attachment, the inbound server also has to allow it.
It does you no good if the attachment is stripped or the message is blocked and it never get to the recipient.
For organizations where the mail remains on the server, they don't want to keep the large attachments stored on the mail server. They would rather have you send a link to the document or use a temporary storage system so the recipients can downloaded it. In places where I worked the internal limits were kept low to prevent repetitive mailing of large PowerPoint files every time somebody made an update. |
H: Changes to my Twitter design aren't persisting
For the longest time I have had a background image on my Twitter design:
However recently I have had just a plain off white background:
I have tried just resetting the design and changing the background and initially it seems to take, but then reverts to off white.
What's changed and why can't I change the background any more?
AI: Twitter removed backgrounds, I assume either to emphasise more user focus to ads or something else entirely.
We’re removing background images from the home and notifications timelines on web for all users. Now, background images are only available where logged-in users will see them publicly (Tweet pages, list pages and collections pages). You can find help center content about customizing your design and where it’s visible on Twitter
source: http://thenextweb.com/twitter/2015/07/21/twitter-is-removing-backgrounds-from-user-profiles/
Profile page - no https://twitter.com/phwd/
Tweet Page - yes https://twitter.com/phwd/status/621037631657410560
List Page - yes https://twitter.com/phwd/lists/inception
Collection page - yes https://twitter.com/phwd/timelines/628319002666868736 |
H: Get unique rows and their count in Spreadsheet
I have a sheet as below,
| A | B | C |
-------------
|abc|123|Yes|
|jkl|123|No |
|abc|123|Yes|
|abc|567|Yes|
I want to get the output like,
| A | B | C |Count|
-------------------
|abc|123|Yes| 2 |
|jkl|123|No | 1 |
|abc|567|Yes| 1 |
AI: See if this helps ?
=ArrayFormula(query({A1:C,C1:C}, "select Col1, Col2, Col3, count(Col4) where Col1 <> ''group by Col1, Col2, Col3 label count(Col4)''")) |
H: Google Drive doesn't show thumbnails in grid view
At our office we have a Google Drive which we use to share files with our affiliates. However some of our employees aren't shown thumbnails for the files, but on other computers there's no problem. I've already tried to update their browser (IE) and installed another browser (Chrome), but no change. All settings and plugins seem to be the same as on a pc where the thumbnails are shown.
Not that our employees have limited internet access. Are the thumbnails created by an external site which they have to be able to access or is it something else?
AI: Short answer
AFAIK, no, thumbnails are not created by an external site, but Google uses a lot of websites to host their services. I don't know the specific one for thumbnails but to avoid this and other problems consider to unblock all the ones listed in the help article regarding regarding the firewall and proxy settings for Google Drive. Below is the link that article and the current content.
Google Drive firewall and proxy settings
In order for users on your network to access Google Drive on the web,
Google Drive for Mac/PC, and Google Docs editors, your firewall rules
should connect to the following hosts and ports. Otherwise, users may
be blocked or denied access from these services.
For the following hosts, [N] means any single decimal digit and *
means any string not containing a period.
www.google.com:443/HTTPS
accounts.google.com:443/HTTPS
googledrive.com:443/HTTPS
drive.google.com:443/HTTPS
*.drive.google.com:443/HTTPS
docs.google.com:443/HTTPS
*.docs.google.com:443/HTTPS
*.c.docs.google.com:443/HTTPS
sheets.google.com:443/HTTPS
slides.google.com:443/HTTPS
talk.google.com:5222/XMPP (needed only for Google Drive for Mac/PC)
gg.google.com:443/HTTPS
script.google.com:443/HTTPS
ssl.google-analytics.com:443/HTTPS
video.google.com:443/HTTPS
s.ytimg.com:443/HTTPS
apis.google.com:443/HTTPS
*.googleapis.com:443/HTTPS
*.googleusercontent.com:443/HTTPS
*.gstatic.com:443/HTTPS
lh[N].google.com:443/HTTPS
[N].client-channel.google.com:443/HTTPS
clients[N].google.com:443/HTTPS
Important notes
The IP addresses that various domain names resolve to don't necessarily fall within any given address range.
Other Google properties may use the IP addresses that Google Drive uses.
Techniques that Google Drive uses to connect to Google servers depend on the browser, browser version, networking conditions, etc.
Even if you don't currently observe activity at the addresses listed above in a particular Google product there could be future activity.
Google Drive for Mac/PC supports all unauthenticated proxies that are configured by the operating system.
Google Drive for Mac/PC supports only DNS-based distribution of PAC files. PAC distribution over DHCP is not supported. |
H: How to pay AWS bills
I have an unpaid bill in AWS (I've been using Free Tier so far) and I already added my debit card to AWS.
However, when I select bills, I have no option for paying it, I can only download it in PDF.
If I click the Make Payment button, it takes me to Payment History (where I can't see the previously paid bill).
As I recall, I paid a bill a year ago (hence the added debit card), but it seems they changed something.
How could I do that?
AI: I've contacted Amazon Customer Services and they've helped me. For the record, the payment was charged on my debit card automatically so I didn't have to use any pay button. |
H: How to pin a topic in a Google Group?
I can't find the option to "pin" a topic in Google Groups anymore. I somehow was able to before, see the pinned topics in the pic here:
but can't find the option anymore in the 'Actions' dropdown.
AI: In the image included in the question, the option appears as "Display at the top".
References
Create a new topic - Groups Help |
H: Course allocation with array formula in Google spreadsheet using constraints
I try to assign students to courses based on the student's preference for each course and course capacity. Students are ranked based previous performance. In the current implementation, the data is obtained via Google Forms and other data sources. The aim is to use arrayformula() everywhere so that no manual processing would be required.
A very simplified sample data sheet without any formulas or external connections can be found here:
sample data
Top students are at the top and their choice is processed first.
A possible desired output (calculated manually) is also shown.
I can, with array formulas easily identify the first choices and calculate the accumulated sum for each course, but where I'm struggling with is applying the constraint once a class has reached it's limit: my formulas start having circular reference errors or out of bounds errors (when using offset's).
I would appreciate some guidance from the community.
AI: Trying to do this with built-in spreadsheet functions is sure to be frustrating. But the problem is easily solved with a custom function that returns an array:
=allocate(B3:G32, B36:G36)
The first argument is the list of preferences, the second is the list of class sizes. The output is a rectangular array with 1 marking enrollment. The function does not give you the actual enrollment in classes, which you can easily find with SUM.
Here is the function I wrote: it should be pasted into Script Editor, Tools > Script Editor...
function allocate(prefs, limits) {
var remaining = limits[0], output = [];
for (var i=0; i<prefs.length; i++) {
output.push([]);
for (var j=1; j<=prefs[i].length; j++) {
var k = prefs[i].indexOf(j);
if (k != -1 && remaining[k] > 0) {
output[i][k] = 1;
remaining[k]--;
break;
}
}
}
return output;
}
Output for your example agrees with yours:
+---+---+---+---+---+---+
| | | | 1 | | |
| | | | 1 | | |
| | | | 1 | | |
| | 1 | | | | |
| | | | 1 | | |
| | | | | | 1 |
| | | | | | 1 |
| 1 | | | | | |
| | | | 1 | | |
| 1 | | | | | |
| 1 | | | | | |
| | | | | 1 | |
| 1 | | | | | |
| | | | | | 1 |
| 1 | | | | | |
| | | | | | 1 |
| | | | | | 1 |
| | | | | 1 | |
| | | | | 1 | |
| | | | | 1 | |
| | | | | 1 | |
| | | 1 | | | |
| | 1 | | | | |
| | | 1 | | | |
| | | | | 1 | |
| | 1 | | | | |
| | 1 | | | | |
| | | 1 | | | |
| | | 1 | | | |
| | | 1 | | | |
+---+---+---+---+---+---+ |
H: Changing Gmail profile when in full screen mode?
I have two Gmail accounts. When I click on an email address in a website, it automatically starts a full screen (or wide) mode.
Is there anyway to change to my secondary profile without exiting this tab?
AI: The "New Message" window is opened using the Google/Gmail account you are currently logged in as. It does not seem to be possible to switch to a "delegated" account at this stage.
However, you can set up the "other" account as an email address from which you can "Send mail as" (in Settings > Accounts and Import) and then you can pick the other email address from the "From" dropdown when composing the email.
Official Gmail Help: Change the "From" address when replying or forwarding |
H: If I deactivate my Facebook account, can I still use the Facebook single sign-on feature?
I want to deactivate my Facebook account, but I use the Facebook login for a number of apps and games external to Facebook. Will sign on for these other apps fail if I deactivate my Facebook account (and don't delete it)?
AI: Once you deactivate your Facebook account, you will not be able to login any app or game which is associated with your account. Deactivating account means hiding your account temporarily and it will not delete any information even not game scores etc.
When you reactivate your account, all photos, games etc. will come back within few hours. |
H: Show creator on a Trello card
Is it possible to show the creator of a Trello card on the card, so, that I don't have to open the card to view who added it?
Or is it possible to automatically add the creator as a member when a card is created?
AI: Neither thing is a built-in feature of Trello. In fact, the second question came up before, with the same answer:
Default card assignment to self
Trello - Automatically assign member when date is added
You may want to submit a feature request to Trello (to have an option to show card creator on front of the card), or look into 3rd party tools such as Zapier to automate the self-assignment process. |
H: "Web posting has been disabled for this member by their domain administrator"
I am a manager in a Google group. A friend of mine has registered to the group. When I look at his name in the members' list, I see:
Web posting has been disabled for this member by their domain administrator.
The friend's email address is "username@orange.net.il". So, initially I thought that the company "orange.net.il" blocked that user from google-groups for some reason. So I called them, but they told me that they don't block users.
So now I am wondering, what is the meaning of this error message and how can I resolve it?
AI: That error message means that Google Groups is not turned on for your friend.
From https://productforums.google.com/forum/#!topic/apps/rJBQjCEP3CE by David Bencic
I have found the issue. In the domain that is hosted by Google they
need to have Google Groups enabled, even if Groups for Business are
enabled. In the Google hosted domain that belongs to the user that
is showing this status "Web posting has been disabled for this member
by their domain administrator" the admin will need to follow these
stpes.
Open the Admin console for the domain https://admin.google.com/
Click on Additional Google Services
Click on Google Groups
In the top right corner of the gray box you will see three dots, click on this and choose ON for everyone This will change the state
in the impacted group right away. |
H: How can I find duplicates in a column, using formulas?
Has anybody come up with a formula to find duplicates in a column? For example:
a
b
c
d
b
d
=somefunction(A1:A6)
Output:
b
d
I know there is a =unique() function, it's basically a =not_unique() function. Was wondering if it can be constructed without using code.
AI: The possible solution without an additional column is:
=FILTER(UNIQUE(A2:A7), ARRAYFORMULA( COUNTIF(A2:A7,UNIQUE(A2:A7))>1 ))
Please, see prepared example here: Find Duplicates |
H: Twitter as feed reader
Is it possible to use Twitter as a feed reader?
I am not interested in writing messages to other people or giving my opinion on some topic, but I am interested in being updated on some people, websites and so on.
I prefer to not be intercepted by people I know (but this is not so important).
AI: Yes, it is a common practice to use Twitter for reading only.
You can create a new private account with a random username (not anything that can be linked to you), follow the accounts you're interested in, and do not accept any follower requests.
If you're particularly concerned about privacy, do this with a separate email account (not used for anything else) to reduce the chances of your account coming up in someone's "Friends suggestions" when they upload their contacts to Twitter.
People whom you follow will still be notified that your account follows them, but it won't tell them much if they don't recognize the username. |
H: How to paste href tag as link into a Google document
I have a Google document. When I copy and paste something from my browser to the document, the text with hyperlinks get translated into hyperlinks in the document.
If I am in emacs or vim and copy html code into the document, Google treats it like text. This is a reasonable assumption. However I'm wondering if there's a way to trick Google into thinking that a href tag should be turned into a hyperlink.
AI: There are no tricks, just built-in tools and scripts.
Manual conversion
To turn http://example.com into http://example.com, select it and press Ctrl-K (or right-click and choose Link).
This will be a hassle if you pasted in several dozens of these. Then a script is preferable.
Conversion with a script
I wrote two functions, for two different conversions:
<a href="http://example.com">link text</a> to <a href="http://example.com">link text</a>
<a href="http://example.com">link text</a> to link text
Both are added to the document menu by the onOpen function.
The approach is the same in both cases, the details vary in step 3.
Use Body.findText method to find the elements containing the text of interest. (This search method has some support of regular expressions, although not much.)
Obtain the text string from each matching element: .getElement().asText().getText()
Use the JavaScript regex engine to search (and substitute if necessary).
Finally, linkify by using Text.setLinkUrl method.
function linkify() {
var body = DocumentApp.getActiveDocument().getBody();
var range = body.findText("<a[^<]*</a>");
while (range) {
var nextRange = body.findText("<a[^<]*</a>", range);
var elem = range.getElement().asText();
var str = elem.getText();
var re = /href=(\W)(.*?)\1/g;
var result = re.exec(str);
while (result) {
var index = result.index;
var url = result[2];
elem.setLinkUrl(index+6, index+url.length+5, url);
result = re.exec(str);
}
range = nextRange;
}
}
function replaceWithLink() {
var body = DocumentApp.getActiveDocument().getBody();
var range = body.findText("<a[^<]*</a>");
while (range) {
var nextRange = body.findText("<a[^<]*</a>", range);
var elem = range.getElement().asText();
var str = elem.getText();
var result = /<a[^<]*<\/a>/.exec(str);
while (result) {
var link = result[0];
var index = result.index;
var url = /href=(\W)(.*)\1/.exec(link)[2];
var text = />(.*)</.exec(link)[1];
elem.replaceText(link, text);
elem.setLinkUrl(index, index+text.length-1, url);
str = str.replace(link, text);
result = /<a[^<]*<\/a>/.exec(str);
}
range = nextRange;
}
}
function onOpen() {
DocumentApp.getUi()
.createMenu('Custom')
.addItem('Recognize href as a link', 'linkify')
.addItem('Replace <a> elements with links', 'replaceWithLink')
.addToUi();
} |
H: Is there a standard place to make YouTube feature requests?
And what is that place?
There's a help forum, but that seems like it's more for random internet people to help other random internet people, and that is not what I'm looking for.
I could send an e-mail to webmaster@, but that feels intrusive and a bit ridiculous; assuming the e-mail isn't just autofiltered into /var/mail/spam. Plus, from what I remember of RFC 2142, that's probably not how that destination is supposed to be used.
Details (which you don't need to answer the more general question above):
I ask specifically because it's been about a decade now, and there still isn't an "autoreplay" checkbox for videos, and that's insane. Not "I will eat your entire family" crazy, but certainly "I will eat one or two members of your family" crazy.
AI: updated for new YouTube layout
In the Youtube footer side menu there is a link called "Send feedback". Use that link to send your greetings, complaints, feature requests and anything else directly to the Youtube team.
this was from when it used to be in the footer... |
H: Google Drive PC synchronization for a Word document
I have a shared MS Word document on Google Drive, say mydoc.docx, and I am collaborating with some others on this document. Someone updated it using the Google Drive Web rather than MS Word, and the name of the document was changed to mydoc.docx.gdoc, and I can no longer open and update it on my computer using MS Word. So I have 2 questions:
Is it possible that the name of the file is not changed (no .gdoc extension is added to the file name) when someone updates the file using the Google Drive Web, so that I use Word, she uses Web and we can still collaborate?
When both of us make updates on mydoc.docx using Google Drive PC (not Web) at the same time, are the changes merged?
AI: Regarding 1.
Yes, it's possible. Ask to the document owner that don't change the file format of the file you are collaborating.
Regarding 2.
No, Google Drive for PC doesn't merge versions automatically of files from Word, PowerPoint, Excel, etc. Instead it stores a new version each time a file is reviewed. It's worth to say that Google recently launched a Google Drive add-in for MS Office files.
From Open, save, and share Drive files from Microsoft Office programs - Drive Help
Automatic revision control
When you revise an Office file stored on Drive, a new version of the
file is automatically created. You can track previous versions of an
Office file, or retrieve an older version. See View and manage file
versions. |
H: My Twitter account still on another iPhone
Okay so my very nosy cousin, I trusted with my Twitter account. She would tweet things I did not like and look through my things. I was fed up and told her to delete my account. She showed me that she did, off of the app. I believed it but later she laughed and I realized she had tweeted all over again. How can I revoke her accessing my account without her knowing. We both have iPhones. I have changed my password and she was never logged out automatically like other social media sites do.
AI: You should be able to revoke access via the Web using by going into Settings, then apps. This article in the support docs goes through the process in more detail: https://support.twitter.com/articles/20170805#revoke-access-web
In there you should see "iOS by Apple", click on revoke access and this should log you out of all iOS device using your Twitter account. |
H: Add keyboard shortcuts to draw.io to insert a given element?
Is it possible to add a new keyboard shortcut to draw.io to insert a given element?
In short I want to have a faster way of inserting the General > Text element. Ideally I would like to change the double click event to insert this, instead of a non-linkable text which it uses today.
The reason I can't use the double click, or Ctrl-Shift-X, is that the text element which is inserted then is non-linkable, and can not be connected to to other elements.
Bonus: To add other elements using another shortcut with specified element.
PS! An alternate version could be to use the Ctrl-K, if it was possible to default to a rectangle without line around. :)
AI: A plugin to insert elements
It turns out that it is indeed possible to add a plugin, which adds shortcuts to draw.io. Here is plugin code for adding either an ellipse using Ctrl+Shift+Q, or text using Ctrl+Shift+T. For the text node I opted for left justified, and top aligned.
Draw.loadPlugin(function(ui) {
// Adds resource for action
mxResources.parse('myInsertText=Insert text element');
mxResources.parse('myInsertEllipse=Insert ellipse');
ui.actions.addAction('myInsertEllipse', function() {
var e = ui.editor.graph;
if(e.isEnabled()&&!e.isCellLocked(e.getDefaultParent())){
var b=e.getInsertPoint(),
b=new mxCell("",
new mxGeometry(b.x,b.y,80,80),
"ellipse;whiteSpace=wrap;html=1;");
b.vertex=!0;
e.setSelectionCell(e.addCell(b))
}
}, null, null, "Ctrl+Shift+Q");
ui.keyHandler.bindAction(81, !0, "myInsertEllipse", !0);
ui.actions.addAction('myInsertText', function() {
var e = ui.editor.graph;
if(e.isEnabled() && !e.isCellLocked(e.getDefaultParent())){
var b=e.getInsertPoint(),
b=new mxCell("",
new mxGeometry(b.x,b.y,150,100),
"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;overflow=auto");
b.vertex=!0;
e.setSelectionCell(e.addCell(b))
}
}, null, null, "Ctrl+Shift+T");
ui.keyHandler.bindAction(84, !0, "myInsertText", !0);
});
All of this text needs to be added to a file, which is accessible from a given URL. I did this using Google Drive, and fiddled a little to get it to the correct URL to the actual javascript file, which this is.
When you have the link, go to draw.io, and do the following:
Navigate the menues to Extras > Plugins...
Hit the Add button
Enter the URL to your javascript file, like https://cdn.rawgit.com/holroy/draw.io-plugins/64e4130dc5a8bee40c8f7fce7f855c58d5c51eb3/insertElementsWithMenu.js (which is a permanent link to the inital version of my plugin)
Hit the Add button, and then the Apply button
Reload the draw.io page, and accept the load of the plugin
Use your newly added keyboard shortcuts
Information on plugin code
See "The draw.io plugin system" for the introduction of plugins to draw.io. This is rather scarce, so you need to be experimental and adventerous to make new plugins. You also need to know your way around the developer tools related to your browser to make the full benefit of the following:
Locate free keys
Open up the Developer Tools of your browser, and go to the Console
Execute this command: Draw.valueOf()
And navigate down the following: Object > loadPlugin > > ui > keyHandler > controlShiftKeys
You now see which ASCII upper character codes are assigned
Choose element to insert – To insert another element, the base idea is to check the Edit style of the element, and copy this part into the appropriate part of a newly created resource. Note that the textual key binding here, is used if you insert the action into a menu
Advanced elements – For more advanced insertions, you might need to look into how draw.io creates the elements it self, and this requires some reverse engineering of draw.io :-D
Add key binding – When adding a key binding, the typical bindAction() requires the following paramters:
First parameter is the ascii code of the character (user uppercase characters for Ctrl and Ctrl+Shift)
Control indicator: Ctrl is !0, else use !1
Name of action to execute
Optional shift-indicator: Default is no Shift !1, else use !0
Adding an extra menu
The example code of the plugins, linked above, shows how to add menu items, and here is some code to add a menu of your own (add this at the bottom of the Draw.loadPlugin(function(ui)...
// Adds menu
ui.menubar.addMenu('My Menu', function(menu, parent) {
ui.menus.addMenuItem(menu, 'myInsertText');
ui.menus.addMenuItem(menu, 'myInsertEllipse');
});
// Reorders menubar
ui.menubar.container.insertBefore(ui.menubar.container.lastChild,
ui.menubar.container.lastChild.previousSibling.previousSibling);
Edit: The complete plugin, insertElementsWithMenu.js, is now available on my newly created github repository: holroy's draw.io plugins. Follow instructions on github to fork out your version, and getting a proper link to the plugin. Here is a permanent link to the initial version of this plugin. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.