HTML, CSS, PHP, and More Cheat Sheets
A great list of WordPress cheat sheets.
http://lorelle.wordpress.com/2005/10/10/html-css-php-and-more-cheat-sheets/
A great list of WordPress cheat sheets.
http://lorelle.wordpress.com/2005/10/10/html-css-php-and-more-cheat-sheets/
Variables in CSS?
http://csshook.com/cssexamples/variables-in-css/
CSS Variables should be defined in an @variables at-rule. An @variable at-rule is composed of the ‘@’ character followed by the ‘variables’ identifier, optional target media types (separated by commas) and a block of variable definitions. The definition of a variable must precede all style rules contained or imported in the stylesheet.
To enable Web Inspector for Safari on Windows, you first need to find the file ‘WebKitPreferences’ Here is where I found the file on my system:
C:\Documents and Settings\Administrator\Application Data\Apple Computer\Safari\WebKitPreferences (notice there is no file extension).
Add the following key before the entry:
Restart Safari and right click on a webpage and you should be off and running.
Here is a function for animating the n-body gravitational force between bodies:
public function animate(planetA:Array):void{ var len:int = planetA.length; for(var k:int=0; k<len; k++){ var p:Planet = planetA[k]; for(var m:int=k+1; m<len; m++){ var q:Planet = planetA[m]; var a = q.scaling/(Math.pow(p.xo - q.xo, 2) + Math.pow(p.yo - q.yo, 2)); var theta = Math.atan2(q.yo - p.yo, q.xo - p.xo); p.ax = a*Math.cos(theta); p.ay = a*Math.sin(theta); p.vx += p.ax; p.vy += p.ay; p.xo += p.vx; p.yo += p.vy; } if(p.xo>800||p.xo<0||p.yo>800||p.yo<0){ planetA.splice(k, 1); len--; } this.graphics.drawCircle(p.xo, p.yo, p.scaling/20); } }
class Planet extends Sprite{ public var scaling:Number = Math.random()*100 + 50; public var vx:Number = (Math.random()*1)-0.5; public var vy:Number = (Math.random()*1)-0.5; public var ax:Number = 0; public var ay:Number = 0; public var xo:Number = 0; public var yo:Number = 0; public function Planet():void{ this.graphics.beginFill(0xcc0000, 1); this.graphics.drawCircle(0,0,scaling); this.graphics.endFill(); } }
Get this code and tons more at
http://www.actionsnip.com/
Wicked video tutorials on CSS.
Chris Coyier REALLY knows his stuff!!.
Thanks Chris for sharing what you know.
http://feeds.feedburner.com/CSS-Tricks-Screencasts
AS3 Geom Class Exporter is a 3DS Max designed script that allows you to directly export 3D models to AS3 classes.
The benefit is that you don’t need anymore to load and parse a texte file (ase, obj, 3ds).
You just have to import the class and to create an instance, like you do with usual objects like plan, sphere and box classes.
Guys you ROCK!!!
Get it here
http://seraf.mediabox.fr/showcase/as3-geom-class-exporter-for-3ds-max-english/
Datasets with no database Dreamweaver cs4.
I was just looking around http://abduzeedo.com/ it’s an awesome site, go check it out.
I found this post…
If you know the right places to look at, you can just find any kind of tutorial. Love art, painting and all that? Here are 100 tutorials you must visit.
Tutorial can be found here, http://www.3dtotal.com/ps100/pstut100.html
Great video…
What’s new in Indesign cs4… check out the videos
PART1
PART2