![]() ![]() This technique can also be used with CSS, in background images, and it’s what I decided to go with. This allows you to do funky stuff like this: The basic premise behind this (if you’re not interested in reading the whole spec yourself :P) is to allow you to embed an encoded version of a URI response in place of the URI itself. If you’re not aware something that modern browsers (like IE8+, FF, Chrome, etc) are starting to support is RFC 2397 which is also known as the “data” URI scheme. The new CSS wasn’t going to be included in this release either, but I wanted to get at least some stuff source controlled (it’s in a different part of the tree so I could commit it) and to achieve this with the images I decided to use base64 encoding. Recently I was doing some CSS for a client but there was a bit of a problem with putting stuff into source control, basically there was a release coming up from one section of the source tree that I needed to put some images into for the CSS, but because they weren’t approved for this release I couldn’t commit them. That it is over 3 years old, so the content in here may not be accurate. Luckily Reddit user u/clempat has written a shortcut to retrieve an authorization token automatically.Hey, thanks for the interest in this post, but just letting you know The shortcut only works when you provide it with the correct API credentials (API Key/Client ID and authoization token) and this can be a bit tricky. The ‘code’ of the shortcut could have been a bit better, but it works! That’s why I wrote a shortcut that I can call in different ways, all I have to do is enter the title of the movie and the shortcut will do the rest via the API. I spent a long time looking for a decent app in which I could quickly report that I was going to watch a movie, but I didn’t like any of them. ![]() I frequently watch a movie and I use to keep track of all the movies I watched and what I thought of them. And who doesn’t like a cheesy joke every now and then? This shortcut calls the API of, so Siri can now also tell dad jokes. ![]() One of my favourite subreddits is r/dadjokes together with the Dutch equivalent r/papgrappen. Okay, this shortcut may be a bit less useful, but all the more fun. Later on he made an updated version that supports even more devices. The author of the shortcut is Federico Viticci of MacStories and tells more about it in his article. This shortcut makes it possible to add the frame of an iPhone Xs to a screenshot at the push of a button. You have seen this shortcut in action several times already. Base64 encoding & decodingĪs a developer, I frequently encounter some text that is encoded in Base64, by adding these two shortcuts to the shortcuts widget I can quickly decode or encode the text in my clipboard. Normally I use imgclean.io (shameless self-promotion), but a shortcut makes it many times easier. This shortcut is called from the share-sheet and removes all meta-data from a photo and then open the share-sheet again so you can safely share the photo. Let’s start with one of the simplest shortcuts. Personally, I’ve been busier tinkering with the shortcuts app and I’ll share my favourite shortcuts below. In addition, apps can also ‘donate’ frequently used actions within their app to Siri so that users can add a voice command to these actions, making it easy for anyone to add functionality to Siri that adds value for them. That doesn’t mean that the app is only meant for those people, because there is also a gallery available within the app where you can easily find new shortcuts to try out. The separate Shortcuts app is meant for people like me, people who enjoy working with new technology and who like to tinker. That is most likely why the shortcuts app does not come with the OS by default but needs to be downloaded separately from the Appstore. Shortcuts looks at first sight like a feature that doesn’t fit Apple at all, because it is very technical and gives you endless possibilities for customization. ![]() After a few months of using iOS 12, I can easily say that the shortcuts app (former Workflow) is my favourite new feature in iOS 12. It has been a while since Siri Shortcuts were announced on WWDC 2018. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |