Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: api

Posted on 1 March 202010 April 2020

Xiaomi Roborock – control via socket API

Why this guide?

My need was to control the robot asking simple commands through Google Home and Alexa like: “Alexa, clean the bathroom“.

With my robot, this was not possible. With the app, you can configure the zones but you can’t simply ask for cleaning only one zone, two times, for instance, all in automatic.

Continue reading “Xiaomi Roborock – control via socket API”
Posted on 30 December 20196 March 2020

Social counter API

For personal purpose, I need to know the number of followers, likes, subscribers, etc…

The examined social platforms are:

  1. Facebook (number of likes)
  2. Instagram (number of followers)
  3. Youtube (number of subscribers)
  4. Twitter (number of followers)

Let’s start.

Continue reading “Social counter API”
Posted on 2 May 201324 May 2018

[Xcode] Warn about new API Classes and Methods

What?

Your project minimum iOS version is 5.0.
You are using SDK 6.1 and want to know if some method or some classes used in project are unavailable for iOS < 6.1?

Since Xcode don’t warn about it… here a trick to warn by yourself!

Continue reading “[Xcode] Warn about new API Classes and Methods”

Posted on 10 August 201025 May 2018

[C#] Use “right double click”

Yes!
It’s double right click!

In this snippet you can use right double click to “go back” on your web browser!
It’s a stupid tricks, but it’s very useful!

Continue reading “[C#] Use “right double click””


Twitter feed is not available at the moment.

Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress