Saturday, March 9, 2013

Swype for iPhone

So when I transitioned from Android to iPhone I immediately went on the hunt for those apps I had grown accustomed to on my old Android device. For me, possesing fingers that are, lets say, not so device keyboard friendly Swype was a very useful tool. Swype, in a very junk version can be purchased in the apple app store. Don't waste your time or money. It can only swipe a note or a new message it does NOT replace the keyboard and become a useful tool throughout your iPhone. 

First you must jailbreak your iPhone. See my blog here for instructions on doing so (at your own risk of course). 

now on to the good stuff!

Installing iSwipe


  1. Launch Cydia
  2. Click Manage
  3. Click Sources
  4. Click Edit
  5. Click Add
  6. Add the following URL source: http://cydia.myrepospace.com/wyndwarrior
  7. Once the source has been added and updated do a search in Cydia for iSwipe
  8. There install iSwipe

Enjoy!

Jailbreaking 6.1.2

There are plenty of posts out there on jailbreaking your iphone and this is just one of them. However, since I have successfully jailbroken an iPhone 4s iOS 6.1.2 using Envasi0n I figured I would share. 

  1. Be sure to first backup your iPhone using these instructions.
  2. Create a folder called Pwnage on your desktop
  3. Download Evasi0n from here .
  4. Extract the Evasi0n zip file to the Pwnage folder on your desktop.
  5. Remove any lock screen passcodes on your device
  6. Double click the newly created evasi0n-win folder to open it.
  7. Make sure your iPhone is connected via USB cable. 
  8. Right click the Evasi0n icon and select Run as Administrator from the context menu to launch the app.

Monday, January 2, 2012

Open NAT for you XBOX Live connections.

I have seen plenty of chatter of this subject, with sporadic answers so I will attempt to get this communicated properly. Most routers now have UPnP (Universal Plug and Play) which can solve most of your NAT (Network Address Translation) woes. DMZ (Demilitarized Zone) vs. Port Forwarding  vs. Port Triggering, what does this all mean? Setting a static IP on your XBOX and placing that IP in the DMZ setting will put your XBOX outside of your routers firewall.  This will speed up connections as the traffic to and from your XBOX will not pass through the firewall, however your XBOX will be outside the firewall. Port forwarding to that very IP will again improve the communication times.

Which approach should I take and why?
(note: This information is designed as a general guide and assumes a certain level of technical competence and familiarity with routing functionality. For details on your specific router please consult your router manufacture.)

First take note of the XBOX ports:
88 UDP
3074 Both (UDP & TCP)
53 Both
80 TCP
1863 Both

If you have a single XBOX, a router that does not support UPnP, then you will probably want to put your XBOX in the DMZ and turn on port forwarding.
  1. Set a static IP in your router for your XBOX
  2. Navigate to your DMZ settings in your router. 
  3. Enable DMZ
  4. Select ANY or ALL Source IPs
  5. Enter the static IP you set in step 1 as the Destination IP. 
  6. Navigate to your router's port forwarding. 
  7. Using the guide above create entries for each port mentioned, forwarding to the static IP created in step 1 and enable each entry. 
My router supports UPnP. 
  1. Typically in your routers administrative section, enable UPnP
  2.  If available 'Allow users to configure UPnP' and 'Do Not Allow Users to Disable Internet Access'
  3. In Security and/or Firewall settings Enable or Allow: Filter Anonymous Internet Requests, Filter Multicast, Filter IDENT (Port 113) and Disable or Block Filter Internet NAT Redirection. 
This may or may not be enough to solve communication/host related NAT issues. In some cases after enabling UPnP you may have to also configure port forwarding. It is possible to configure port forwarding to an XBOX not in the DMZ just following the steps above excluding the steps for the DMZ. 

But I have two XBOXes/My pals come over with their XBOXes and they have NAT issues, how do I foward the ports to their XBOX as well? 

Port Triggering is your answer. 
  1. Navigate to your router's port triggering settings
  2. Create and enable entries from and to the port ranges listed above. 
When traffic hits the ports the router will remember the IP address of the device and route the traffic accordingly.  

I recommend setting static IPs on your XBOX(es), Enabling UPnP, and Enable Port Triggering. This will solve your NAT woes, and when your pals come over with their box they will be clear of the issues as well. 

Game on!


Friday, July 29, 2011

Installing Testlink on Windows Servers

Greetings everyone,


Like many I have the need to implement a test case management suite. Being knee deep in MSDN licensing there isn't a need to stand up a new linux box or install apache on a windows server that already has IIS installed.... So for those of you wrapped in windows here's a walkthrough for standing up Testlink on your windows box.
  1. Download latest testlink from http://sourceforge.net/projects/testlink/files/TestLink%201.9/TestLink%201.9.3/testlink-1.9.3.tar.gz/download
  2. (2003 or 08 servers) Using the web platform installer install the latest version of php from http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx
  3. Windows 7 - Download the latest version of php from http://www.windows.php.net/downloads.php 
  4. Extract php to c:\php5
  5. Add to your path the location of your libmysql.dll
  6. Update your php.ini file
    • Enable mysqli extension
    • Set the extensions dir 
      • extension_dir = "ext" 
    • set the max execution time
      • max_execution_time = 120
    • set the default socket timeout
      • default_socket_timeout = 86400
  7. Configure IIS
    •  Start --> Control Panel -->Programs -->Turn Windows Features on or off and check on the Internet Information Services entry.
      •  Activate the World Wide Web Services/Application Development Features/CGI node and also Web Management Tools/IIS Management Console
    •  Restart iis - iisreset from a command prompt
    •  Start the IIS Management Console
      • Double click the Handler Mappings
      • Click Add Module Mapping on the right column
      •  In the Add Module Mapping dialog
        •  Request Path = *.php
        •  Module = FastCgiModule
        •  Executable = c:\php5\php-cgi.exe
        • Name = PHP
        • Click yes to create a FastCGIApplication
  8. Install MySQL
    • Be sure to  run the MySQLInstanceConfig.exe to configure server settings
  9. Run the Testlink installer http://localhost/testlink
    • Once you have configured and secured Testlink and MySQL your ready to go!

