Tag: Home Server
Recording with HDHomeRun without Plex
The Case of the Dying Hard Drive That Flipped Bits
The symptoms were hard to notice at first: downloaded files would sometimes be corrupted, especially large files; attempts to fix those downloads (using par2) would more often than not fail. Then it became bizarre; calculating the checksum of those files would sometimes, but not always, result in different values.
Allowing programs run by regular users to open ports below 1024
Normally, only the root user is allowed to open ports below 1024. That’s why, if you try running an application as a normal (non-root) user, and that application tries to open a port below 1024, you’ll get an error (access denied most likely).
If you’re running Fedora (and that would probably work on other distros too), there’s a command you can run, as root, that will allow such programs to open any of those ports, even if they’re run by a regular user.
Videos5 - A web application to stream videos to your iPad (and all)
The iPad is now very popular in the house. I seldom can use it as a recipe book to cook something, as it was intended… It’s either in my oldest’s hands, playing Labyrinth 2 HD, either on my wife’s lap, browsing her Facebook & reading her emails.
But still, sometimes, it’s nice to use it for other things. One such other thing would be to stream videos from the Amahi home server sitting in a closet upstairs. One can watch a recorded TV show in bed, or hand the iPad to the big kid to let him watch Cars or Nemo while we’re watching the news, or something non kid-friendly.
Being of the DIY kind, I made my own web-app to achieve this, using the new HTML5 videos tag.
Greyhole: How cool is that?
Greyhole - Easily expandable & redundant storage pool using Samba [Updated]
How I plan to implement my own WHS Drive Extender-like system [UPDATED]
Review of CrashPlan: Multi-platform backup solution for everyone
Tag: Open Source
Recording with HDHomeRun without Plex
Replacing mint.com with my own (automated) webapp
iOS 9 ATS (App Transport Security) exceptions
App Transport Security is a feature that improves the security of connections between an app and web services. The feature consists of default connection requirements that conform to best practices for secure connections. Apps can override this default behavior and turn off transport security.
Transport security is available on iOS 9.0 or later, and on OS X 10.11 and later. Source
What does that mean?
That unless you change something in your iOS app’ plist, your app will not be able to communicate with unsecure HTTP servers, when it runs on iOS 9.
That’s a good thing really; Apple is trying to force people to update their HTTP servers to use the latest HTTPS protocols & recommendations: TLS 1.2, SHA256 or better, forward secrecy.
RSS-For-Later: Replace Google Reader with Pocket
Google Reader is going away later this year. This means those of us using RSS to keep in touch with the world will need to find an alternative to be able to get our fix using our different devices.
I still remember the pre-Google Reader days of RSS, when RSS clients were silos that talked to nobody. This meant that trying to read articles on a PDA (Palm Zire anyone?), and on a PC, forced us to skip a bunch of articles each time we switched from one to the other… Solutions for this problem existed at the time, but were convoluted, and not that pleasant. i.e. I don’t want to go back there!
This morning, I read a post by Ruth John, aka @Rumyra, about how she used IFTTT (If-This-Then-That) to inject the content of a RSS feed into the Pocket read-it-later service. This stuck me as a good idea, so I started with a Yahoo Pipe that took my OPML, and merged all articles into one feed, and I inputed that into IFTTT, and chose Pocket as the target. Sadly, that didn’t work so well; IFTTT has known issues with Yahoo Pipes RSS feeds. Next option: just do it myself!
Flickr interesting or groups photos on your (jailbroken) Apple TV screensaver
Since I replaced my Apple TV 1 with an Apple TV 2, and started using Flickr as the screensaver, I was wondering how I could use group photos or interesting photos from Flickr, instead of just a user’s photos, or the result of a search. Today, I was able to hack it to do what I want!
(Note: You need a jailbroken Apple TV for this to work.)
Videotron Internet Usage Monitor
Chrome Extension - Get comments in RSS format
So you got a nice Google Chrome extension, right? And people do leave comments / questions / hate mail on the extension page all the time. But the only way for you to get those is to visit that page in your browser… Not cool. Not cool at all, Google!
Wanting to get the comments in Google Reader, I simply looked in the Inspect Element > Network tab, to see what was going on, when I visited the Chrome Store page for my extension. And lo and behold, there’s an AJAX request to fetch the comments, with the results returned as a nice JSON-encoded object!
Fuel Consumption Tracker
I wanted to keep track of fuel consumption (L/100km) for our two vehicles. I wanted to be able to send email to enter data, or use a simple web interface. The email part was important, because I don’t have a data plan on my cellphone, so being able to compose and queue an email at the pump, to have it sent automatically when I was later within reach of a known Wifi network, was a very nice to have.
Implemented in PHP, the result is not that pretty, but it’s nice enough, and the ease of use allows me to keep it updated without too much hassle.
Hacking Crome extensions - How I added keyboard shortcuts to 1Password in Chrome
I love 1Password. It looks good, it’s safe, it has a web-accessible UI, it has an iPhone/iPad application…
What I didn’t like about it was it’s Chrome extension, which required me to use the mouse to click the 1Password icon in the toolbar each time I wanted to auto-fill a form with login details!! That was so annoying.
So annoying in fact that I took upon myself to implement keyboard shortcuts in the 1Password extensions.
Videos5 - A web application to stream videos to your iPad (and all)
The iPad is now very popular in the house. I seldom can use it as a recipe book to cook something, as it was intended… It’s either in my oldest’s hands, playing Labyrinth 2 HD, either on my wife’s lap, browsing her Facebook & reading her emails.
But still, sometimes, it’s nice to use it for other things. One such other thing would be to stream videos from the Amahi home server sitting in a closet upstairs. One can watch a recorded TV show in bed, or hand the iPad to the big kid to let him watch Cars or Nemo while we’re watching the news, or something non kid-friendly.
Being of the DIY kind, I made my own web-app to achieve this, using the new HTML5 videos tag.
Greyhole: How cool is that?
Mac Widget: Vidéotron Internet Usage Monitor
Greyhole - Easily expandable & redundant storage pool using Samba [Updated]
How I plan to implement my own WHS Drive Extender-like system [UPDATED]
TV Forecast widget not working? Here's how to fix it.
Facebook application: Import Gallery pictures into Facebook
GobbleRSS - PDA-friendly web-based RSS reader
ioFTPD
Tag: Plex
Recording with HDHomeRun without Plex
Fixing Plex issue with Watch Later YouTube videos
Tag: Technical Problems
Recording with HDHomeRun without Plex
Fixing Plex issue with Watch Later YouTube videos
The Case of the Dying Hard Drive That Flipped Bits
The symptoms were hard to notice at first: downloaded files would sometimes be corrupted, especially large files; attempts to fix those downloads (using par2) would more often than not fail. Then it became bizarre; calculating the checksum of those files would sometimes, but not always, result in different values.
iOS 9 ATS (App Transport Security) exceptions
App Transport Security is a feature that improves the security of connections between an app and web services. The feature consists of default connection requirements that conform to best practices for secure connections. Apps can override this default behavior and turn off transport security.
Transport security is available on iOS 9.0 or later, and on OS X 10.11 and later. Source
What does that mean?
That unless you change something in your iOS app’ plist, your app will not be able to communicate with unsecure HTTP servers, when it runs on iOS 9.
That’s a good thing really; Apple is trying to force people to update their HTTP servers to use the latest HTTPS protocols & recommendations: TLS 1.2, SHA256 or better, forward secrecy.
How to extract your TOTP secrets from Authy
Maybe you just want to back them up for when something goes wrong, or maybe you want to set up a new two-factor authentication app on a platform that Authy doesn’t support (cough Windows Phone cough). Whatever your reasons, if you want to export your TOTP secret keys from Authy, their apps or support guys won’t be much help to you.
The trick, that I just used to install all my existing TOTP secrets in the Microsoft Authenticator app, is to change one of their app of which we have the source, namely their Chrome app, to show us what we want.
[Updated] Phone Power in Canada: awesome features set, so-so routing & support
Last year, I took the plunge and switched from a big local telephony provider to a web-based VoIP provider: Phone Power. Their features set is quite something: free second line, voicemails to email, some free international minutes, etc. But, when it comes to routing local calls, they are so-so.
I live in Montreal, Quebec, Canada. Many local agencies & companies have 1-800 numbers that are geolocation-locked; you can’t call those numbers from outside Canada, or outside Quebec (depending). How they detect the origin of the call is not based on the caller ID (the caller’s phone number); it has to do with how the call is routed, i.e. where it’s coming from for real.
Now, the problem is not that Phone Power isn’t technically capable of routing those calls correctly, since I have been able to call those numbers on multiple occasions. The problem is that they are unable to keep routing consistent. The result is that those calls will only work sometimes, and will sometimes fail. And, when it’s not working, and you call/chat support to fix it, they don’t know how to resolve the situation. Sometimes, after 20-30 minutes of back and forth, they are able to make those calls go through. Other times, they can’t fix it, and answer that they’ll investigate further, and contact me later when they found something.
Has Gmail spam filter become too aggressive?
I’m not sure if I’m the only one who noticed (I hope not!), but recently, the Gmail spam filter started marking as spam a lot of messages that were NOT spam.
Here’s the ones I found, while looking at only the first two pages of my Spam folder (about two days worth of spams):
- A Logitech.com shipment notification;
- My monthly Yak invoice;
- My monthly ‘your invoice is ready’ from Citibank;
- The OpenDNS newsletter;
- Two commit notifications from Google Code;
- Three ‘your password has been reset’ emails, from Wordpress.org, and other less known bulletin boards.
Allowing programs run by regular users to open ports below 1024
Normally, only the root user is allowed to open ports below 1024. That’s why, if you try running an application as a normal (non-root) user, and that application tries to open a port below 1024, you’ll get an error (access denied most likely).
If you’re running Fedora (and that would probably work on other distros too), there’s a command you can run, as root, that will allow such programs to open any of those ports, even if they’re run by a regular user.
Fix a suddenly very slow SATA hard drive problem
TV Forecast widget not working? Here's how to fix it.
How to fix non-working Folder Action on an external hard disk
FrontRow Enabler for 10.4.8
Tag: DIY
Nissan Connect Updated API
How to extract your TOTP secrets from Authy
Maybe you just want to back them up for when something goes wrong, or maybe you want to set up a new two-factor authentication app on a platform that Authy doesn’t support (cough Windows Phone cough). Whatever your reasons, if you want to export your TOTP secret keys from Authy, their apps or support guys won’t be much help to you.
The trick, that I just used to install all my existing TOTP secrets in the Microsoft Authenticator app, is to change one of their app of which we have the source, namely their Chrome app, to show us what we want.
[Updated] How to monitor the Apple Store for available refurbished items using cron
So, you’d like to buy a refurbished product from the Apple Store, but it’s currently Out of Stock. And will probably be for a while, and when it’s not anymore, the few units available will be gone in minutes. So you need a way to be notified ASAP when it’s available, so you can have a chance to order it.
Here’s a simple way using cron.
Network-wide incoming calls notifications using Growl, Boxcar and XBMC
Earlier this week, I stumbled upon an iPhone app that allowed users to receive push notifications on XBMC. When a notification is received in XBMC, it appears in the lower right corner of the screen. Pretty cool.
This made me think it would be nice to see incoming phone calls there.
So I took out the Ovolab Phlink device I had sitting on a shelf, and created a small ‘ring’ script for it. That (Apple)script checks for the caller ID when the phone rings (and for a matching entry in my address book), and if it is available, calls an external PHP script that handles the network-wide notifications.
Building a hush box to quiet a projector
A projector and 120" screen sure are nice to watch TV shows and movies, but having them on the 3rd floor of the house makes the projector unhappy.
Being on the ceiling of the almost highest point in the house, during hot summer days, that projector can become quite hot. And when it does, it tries to compensate by fuelling it’s fans with enough voltage to make them sound like jet engines. (Not PowerMacG5-running-in-single-user-mode jet-engines-loud, but still…)
To try to quiet it down a notch, I built what some people call a hush box.
Remote-controlled air conditioning using Mac OS X and Shion
Tag: Greyhole
The Case of the Dying Hard Drive That Flipped Bits
The symptoms were hard to notice at first: downloaded files would sometimes be corrupted, especially large files; attempts to fix those downloads (using par2) would more often than not fail. Then it became bizarre; calculating the checksum of those files would sometimes, but not always, result in different values.
Greyhole Roadmap - version 0.9
Greyhole 0.8 & Samba module
I just built and uploaded version 0.8 of Greyhole on Google Code. This version doesn’t change much of what is normally visible to the end users (except the regular bug fixes). Instead, 0.8 focused on improving an area of Greyhole that has always been messy: the communication channel between Samba and the Greyhole daemon.
Greyhole new website
Greyhole: How cool is that?
Greyhole - Easily expandable & redundant storage pool using Samba [Updated]
How I plan to implement my own WHS Drive Extender-like system [UPDATED]
Tag: iPad
iOS 9 ATS (App Transport Security) exceptions
App Transport Security is a feature that improves the security of connections between an app and web services. The feature consists of default connection requirements that conform to best practices for secure connections. Apps can override this default behavior and turn off transport security.
Transport security is available on iOS 9.0 or later, and on OS X 10.11 and later. Source
What does that mean?
That unless you change something in your iOS app’ plist, your app will not be able to communicate with unsecure HTTP servers, when it runs on iOS 9.
That’s a good thing really; Apple is trying to force people to update their HTTP servers to use the latest HTTPS protocols & recommendations: TLS 1.2, SHA256 or better, forward secrecy.
tou.tv pour iPad
Des fois, ça ne va juste pas assez vite à ton goût. Comme avec tou.tv. Ça fait longtemps qu’ils disent qu’une version pour iPad est prévue, mais pourquoi attendre quand on a tous les outils pour que ça fonctionne maintenant ?
Tag: iPhone
iOS 9 ATS (App Transport Security) exceptions
App Transport Security is a feature that improves the security of connections between an app and web services. The feature consists of default connection requirements that conform to best practices for secure connections. Apps can override this default behavior and turn off transport security.
Transport security is available on iOS 9.0 or later, and on OS X 10.11 and later. Source
What does that mean?
That unless you change something in your iOS app’ plist, your app will not be able to communicate with unsecure HTTP servers, when it runs on iOS 9.
That’s a good thing really; Apple is trying to force people to update their HTTP servers to use the latest HTTPS protocols & recommendations: TLS 1.2, SHA256 or better, forward secrecy.
Tag: Mac OS X
iOS 9 ATS (App Transport Security) exceptions
App Transport Security is a feature that improves the security of connections between an app and web services. The feature consists of default connection requirements that conform to best practices for secure connections. Apps can override this default behavior and turn off transport security.
Transport security is available on iOS 9.0 or later, and on OS X 10.11 and later. Source
What does that mean?
That unless you change something in your iOS app’ plist, your app will not be able to communicate with unsecure HTTP servers, when it runs on iOS 9.
That’s a good thing really; Apple is trying to force people to update their HTTP servers to use the latest HTTPS protocols & recommendations: TLS 1.2, SHA256 or better, forward secrecy.
How to run a super-fast Android emulator with Intel x86 system images
Note: I did this on my MacBook Pro, and saw a major difference between the x86 emulator, and the old ARM emulator. I guess I should thank the CPU my MacBook uses, which supports Intel® HAXM*. If yours doesn’t, you’re out of luck! * Intel® HAXM requires an Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality.
[Updated] How to monitor the Apple Store for available refurbished items using cron
So, you’d like to buy a refurbished product from the Apple Store, but it’s currently Out of Stock. And will probably be for a while, and when it’s not anymore, the few units available will be gone in minutes. So you need a way to be notified ASAP when it’s available, so you can have a chance to order it.
Here’s a simple way using cron.
Show/Hide DesktopShelves using a Hot Corner
Here’s how I setup a Hot Corner to show or hide my DesktopShelves.
(Note that this trick can also be used to launch any program or AppleScript using a Hot Corner.)
Start iPhoto screen saver from AppleScript
Starting the screen saver from AppleScript is simple enough:
tell application "System Events" to start current screen saver
Even starting another screen saver than the default from System Preferences is simple, if you want one of the standard screen saver:
tell application "System Events" to tell screen saver "Arabesque" to start
But it becomes much more complicated if you’d like to start the iPhoto screen saver, and use another as the System Preferences default. Here’s how I did it:
Videotron Internet Usage Monitor
Hacking Crome extensions - How I added keyboard shortcuts to 1Password in Chrome
I love 1Password. It looks good, it’s safe, it has a web-accessible UI, it has an iPhone/iPad application…
What I didn’t like about it was it’s Chrome extension, which required me to use the mouse to click the 1Password icon in the toolbar each time I wanted to auto-fill a form with login details!! That was so annoying.
So annoying in fact that I took upon myself to implement keyboard shortcuts in the 1Password extensions.
Network-wide incoming calls notifications using Growl, Boxcar and XBMC
Earlier this week, I stumbled upon an iPhone app that allowed users to receive push notifications on XBMC. When a notification is received in XBMC, it appears in the lower right corner of the screen. Pretty cool.
This made me think it would be nice to see incoming phone calls there.
So I took out the Ovolab Phlink device I had sitting on a shelf, and created a small ‘ring’ script for it. That (Apple)script checks for the caller ID when the phone rings (and for a matching entry in my address book), and if it is available, calls an external PHP script that handles the network-wide notifications.
Mac Widget: Vidéotron Internet Usage Monitor
Remote-controlled air conditioning using Mac OS X and Shion
Auto-start XBMC on Apple TV boot
TV Forecast widget not working? Here's how to fix it.
Encrypt Gmail offline (Gears) data
Clavier Mac canadien français sous Windows XP (Parallels, VMWare, Bootcamp...)
How to fix non-working Folder Action on an external hard disk
Blowfish encryption plugin for Colloquy
FrontRow Enabler for 10.4.8
Compiling PHP 5 on Mac OS X
Canadian Holidays in iCal
Activism: RapidWeaver Contact Form vulnerability
Tag: Android
How to run a super-fast Android emulator with Intel x86 system images
Note: I did this on my MacBook Pro, and saw a major difference between the x86 emulator, and the old ARM emulator. I guess I should thank the CPU my MacBook uses, which supports Intel® HAXM*. If yours doesn’t, you’re out of luck! * Intel® HAXM requires an Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality.
Tag: Apple TV
Flickr interesting or groups photos on your (jailbroken) Apple TV screensaver
Since I replaced my Apple TV 1 with an Apple TV 2, and started using Flickr as the screensaver, I was wondering how I could use group photos or interesting photos from Flickr, instead of just a user’s photos, or the result of a search. Today, I was able to hack it to do what I want!
(Note: You need a jailbroken Apple TV for this to work.)
Tag: Review
[Updated] Phone Power in Canada: awesome features set, so-so routing & support
Last year, I took the plunge and switched from a big local telephony provider to a web-based VoIP provider: Phone Power. Their features set is quite something: free second line, voicemails to email, some free international minutes, etc. But, when it comes to routing local calls, they are so-so.
I live in Montreal, Quebec, Canada. Many local agencies & companies have 1-800 numbers that are geolocation-locked; you can’t call those numbers from outside Canada, or outside Quebec (depending). How they detect the origin of the call is not based on the caller ID (the caller’s phone number); it has to do with how the call is routed, i.e. where it’s coming from for real.
Now, the problem is not that Phone Power isn’t technically capable of routing those calls correctly, since I have been able to call those numbers on multiple occasions. The problem is that they are unable to keep routing consistent. The result is that those calls will only work sometimes, and will sometimes fail. And, when it’s not working, and you call/chat support to fix it, they don’t know how to resolve the situation. Sometimes, after 20-30 minutes of back and forth, they are able to make those calls go through. Other times, they can’t fix it, and answer that they’ll investigate further, and contact me later when they found something.