Saturday, November 9, 2013

How to Restart Mac OSX sound system?

How to Restart Mac OSX sound system?

Run this in Terminal:

sudo killall coreaudiod

Friday, August 2, 2013

How to setup Raspberry PI

How to setup Raspberry PI
First, order your Raspberry PI here:

Read the quick start guide:

Download your Linux image and unzip it:

Install Linux:

Run this command in terminal(make sure you have the correct /dev/disk number /dev/disk[n]):
sudo dd bs=1m if=2013-07-26-wheezy-raspbian.img of=/dev/disk2

Sunday, July 28, 2013

Math App - Easy to use Android Application for everyday High school and College students!

Finally! Math App is out of Beta and ready for use!
- New Action Bar Icons and Colors!
- New Icon for the App itself!
- Tons of common equations for everyday High school and College students(Chemistry, Physics, etc..)!

Please check it out and give feedback!

Welcome to Math App Beta by Andre Compagno and Jared Burrows
Send all suggestions to
Special thanks to Andre Compagno
This application makes it easier than ever to solve and search for equations. All the math is done for you, all you have to do is select the equation and input the values! Constants are built in for all equations!
Math App features:
How to use Math App:
1. Click on the equations
2. Fill in the values you are given
3. Click the caclulate icon
Naviation Bar:
✔ Search Equations
✔ Log in through Facebook - Share with your Friends - Coming soon!
✔ Send Feedback to the Developers!
✔ Share
✔ Help - Click to view the tutorial
✔ About
Features and Solvers:
✔ List of Common Equations
✔ Vector Dot Product
✔ Vector Cross Product
✔ Angle Between 2 Vectors
✔ Magnitude of a Vector
✔ Matrix Multiplication
✔ Matrix Determinant
✔ System of Equations
✔ Teaches you how to properly use the app!
Equation Descriptions:
✔ Coming Soon!
✔ Add equations to your favorites list in order to easily access them
Permissions requested:
✔ Internet
TAGS: formulas, pro, formula, collection, formulas, mathematics, physics, chemistry, education, training, formula collection, science, high school, math, math games, math game, math workout, maths help, , maths workout, Maths brain, maths kids, math tricks, math tutor, math teacher, math test, maths for kids, math drills, math flash cards, math formulas, math facts, math homework, math magic, math maniac, math reference, math ref, math tricks, math skill, math wizard, brain teaser, math problem solving, math logic, math genius

Friday, July 19, 2013

How to compile HelloWorld in Intel x86-32 on Mac OSX/FreeBSD

How to compile HelloWorld in Intel x86-32 on Mac OSX/FreeBSD

Compile in your Terminal:
nasm -o hello.tmp -f macho hello.s && ld -arch i386 -macosx_version_min 10.6 -no_pie -e _main -o hello.o hello.tmp && ./hello.o

The Code:
section .data                   ; constants stored here

    msg db "Hello World!", 0xa  ; our string to be printed
    len equ $ - msg             ; get the length of our string

section .text                   ; labels stored here

global _main                    ; specify our main function - (ld -e main)

_syscall:                       ; label - system call - call kernel - how we print to the screen
    int 0x80

_main:                          ; label - technically int main()
    push    dword len           ; message length
    push    dword msg           ; message to write
    push    dword 1             ; file descriptor - 1 - stdout
    mov     eax, 0x4            ; system call number - 4 - system write
    call    _syscall            ; go to label(function call) - _syscall

    ;  add     esp,12          ;clean stack (3 arguments * 4)

    push    dword 0             ; exit code - return 0
    mov     eax, 0x1            ; system call number (sys_exit)
    call    _syscall            ; go to label(function call) - _syscall

Find more here:

Saturday, May 11, 2013

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:

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

  • 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:


Make a backup just in case you mess up:

sudo cp /Applications/ /Applications/

Edit the file like:

sudo nano /Applications/

To save:
Control + X  then Y



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

Go to

Download the latest, here:

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 -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/" 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/ && ssh -p 2222 mobile@localhost uicache

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