Joshua Oiknine

Developer of things at Port:9. was the latest now there is The Regram App available in the app store.

  • Ishwunfoifopluil


  • #Frozen #pond with the #fountain still running. (at Masons Mill Park)

#Frozen #pond with the #fountain still running. (at Masons Mill Park)


INTRODUCING PENCIL. Think With Your Hands.

Great tools inspire great ideas. We could not be more excited to announce Pencil, a new hardware accessory for Paper, and the latest in our essential suite of mobile tools for creativity. Pencil is the most natural and expressive tool for getting ideas on Paper—a beautiful blend of advanced technology and artisanal craft. Pencil’s special expressive features: Erase, Blend, and adaptive Palm Rejection, open up a whole new world of creative possibilities in Paper.

Learn more:

  • Show the world we want a phone worth keeping! #phonebloks

Show the world we want a phone worth keeping! #phonebloks

  • #lightning and #thunder

#lightning and #thunder

  • #ios7 #hadto

#ios7 #hadto

There are a few tutorials out there the describe how to connect and compile php binaries (libraries) for Heroku but I didn’t find anything that gave the complete process and I wanted to outline that process here. I have also been building a github repo with the results of my labors which you can find here

First let’s get onto the heroku instance:

cd /myApp
heroku run bash

Move to your tmp directory:

$: cd /tmp

Download your source and extract the files. For this example we will download PHP using curl but you could also use git clone for git repositories:

$: curl > php-5.4.15.tar.gz
$: tar xzf php-5.4.15.tar.gz

At this point you can complie all of PHP with the extentions you want then go find them but I like navigating to the extention I want to build and compiling it from there. Let’s compile zip:

$: cd php-5.4.15/ext/zip
$: /app/php/bin/phpize
$: ./configure --with-php-config=/app/php/bin/php-config
$: make

If everything works out then you will have your file in the modules directory:

$: cd modules/
$: ls -l

Now the fun part getting the files off this instance of Heroku. The problem we are now facing is that once you exit the bash session on Heroku all of your previous work is gone. The simples way I found was to SFTP the files off of Heroku to another server but just in case you don’t have an extra server lying around that is accessible I found using PagodaBox as a great free option. You can set up an account with PagodaBox and set it to run in legacy SFTP mode.  Then all you need to do is SFTP the files from Heroku to PagodaBox.

$: sftp
sftp> put
sfpt> exit
$: exit

Now you are safe to exit the Hekou bash shell.

Next you will need to download this extension and put it in your project. I usually make a ext folder in my project’s root directory for these files.

mkdir ext
cd ext
sftp> get

The last step before you push your changes to Heroku is to make a php.ini file and include this extension in it.

cd ..
nano php.ini

Once in the ini file add the extension like so:

extension_dir = "/app/www/ext/"

Save the php.ini file. Commit your changes to git and push to Heroku.

If you are having any issues or need a library compiled check my github repo at

Ever wanted to use the default Pintrest button but wanted to make it a little larger? With a little CSS hacking it’s pretty simple. It is important here to include a wrapper around the button in order to have a more specific target than the default styles from Pintrest.

Here is how I did it.


<div class="pintrest-button">
    <a data-pin-config="none" href="//" data-pin-do="buttonBookmark"><img src="//"></a>


.pintrest-button a[class*='PIN_'] {
    background-size: 50px 69px!important;
    background-position: 0 -23px;
    height: 23px!important;
    width: 50px!important;
.pintrest-button a[class*='_hazClick'] {
    background-position: 0 -46px!important;

Happy pinning!

A little recipe I worked up that is proven to help anyone succeed.

    class recipie_for_success {
        function __construct() {
        function try_to_succeed() {
            $successful = $this->try_something();
            if (!$successful) {
                return $this->try_to_succeed();
            } else {
                return true;
        function try_something() {
            return  $it_worked;


I have to say that I love the twitter website. Since they actually put some focus on the web interface to their platform last year it has come around. It has all the details I need/want about a given tweet just a few clicks away. Also the ability to view images/video right on twitter’s site makes my browser (that already has 30+ tabs open) happy.

Another great thing about twitter is their open source efforts. Bootstrap CSS has made throwing together a new site much simpler. Also their use of jQuery makes this hack so much easier.


The one thing about twitter is they are a business and they need to make money so we now have promoted… everything, from Tweets to Users to Trends.

Now for the Hack… Ever wanted to strip out those “Promoted Things”? Here is simple way to do it with jQuery:

    // Remove Tweets
    // Remove Users
    // Remove Trends

To make it easier just throw this into a bookmarklet and you are good to go. Just wrap the above with “javascript:(<code goes here>);”. I can’t seem to make the link using Posterous.

Maybe oneday I will get bored and make a chrome extention to run this when the page loads =)