JP

Experimenting with interactive art. Maybe that's next?

Page 2 of 6

CardBox – Personalize a card for every occasion

We[the CardBox developers], have recently launched a brand new app, CardBox, which allows you to create and instantly share greeting cards for almost any occasion! CardBox allows you to create cards for the following occasions currently: Birthdays Anniversaries Christmas New Year’s day Valentine’s day Women’s day Mother’s day Father’s day Parents’ day Grandparents’ day Halloween […]

The official Uncyclopedia Android app

The folks at Uncyclopedia have made my Uncyclopedia Android app as their official app! Get it now!

How to get a File object of an Android raw resource using reflection

Context: You have a URI to a resource which is placed in the raw directory inside the Android resources directory, res. Say you want to take that raw resource(let’s say it’s an image) and add it to an attachment using FIleBody to a MultiPartEntity. Both these classes are available in the Apache HTTP Components library. FileBody […]

Uncyclopedia App for Android – On GitHub

I’ve decided to open source the Uncyclopedia app for Android, which some of you may remember was available on the Play store during the first quarter this year. Browse the code on GitHub. The source code is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

Calculate the REAL scale factor and the angle of rotation from an Android Matrix

After performing transformations such as rotation of a bitmap about an arbitrary point, the scale is lost. Of course, this makes sense because the bitmap is rotated inside the same bounds. To get the real scale now, along with the most reliable degree of rotation, I had to follow this method. Hope it saves the […]

Multi Touch in Android – Translate, Scale, and Rotate

Here’s a quick and easy implementation of Android’s multi touch feature – one finger to move, two to zoom, and three to rotate the image. Assuming you have a basic understanding of 2D matrix transformations, the Matrix class in Android uses a 3×3 matrix to achieve all of the 2D transformations. The source code and […]

Notes on running the Crippled Turbo C/C++ from Dosbox, within a Linux Env

Notes on setting up Turbo C/C++ within DosBox 0.74, compiled from source: Install DosBox from source This is the dosbox_shared directory containing Turbo C/C++ This config file is tested and works, modify the last three commands, to set the correct path to where you’ve extracted the dosbox_shared.tar.bz2 Place the config file in /home/username/.dosbox/dosbox-0.74.conf

Rooted? Get the most of your Android phone | A power saving strategy

The smart-phones these days are power hungry devices, and often drain the battery within six to eight hours, or even less. However, if it’s running Android, there’s a good chance that that can change. The key is to find the right set of tools, and optimize your phone to be right on the edge, there […]

Splash! “… come, and lose yourself”

The Unofficial Gentoo Linux x86 uClibC stage3s’

Update: The catalyst spec files are available here: https://github.com/judepereira/gentoo-development/tree/master/x86/uclibc/catalyst Following this Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=441976 We have official experimental uClibC for x86 and amd64 stages. I will not be maintaining these unofficial ones any longer. The link to the official archives is: http://mirrors.rit.edu/gentoo/experimental/x86/uclibc/ and http://mirrors.rit.edu/gentoo/experimental/amd64/uclibc/ The uclibc experimental stages on the gentoo mirrors are all outdated(they […]

Use Ruby to Generate your Shadow Password

I was initially stumbled on creating the shadow compatible SHA-512 hash. After a little research, the answer was obvious: require ‘digest/sha2’ password = “pass@123” salt = rand(36**8).to_s(36) shadow_hash = password.crypt(“$6$” + salt) And you now have a password hash which you can directly use in /etc/shadow

The Puppet Cyclic Dependency Nightmare

Want to see the wildest cyclic dependency graph ever? Well, here it is: After this was fixed finally, after a lot of frustration, the result was majestic:

Hacking your GoFlex Home, #3 Ideas

Well, first off the ability to just add one USB device is a little boring, I’ve been using a Belkin 4 port USB HUB, and the results are good. For cooling the GoFlex, you may want to remove the bottom cover and keep it on a laptop cooling fan or something similar, as the processor […]

Hacking your GoFlex Home, #2 UART Serial Console

Serial console? That’s beautiful when it comes to debugging. The following images are specific to the Seagate GoFlex Home, however, you may be able to figure out the connections for other Marvell SoCs. On the board: Notice that according to the picture, the bottom right last three pins are used. The junction: I’ve used extra […]

« Older posts Newer posts »

© 2016 JP

Experience powered by CleverTapUp ↑