Showing posts from 2012

Toshiba laptop disassembly

Disassemble, repair and upgrade Toshiba laptop yourself. Step by step instructions. Great work!

Stage3D Blogs and References

Stage3D Shader Cheatsheet

A quick reference for working with AGAL, the new shader language for use with Stage3D introduced with Flash Player 11.

Each register consists of four components, which are floating point values. These components are accessed by registerName.x, registerName.y, registerName.z, registerName.w. They’re named for dealing with 3D positions – with the ‘w’ for rotation in the style of quaternions – but they can just as well be used to hold a colour (in fact you can also access the components with .r .g. b. a) or any other values you want to use.
There are several registers of each type available. For instance you might have va0 giving the 3D position of a vertex in space, and va1 giving the uv mapping coordinate for that vertex. The nice thing about having registers made up of components is you can do things like perform a basic addition operation va0 and vc0, and the addition will be performed correctly on each component.

Registers for Vertex Shaders
va[0 to 7] Vertex Attribute…

Github CHEAT

Setup ----- git clone clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS Add colors to your ~/.gitconfig file: [color] ui = auto [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold [color "status"] added = yellow changed = green untracked = cyan Highlight whitespace in diffs [color] ui = true [color "diff"] whitespace = red reverse [core] whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol Add aliases to your ~/.gitconfig file: [alias] st = status ci = commit br = branch co = checkout df = diff dc = diff --cached lg = log -p lol = log --graph --decorate --pretty=oneline --abbrev-commit lola = log --graph --decorate --pretty=on…


git status -  view the status of your files in the working directory and staging area$ git status -sgit diff - shows diff of what is staged and what is modified but unstaged$ git diff
git commit -records a snapshot of the staging area$ git configgit rm - remove files from the staging areagit log -show commit history of a branchgit push -push your new branches and data to a remote repository$ git push github master// git add . (add all files)// git commit -m "message"// git push origin master

20 Tips To Optimize Your Actionscript

This article was written several years ago for Experts Exchange, and has proven to be a little more controversial than I expected or intended, mostly due to the (admittedly vague) reference to what I call AS3′s “fake” lazy evaluation, which happened to be (rather randomly) listed as the first tip. I’m removing that tip from the list, not only because it’s likely confusing, or that the performance gains realized by following it would be minimal at best, but also because it might be a safe assumption that future version of the player might correct it. First, a quick word about the issue itself.

AS3 (and many languages) use “lazy” evaluation. That’s to say that a boolean expression will stop evaluating as soon as it can. Take the following expression:

1if( a > b || c > d)
That means that the second condition (c > d) won’t ever be examined at all, if a is greater than b. This is usually not terribly noticeable, since it’s not obvious if the second component was e…

the user does not have sufficient privileges to install Adobe Flash Player (Windows XPXP)

ERROR While installing Flash Player:

the user does not have sufficient privileges to install Adobe Flash Player

1- First uninstall Flash Player with this tool:

2- Then install the latest flash release with your administrator account :

more info about Flash Player 11 (Stage3D, molehill etc.):

Why Linux? Microsoft has reached an enormous success with its Windows product during the last decade and practically monopolized the market for home computer operating systems. But, does it mean Windows is still the best OS around, especially for power users?

No, it’s not. At least not always. And on this page you are going to see why.

If we draw a comparison between the two operating systems considering licensing, selling, and upgrading models, and if we add the supreme configurability (resulting from the system’s philosophy), and a low pricing then it will appear the GNU/Linux is decidedly more user friendly in terms of software then any other system existing on the market at present (perhaps apart from niche systems like GNU/Hurd and Haiku).

Microsoft Windows systems are still dug in on the other pole with their restricted licensing allowing users to — at the most — conditionally run the systems (not even in every case) and their applications.
By friendliness we …
The Linux Command Line - Reviewwas given an opportunity to review The Linux Command Line, a Complete Introduction, by William E. Shotts, JR from No Starch Press and decided to give it a go. Being somewhat of a command line geek, I’m always on the lookout for good material to learn new and interesting things, and perhaps recommend to others. This is one of the better books I’ve read on the Linux Command line. It is easy to read and users with a little experience will find it has straight forward descriptions and examples. The book contains a lot of information and the only thing I’ve found lacking is diagrams, but if you’re not a particularly visual learner, this may work for you.
The book is intended to be read from cover to cover, which is exactly what I did (very rare for me, I tend to jump around.) It is not supposed to be a reference work, but more of a story. The story starts off basically enough, moving on to more advanced topics, finishing with shell scripting, tho…
Welcome to Yogurtistan!
A 3D shopping universe inside Facebook | VentureBeat:

check this out :

The popularity of open-ended 3D worlds peaked with Second Life around 2007. But for e-commerce companies, the dream of virtually replicating the experience of going to a mall lives on.

Yogurtistan is a 3D world aimed at simulating real-world retail environments for e-commerce companies on Facebook. With this technology, retailers can create 3D environments where customers can make custom avatars, try on virtual clothing, interact with one another online, and make purchases.
It’s built on Adobe’s Flash player version 11.2, and is accessible to users on Windows PCs, Macs, and tablets (via an Air 3.2 app). It’s also integrated into Facebook.

“We are creating a new experience by mimicking real-life engagement by going from store to store without changing a tab, or entering…