Tag: en
-
How to make Xiaomi gateway compatible with HomeKit
This is very simple and there are a lot of way to do so. You need: – Raspberry Pi (3 or Zero it’s the same, you just need to install Raspbian)– Xiaomi gateway (of course)– iPhone or iPad (well it’s the purpose) First of all, connect ssh to it with: ssh pi@raspberrypi.local Then do the […]
-
How to install Raspbian
It’s so easy nnowadays that you can even image how difficult was (for the noobs, the pro are already pro). Go here and download the last version of NOOBS: https://www.raspberrypi.org/downloads/ and when it’s finished, unzip the archive. Than insert the microSD (or SD if you have a old one) in your computer, format in FAT32 […]
-
The iPhone X is so easy to use: complete guide
No it’s not, I’m kidding. Image found online. And I agree, it’s not intuitive as it should.
-
How to simultaneous Xcode 7 and Xcode 8 compatibility
If you want to not upgrade at Swift 3, follow this tutorial: http://radex.io/xcode7-xcode8/
-
How to read and write file in Swift
In Swift 3 the syntax is a just a few different than the 1 or 2 version: let file = “file.txt” //this is the file. we will write to and read from it let text = “some text” //just a text if let dir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first { let path = dir.appendingPathComponent(file) // […]
-
Xcode can’t archive codesign failed with exit code 1
In case Xcode, when you try to compile an app in simulator give you “Command /usr/bin/codesign failed with exit code 1”. Open the terminal and paste: cd ~/Library/Developer/Xcode/DerivedData xattr -rc .
-
Smartphone connected home door lock
More info here: https://www.hackster.io/hackerhouse/smartphone-connected-home-door-lock-69944f
-
How to list installed network cards
In terminal you can use ip link show or netstat -i. Then you can edit /etc/network/interfaces with the right name of your network interface.
-
20 ways to break Europe
Admit it! It’s funny! Source: https://atlasofprejudice.com