Flash Pixelshift Bug
Flash apparently has a thing with cutting off .pngs. Putting the graphic element in a movieclip with a bottom right alignment seems to solve the problem, as per here:
http://www.fatorcaos.com.br/flashimagebug/
Flash apparently has a thing with cutting off .pngs. Putting the graphic element in a movieclip with a bottom right alignment seems to solve the problem, as per here:
http://www.fatorcaos.com.br/flashimagebug/
A few days ago I noticed that the building I work at has a little food place inside that’s above the ground floor, but I couldn’t figure out how to get to it. Well, now I know. Two of the (presumably) 6 elevators in the building have a special “Coffeeshop” button. Ahaha.
The place is actually very uninspiring … but hey … I’m still endlessly amused by the dedicated button.
I didn’t want to get hits from facebook for a URL that I noticed someone posted on facebook. Added this to the index file, works like a charm:
if( strpos($_SERVER['HTTP_REFERER'], 'facebook.com') > 0 ){
header('Referer: http://www.facebook.com');
header('Location: http://www.facebook.com');
}
‘list’ … lists the contents of the directory you’re in. The [-l] flag adds detailed info about the files/folders in the directory. The [-a] flag shows hidden files.
‘change directory’ … the main way you navigate the filesystem.
‘make directory’
‘remove’ … deletes a file. to delete a directory you need the [-r] flag. It recursively deletes the directory and all sub-directories.
‘move’ AND rename. It can move a file/directory and at the same time rename it.
‘link’. Creates a shortcut to a file or folder in the directory you’re in. Can prevent a lot of extra typing. Always use the -s flag. It keeps the links symbolic. I don’t know what that means … but it’s the only way you can create a shortcut to a folder.
Calculates the size of a directory. -s = summary, -h = human readable.
Calcualtes disk usage. -h = human readable.