Enable DIRECTV to work on Jailbroken iPad

October 26th, 2011 by EGBlue

If you are like me, you just heard the news about the newly updated DIRECTV iPad app that enabled live streaming.

As you launch the app, you encounter with the following message: “DIRECTV is not supported on jailbroken devices. Please connect to iTunes to update or restore your service.”

All frustrated, I was looking for a solution, and here is how you enable the device to work on your legally (as far as I know) device.

Download iFile from Cydia.

Once you open iFile, Navigate to “/” and in the search bar look for “com.directv.mobile.ipad.navigator.production.plist” in “Hierarchy mode”

Click on the file and open it in “Text Viewer”

Once the document is open, click on the Magnifying Glass (Search) and type “Jailbreak”.

You will come across the line:

<key>DVTApplication_Option_JailbreakCheck_Enabled</key>

and below it:

<true/>

on the top left corner of the screen, click on Edit and change the line from <true/> to <false/>

Hit Save and Done on the top right corners and go ahead restart your Directv App.

You’re welcome…

Posted in Uncategorized having 100 comments »

Proto!MultiSelect 0.2

February 18th, 2008 by EGBlue

untitled-1.jpg

Hey everybody. It didn’t take long before glitches and features were reported, so first of all, i’d like to thank all of you for taking the time to check out the code and report all the bugs you found, it really helped taking the script further, i’m sure that the next build will not be perfect and that’s why your help is still needed to keep checking and suggest new cool features for next versions.

In this build I tried to include all the suggested features, I hope that nobody will be disappointed. There are also few bug fixes but most features upgrade. I encourage all of you to suggest any features you have in mind, because what might be useful for you, may be useful to others, so please do so..

The new version incorporates few new options:

  • fetchFile – default: undefined; a JSON file that is being called with the parameter keyword whenever a key is being typed
  • results – default: 10; the number of results to display before showing a scrollbar, if more results match a scrollbar is displayed
  • wordMatch – default: false; when set to true will match only the beginning of word, otherwise will match anywhere

Here is a list of changes on this upcoming build, and by the way, the name has been changed to Proto!MultiSelect in order to avoid confusion with our dearest friend’s, Guillermo Rauch, project.

- 0.2: renamed from Proto!TextboxList to Proto!MultiSelect, added new features/bug fixes
added feature: support to fetch list on-the-fly using AJAX Credit: Cheeseroll
added feature: support for value/caption
added feature: maximum results to display, when greater displays a scrollbar Credit: Marcel
added feature: filter by the beginning of word only or everywhere in the word Credit: Kiliman
added feature: shows hand cursor when going over options
bug fix: the click event stopped working
bug fix: the cursor does not ‘travel’ when going up/down the list Credit: Marcel

Fixed 02/19/08

A glitch where deleted records are not being re-added to the list. – suggested by  Antoine

Demo

Click here for demo

Download

Click here to download

Posted in Prototype/JavaScript/Ajax having 157 comments »

Proto!TextboxList meets Autocompletion

February 11th, 2008 by EGBlue

auto.png

This is the Prototype version of the extended script by Guillermo Rauch. As with the previous script, this script has been converted and operates like the original. An extended and upgraded version will be posted later on this week, if you have any comments or requests, please post them and I will try to include all the requested features in the upcoming Proto release.

Click here to see demo

Here is the original post by Guillermo that describes the script:

In my previous blogpost I explained how to extend TextboxList to add closing functionality via a link added to each box. But it was missing an important ingredient: autocompletion!

Again, all we have to do is extend the TextboxList class, override some methods, some events, and create some new ones (all prefixed by auto)

It works by caching all the results from a JSON Request and feeding them to the autocompleter object. When a item is added as a box, it’ removed from the feed array, and when the box is disposed it’s added back, so that it becomes available in the list when the user types.

Another new feature is that you’ll be able to let it add boxes from the HTML directly:
[html]

 

Type the name of an argentine writer you like

  • Jorge Luis Borges
  • Julio Cortazar

[/html]
The constructor now takes new parameters to configure the autocompletion, like the minimum number of characters to trigger the dropdown, and more.

Download

Click here to download the script

New version is out, check it out!

