Saturday, March 16, 2013

How to install system monitoring tools

How to install system monitoring tools

To install them:
sudo apt-get install sysstat

Only some of the helpful tools that come with 'sysstat' package:
iostat
mpstat

How to run ADB on 64 bit systems

How to run 32-bit binaries on a 64-bit architecture

Most of the times on a fresh install of Ubuntu, it will be missing packages to be able to run 32-bit binaries.

To install them:

sudo apt-get install ia32-libs

Friday, February 8, 2013

How to put Applications on Jailbroken iPhone

How to put Applications on Jailbroken iPhone

Need:
  • Jailbroken iPhone(with OpenSSH from Cydia)
  • USB cable
  • MacbookPro(for Xcode) 
  • uikittools
Tested with:

Step 1 - make sure Xcode is closed - stop automatic signing


First off you need to edit a configuration file within Xcode:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/SDKSettings.plist

Make a backup just in case you mess up:

sudo cp /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/SDKSettings.plist /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/SDKSettings.BACK

Edit the file like:

sudo nano /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/SDKSettings.plist

To save:
Control + X  then Y

Change
<key>CODE_SIGNING_REQUIRED</key>
<string>YES</string>
<key>CODE_SIGN_ENTITLEMENTS</key>
<string>YES</string>

to
<key>CODE_SIGNING_REQUIRED</key>
<string>NO</string>
<key>CODE_SIGN_ENTITLEMENTS</key>
<string>NO</string>


Step 2 - create the TCP connection between your Macbook and your iPhone


Go to
http://cgit.sukimashita.com/usbmuxd.git/

Download the latest, here:
http://cgit.sukimashita.com/usbmuxd.git/snapshot/usbmuxd-1.0.8.tar.bz2

Use a GUI tool or simply extract in Terminal:
tar -xjf usbmuxd-1.0.8.tar.bz2

cd to the "python-client" folder

Open Terminal and run to test the connection, Control + C to quit:
python tcprelay.py -t 22:2222

Now you can run these commands in the future:
ssh root@localhost -p 2222 - access the phone
scp -P 2222 root@localhost - send files to the phone


Step 3 - time to open Xcode


Click on your Project > Build Settings > Go to Code Signing > Code Signing Identity > Make sure it says "Don't sign code"

Make sure you set your target to "iOS Device"

Go to Product > Build for > Archiving


Step 4 - time to push your application to your jailbroken iPhone!


Example project name: NavBar

After building your application, its time to push it your phone, you need to find the path to your application in order to send it to your phone:

Open terminal again:

scp -r -P 2222 "/Users/noname/Library/Developer/Xcode/DerivedData/NavBar-gekkahxyyaepvgdkfkduwhlmqvqg/Build/Products/Release-iphoneos/NavBar.app" root@localhost:/Applications/

When prompted for the password, make sure your type "alpine"

User: root (already specified)
Password: alpine

After that is quickly transferred, Control + C to quit and then update your iPhone with:

ssh -p 2222 mobile@localhost uicache

User: mobile (already specified)
Password: alpine

To remove everything:

ssh -p 2222 root@localhost rm -rf /Applications/NavBar.app && ssh -p 2222 mobile@localhost uicache

By now you should see the application pop up on your home screen!

Friday, December 28, 2012

How to remove your private data from Spokeo

How to remove your private data from Spokeo

Find your link on Spokeo:
http://www.spokeo.com/

Then go to their privacy website and ask for removal:
http://www.spokeo.com/privacy



How to control of your Google privacy

How to control of your Google privacy

Go to:
https://www.google.com/dashboard/?hl=en

From here you can easily see everything you have ever done on Google.



Here are only some of the applications that you can control.

Wednesday, December 26, 2012

How to remove accounts connected to your Google account

How to remove accounts connected to your Google account

Go to:
https://profiles.google.com/u/0/connectedaccounts
From here you can easily de-select all the associated accounts that Google has found.



Go to:
https://accounts.google.com/b/0/IssuedAuthSubTokens?hl=en_US
From here you can easily de-select all the associated accounts that are actually connected to your account.


How to remove your Photo from Youtube

How to remove your Photo from Youtube

Go to:
http://www.youtube.com/account_advanced

Next:
Click on Rename > Check "I understand that my channel will be renamed." > Click Rename Channel



This will simply revert your Youtube account back to the way it should be. It should remove the Google+ photo as well as other information.

How to remove your Google+ +1's

How to remove your Google+ +1's

Go to plus.google.com > Click on Profile > Click on "+1's"

From here, simply remove all the unwanted "+1's"