Thursday, July 7, 2011

Syncing your Itunes library with your android phone.

So you want to sync you itunes library with your android device? 

First, download itunes agent
After install the application runs in the system tray.
Plug in your android phone using your USB cable. (note: if your android phone prompts you for a connection type select to use as a Disk Drive) 
Open the drive from your computer and create a folder called Music.
Click the iTunes Agent icon in the system tray and select preferences. 
Leave all Agent check boxes checked
Provide a name. e.g HTC Incredible 2
Select iTunes as the Synchronize pattern
Click Choose to select your Music Folder (this is the Music folder you created on your phone. When selected it will be displayed as "Music" in the Music folder field)
In the Recognize by folder/file field select the Music folder again on your phone. This will create a .ita file that directs iTunes Agent to the folder to sync with.
I Use device name to Associate with playlist as it helps keep iTunes clean. 
Click Save

Next launch iTunes and you will see Devices in your playlists. Copy the music you wish to have on your phone to the playlist. 
Open the iTunes Agent and Synchronize Devices

Next step is on to your phone.
I prefer Cubed for Android (also known as 3) but your mp3 player is entirely up to you!

Enjoy!

Friday, June 17, 2011

Using Client Certificate with SoapUI

After hunting around on this process a bit myself I've ironed out the details so you don't have to. 

Important notes for importing your certificate:
Double click the client certificate
Click Next on the Import Wizard
Click Next on the file import screen
Type your private key password
Check the "Mark this key as exportable. This will allow you to back up or transport your keys at a later time." checkbox.
Click Next
Click Include all extended properties
Click Next
Click Next to Automatically select the certificate store
Click Finish
Click OK on the Import confirmation dialog

Next export your client certificate so it can be used by SoapUI

Export your client Certificate
Click Start
Type MMC and press enter
Click File and select add/remove snap-in
Select certificates from the Available snap-ins column
Click Add
Select My User Account
Click Finish
Click OK on the Add or Remove Snap-ins window
Expand Certificates - Current User
Expand Personal
Click Certificates
Select the desired certificate
Right Click the certificate and select All Tasks
Click Export
Click Next on the Welcome screen
Click Yes, Export the private key
Click Next
Click Personal Information Exchange - PKCS #12 
Check Include all certificates in the certifcation path if possible.
Check Delete the private key if the export is sucessful
Click Next
Enter the cert password
Enter the cert password (password confirmation)
Click next
Select a name and location for the cert to be saved
Click save
Click Next
Click Finish
Click ok on the Confirmation dialog

Next set your SoapUI Configuration file
Open "C:\Program Files\eviware\soapUI-3.6.1\bin\soapUI-3.6.1.vmoptions" in a text editor
Add the follow line the end of the file
'-Dsun.security.ssl.allowUnsafeRenegotiation=true'
Save the file

Open SoapUI
Expand the File Menu
Select Preferences
Click SSL Settings
Set the following settings:
keystore: path to your certificate
password:
self explanatory
Check the 'Require client authentication' box
Click OK

That's all that's to it! Create a new project with your webservice and test away!

Thursday, June 9, 2011

Mecury Quality Center 9 & Internet Explorer 8.0

Anyone spending any time frustrated with Quality Center understands the corporate hesitation in the exorbitant expense of Quality Center 10 and the lack of support for any browser beyond Internet Explorer 7 in Quality Center 9.  In attempt to put a rest to your futile efforts clicking search result after search result I have compiled my research into one location.
 
Internet Explorer 7.0 is the latest browser supported by Quality Center 9.0. Therefore it is necessary to utilize compatibility mode as well as modify security settings in Internet Explorer 8.0 for the application to function properly.

  1. Launch IE 8 
  2. Expand  the Tools menu 
  3. Click Compatibility View Settings 
  4. Uncheck Display intranet sites in Compatibility View if checked. 
  5. Enter <YOUR MERC SERVER> into the Add this website edit box 
  6. Click Add 
  7.  Click Close
    (
    You should now be prompted to Install Mercury Quality Center 9.0
    If so skip to step 17.)
  8. Expand the Tools menu again
  9. Click Internet Options
  10. Click Internet Options
  11. Click the Advanced Tab
  12. Locate the Security Section
  13. Click Reset to Reset IE’s settings to their default condition.
  14. Click OK
  15. Restart Internet Explorer
  16. Navigate to your Mercury Quality Center url. 
  17. Click Install to install Mercury Quality Center 9.0 
Option 2 (If persistent issues with IE8 or the above fails to install Quality Center):

  1. Download the Quality Center Explorer from ftp://ftp.itrc.hp.com/applications/qualitycenter/qc90/others/qcexplorer/QCExplorerAddIn.exe
  2. When prompted to save QCExplorerAddIn.exe click Run
  3. Accept the default installation directory
  4. Click Next
  5. Click Start
  6. Click All Programs
  7. Expand Quality Center
  8. Click QC Explorer
  9.  In the Address bar enter the address to our Mercury Quality Center instance 
  10. Click Go     
 After all necessary components are downloaded you will be prompted for your login credentials.

Enjoy! Keep on Nerdin'