Posted in Prototype/JavaScript/Ajax having 98 comments »

TextboxList: Fancy Facebook-Like dynamic inputs! Now, in Prototype

February 11th, 2008 by EGBlue

untitled-14.png

Hey everybody, after coming across Guillermo Rauch’s script, I knew i had to port it into my favorite library, Prototype. In this page you will find the Guillermo’s script translated into Prototype. I kept the original formatting and will post it just like he did for the ease of understanding for people who used the original first. Later on this week, I will release an improved version of the script. This post is a conversion of the original deal. The improved script will include more features and implement several improvements. Let me include the original post by Guillermo that describes the script. The post is slightly modified to suite my blog’s format. Have fun, and please! report any glitches or feature requests so I will implement those in the improved version, due later on this week.

Original post:

Check out a demo of TextboxList before reading!

While working on my big and exciting new project, I decided to include an input that resembles the famous Apple Mail to: textfield. I’d seen it in Facebook before, which has a really decent implementation of this concept (it work well, but it doesn’t respect any modern programming principles; basically, it’s a big tag soup with lots of inline Javascript)

I created my own, MooTools 1.2 [Now: Prototype] compatible, in just 5kb. It’s not only small, but also really frexible! Here are some notes of the creation process and how to implement it in your own projects.
Anatomy of the control

As usual, I try to come up with a semantic, unobtrusive approach. I start with the CSS and the markup that will be my end result.

