AD thumbnail photo byte format \FF\ and \89\ - directory

what will affect the byte format of ad thumbnailphoto attribute?
Im facing an issue where whatever photo i upload with my apps it will start with \FF\ but it is not accepted by exchange. However if upload with exclaimer it will be in \89\ format which able to show in exchange and teams. Ive tried different photo and format still come up with same result.

Related

Convert google form responses from Excel values into pdf images

I have a google doc page that is a "slider" quiz. So for example, people rate themselves based on a scale on how comfortable they are with say Microsoft Word (0=weak to 5= strong). Then powerpoint, etc.
These responses are submitted and saved in an excel google doc "responses.csv".
Based on the response per column, I want to use the "document studio" add-on, for which I select "google slide" as the option. So it makes me a google slide from the responses.
But I want to make a function that pulls the replies in values 1-5 and gives me an image, so I made an if(A1=1, "drive.google.com/1.jpg", A1=2, "drive.google.com/2.jpg"). Then I referenced the column "image-slider-1".
However, the image is not pulling up in the google slide. And I don't know why. I tried to reference the slider value and import an image from google docs.

Extract audio stream from http site (online radio)

I'm new here so firstly sorry for all my mistakes.
I'm trying to add one more radio station to my raspberryPi based online radio player (of course for private use only). It is an polish radio, radio Wawa. Here is the official site and stream: https://www.eskago.pl/radio/wawa But unfortunately on official site there are some adds before stream start (and I don't see the stream url :( ). I found an unofficial site with stream: https://pl.radioonline.fm/sluchac/Radio-WAWA Here there is no adds but still it's some complicated for me to extract stream which would be useful to play e.g. in omxplayer.
I found that the url for stream is http://waw.ic.smcdn.pl/t050-1.aac but the site is adding to this url a timestamp and a mistery hash. Full request looks like:
http://waw.ic.smcdn.pl/t050-1.aac?timestamp=1546208561&hash=25d2e0deebc354c9e9b5c37b74b64f21
Now is the question: is it possible to play this with command line only (the best option with omxplayer)? And how?
Thanks.

How do I add Google-Authenticator to a second phone/tablet (my backup 2FA) for Google-Accounts

I already have Google-Authenticator on my iPhone - yay!
I want to have it on my iPad too (which I don't carry with me daily). I cannot see how to set that up in Google's online advice.
I don't want SMS as second factor because it is not in any way safe in 2017. SMS as a second factor is less secure than a strong password alone.
Go to https://myaccount.google.com/security/signinoptions/two-step-verification on your Mac/PC.
Generate, and perhaps print off some "Backup Codes"
Log out and log in to test one of those ten backup codes (perhaps a different browser so that login requires the second factor).
On your iPhone, delete the line in Google-Authenticator for the existing Google-Accounts setup.
Click on the pencil icon, to the right of the "Authenticator app (Default)" you already have.
Click "Change Phone", and show the new QR code the screen. In both iPhone and iPad scan the QR code. Yes, the same QR code twice. Note now that the one-time-passcode is the same on both. Do both quickly as there is only a certain amount of time to complete this in.
Note: I could not find a way of deleting the backup codes. I mean I can shred the printout, but can't see how to get the list of second-factors in Google-Accounts to drop the backup codes.

Is it possible to encode multiple data in a QR code?

I have a classifieds webapp for our student union and want to create printable versions of the different ads, that students can print and distribute on the campus. To get further information, people should be able to read a QR code from the printout with their smartphone.
The question is: Can I encode both the phone number to call for the ad and the URL of the website in the QR code at the same time, so that people can scan the code and then select if they want to call the person or open the website of the ad?
I was thinking about using a vcard, but that would add that otherwise useless information to the peoples contacts list. Is there something like CSV data that Android correctly reads to achieve this? (And preferably iPhones, too)
Of course you can.
VCard is fine, it would enable other QR readers to parse it correctly - so your QR would be up to standard.
You wouldn't have to implement full RFC though, just the basic TEL, and URL fields.

Capturing a Map to embed in a Wordpress Blog post

I originally asked this question on Super User but was told that it might be better placed here...
I have a running blog and to help me track and write about my runs I've recently bought a Garmin GPS watch. The setup works a treat and I'm able to share links to my runs in my blog such as:
http://connect.garmin.com/activity/23842182
Is there an easy way for me to capture the map itself out of the Garmin Connect site (see the link) and display it in my blog posting? I can take a screenshot but an interactive map would be heaps better. It's obviously a Google Map with the run info overlayed so there must be a way... right?
To created an embedded interactive Google Map to render your run polylines, you will need to extract the data that the Garmin site is using to render the line.
From the Garmin site, there are two Javascript files that do the work:
http://connect.garmin.com/resource/garmin-js-lib/map/MapsUtil.js - Bunch of utility functions for rendering Google maps based on data in the Garmin system
http://connect.garmin.com/api/activity/component/mapLoader.js - Uses Garmin.service.ActivityClient to grab the JSON data describing the polyline. It feeds this data into Garmin.map.MapsUtil.addEncodedPolylineToMap to render the map.
So do do this on your blog, you will need to either request the JSON data from the Garmin site (and trust that the URI format doesn't change) or grab the data and store it on your own site. The URI format is currently:
http://connect.garmin.com/proxy/activity-service-1.0/gpolyline/activity/<activity id>?full=true
Where activity ID is the last number in your original URL. So:
http://connect.garmin.com/activity/23842182
http://connect.garmin.com/proxy/activity-service-1.0/gpolyline/activity/23842182?full=true
This data request will return some JSON that you can then use to render a Google Map.
Once you have decided how you want to store the JSON data, you will need to write some Javascript to request the JSON and, in the callback, feed it into the GPolyline.fromEncoded method. Once you have a GPolyline object (that is populated from the encoded JSON data), you can add it to a Google Maps GMap2 with the addOverlay method.
I realize that this answer is fairly technically involved and might be overwhelming if you haven't played with Google Maps before. If this is the case, I suggest heading over to the Google Maps API intro page for some hints on getting started.
Since this question was first posted, Garmin Connect has since added a quick code snippet to embed in your WordPress site to display your maps and course data. If you're having issues getting the code snippet to stay in the post after saving - check out these instructions for embedding Garmin Connect activities in WordPress.

Resources