I want to go from something like this:
[html]


  • [/html]
    to something like this (only one possible scenario, naturally)
    [html]

    • Jorge Luis Borges
    • Julio Cortazar
  • [/html]
    Basically, it’s a group of pieces (that I’ll call bits), that can be either a box or an input (small, except for the main one). The user is able to move around between the bits by using his keyboard or his mouse.
    Javascript

    As far as the javascript goes, I try to first think about reusable code (usually classes) that I may use. I thus first coded the class that adds resizing capabilities to the small fields as the user types, and a small utility method to find the caret position.

    The only challenges I found was handling the complex events while keeping everything crossbrowser. Again, none of this would have been possible if it wasn’t for MooTools (1.2) [Now: Prototype].
    Using it

    All you have to do is:
    [js]
    new TextboxList(‘input-demo’);[/js]
    Where input-demo is the id of the desired input to replace

    The constructor can take these options:

    * onInputFocus (event, fired when an input gets focus)
    * onInputBlur (event, fired when an input loses focus)
    * onBoxFocus (event, fired when a box gets focus)
    * onBoxBlur (event, fired when a box loses focus)
    * onBoxDispose (event, fired when a box is removed)
    * resizable (option, hash, passed to ResizableTextbox constructor)
    * className (option, string, prefix of the classnames of the generated objects)
    * extrainputs (option, boolean, adds small inputs between boxes if true)
    * startinput (option, boolean, adds a small input before the first box if true)
    * hideempty (option, boolean, hides the small inputs by default)

    Download

    Click here to download the cool script ;)

    Posted in Prototype/JavaScript/Ajax having 23 comments »

    Set up IIS 7 w/ MySQL and PHP 5

    February 9th, 2008 by EGBlue

    Hey fellas, this is my first Blog Post.
    In my posts i’ll try to share with you some experiences i’ve had in the past week during my work as a web developer.

    As all of us are talking about the new coming Windows Vista, I decided to dedicate my first post to guide you all on how to setup IIS 7 along with MySQL and PHP 5. Before entering the venture myself, I searched the internet for tutorials on how about to do that, however, the closest i got was to install IIS 7, PHP and MySQL, however, everywhere i looked the PHP didn’t work with MySQL.

    I decided to go on the ride anyways, hoping to get it to work, and fortunately, i did ;).
    Here is how i was about doing that:

    First step, IIS 7.

    I have Windows Vista RTM 64bits, thus this guide will show all the steps required to set it up on Vista 64bits, however, i will try mention all the steps that 32bit users should accomplish instead.
    In order to set IIS 7 up, please go to Start->Control Panel->Programs->Turn Windows features on or off.
    see yellow mark on the picture below

    Inside the window that popped up, Look in the list for Internet Information Services. and check the box next to it.

    Under “Internet Information Services”->”Web Management Tools” check “ISAPI Extensions”.

    Click ok and wait for it to install IIS 7. When finished close the Control Panel window.

    That’s it, IIS 7 is all set, in order to confirm that, you can try to go to http://localhost in your favorite browser.

    Next step: PHP 5.

    Because i was using the 64bit edition of Vista, instead of downloading the regular distribution from php.net i downloaded a 64bit version from http://www.fusionxlan.com/PHPx64.php, Please download the zip package, as of this time, the latest version is 5.2.0

    People who are using the 32bit edition of Vista, please download the zip package from http://www.php.net/downloads.php.

    Unzip the zip to your drive, i used C:\php. now inside C:\php you will find a file named php.ini-dist.

    copy this file to c:\windows\ and rename it to php.ini (erase the -dist part).

    Now open the php.ini in notepad.

    Inside the file, look for the line ;extension=php_mysql.dll and delete the semi-color (;) from the beginning of the line.

    Now save and close the file.

    Next, let’s copy the dll to the right place…

    Go to c:\php\ext and copy the file php_mysql.dll. Now go to C:\Windows\System32 and paste the dll there.

    When asked to, Click continue to gain Administrator privilege.

    Now let’s configure IIS to work with our PHP.

    Go to start->run and start InetMgr.exe (IIS Manager).

    Inside IIS Manager click on “Handler Mappings”.

    On the right side of the window, click on “Add Script Map…” (Yellow box in the pic below)

    In the window that pops up, fill up the fields with these values:

    “Request path:” *.php

    “Executable:” C:\php\php5isapi.dll

    “Name:” PHP

    The window should look like this one when you are done.

    Click “Ok”, And when the “Add Script Map” dialog pops up, Click “Yes”.

    Ok, so we have PHP and IIS 7 working together, now it’s time to add the last piece to the puzzle, MySQL.

    Download MySQL, i used MySQL 5.1 located at: http://dev.mysql.com/downloads/mysql/5.1.html

    32bit users, download the 32bit distribution, 64bit, download the 64bit one.

    Once you downloaded the MySQL installer, 32bit users, all you have to do is go through the Installer steps (Click next,next next next) and you should be fine.

    64bit users, you still got some little work, after installing the MySQL, i had a problem running the configuration wizard, in order to solve that problem, i used the following trick.

    I downloaded the 32bit zip package (without installer), inside C:\Program Files\MySQL\MySQL Server 5.1\bin i renamed the file libmySQL.dll to libmySQL64.dll and copied the 32bit file into the directory instead. Then i ran the configuration wizard, and this time it worked.

    After the configuration process was completed, delete the 32bit file from the directory and rename the file libmySQL64.dll back to libmySQL.dll.

    That’s it, you are all set with IIS 7+MySQL+PHP.

    In order to make sure that everything is in order, create a file named test.php inside C:\inetpub\wwwroot\ and write inside

    Then inside your favorite browser browse to http://localhost/test.php and you should see all the settings of your php installation, if you will scroll down, you should also see MySQL settings which will confirm that MySQL is indeed installed.

    A fix for Sessions Issue: Vista seems to have a permission problem with php’s session.

    Symptom:
    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line

    Solution:
    In order to solve the issue, inside CMD as administrator (Right click on CMD.exe and “Run as administrator”). write these two commands:

    icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant Users:(CI)(S,WD,AD,X)

    icacls %windir%\serviceprofiles\networkservice\AppData\Local\Temp /grant “CREATOR OWNER”:(OI)(CI)(IO)(F)

    Well, i hope that my first Post will assist at least some of you, any comments regarding my writing are welcome. And of course, if you have any questions or you are having any difficulties in the process, don’t hesitate to comment and i promise to try and help with every comment.

    Till the next time…

    Posted in Tools having 27 comments »

    About InteRiders

    Welcome to InteRiders Inc. Our company is located in the San Fernando Valley, California. We specialize in development of web-based systems using cutting edge technologies. In this site we will share with the readers some pieces of codes along with insights into projects we've been working on. Hopefully others could benefit from our work. Have great reading.

    Ran Grushkowsky, CEO