ZZEE PHPExe compiles PHP, HTML, Javascript and other web files into Windows GUI exes. You can rapidly develop Windows GUI applications by employing the familiar PHP web paradigm. You can use the same code for online and Windows applications with little or no modification.
http://www.zzee.com/phpexe/
Vezani blogovi:
No related posts
Was this article helful to you? If so, please click on the (+) [plus] sign below! It's Croatian digg ;-) Tnx!
Nakon nekog vremena koristenja, YouTube filmici u Firefoxu se znaju smrzavati nakon prvih par odgledanih sekundi, bez obzira koristio se native Mozilla rendering engine, ili onaj IE-tab. Dakle, problem ocito nije u rendering enginu, nego negdje u ljusturi… kako god, problem je dosadan kao ush i random se javlja kod svih kombinacija Flash playera v 9.0.115.0 (na nizim verzijama se problem ne javlja) i Firefoxa (od verzije 2, do 3.04b - za koju kazu da rjesava problem).
Firefox: 2, 3 < 3.0b4
Flash: 9.0.115.0
Flash have admitted there is a bug which causes this and reverting to a previous version will fix it, while the bug will be resolved in the next flash update.
1. Browse to C:\Documents and Settings\ u s e r n a m e \Application Data\Macromedia\Flash Player\#SharedObjects\GVP00001
2. Delete all the files and folders in this folder
3. Browse to C:\Documents and Settings\ … \Application Data\Macromedia\Flash Player \ macromedia.com \ support \ flashplayer \ sys
4. Delete all the files and folders in the directory
5. Restart Firefox
Once you have your rough draft laid out in CSS, and you need to start adding style, Rounded Cornr can save you a lot of time. Rounded Cornr quickly and easily creates images and CSS code for different box styles in an easy to use interface. It also offers an option to code it using only one image for all four corners, saving a minimal amount of bandwidth.
Amazon S3 down vec nekoliko sati. EU S3, US S3 serveri, Amazon Elastic Compute Cloud (API). Buduci da su mi do sada sluzili samo kao redundantna-podrska u kriticnim peak-situacijama, ovaj outage sam lako zaobisao jednostavnim uklanjanjem redirecta. Ja sam sitna riba i servis mi ne ovisi o S3. Ali, ali… postoje mnogo vece ribe, postoje ribe koje su poslusale Bezosova nagovaranja da svoje servise TEMELJE na pouzdanoj, sigurnoj, scalable, blah-blah tehnologiji. Njih je ovaj outage kostao ne samo zivaca, vec sasvim konkretnih i opipljivih megabucksa!
Amazon S3 je vec bio down par sati u veljaci 2008. Znatno kraci pad i s manjim opsegom nego ovaj.
Prije kojih godinu dana bio sam pogodjen iGoogleovom greskom koja je rezultirala visednevnom nemogucnoscu koristenja servisa odredjenom broju korisnika. Opet me nije previse pogodilo, jer sam onaj najvazniji gadget (GoogleReader) pratio na njegovim izvornim stranicama. Ali opet se postavlja pitanje - sto ako jednog dana rikne Gmail, a bas tih dana mi dodju vrlo vazni mailovi? Sto ako jednog dana rikne Google tutto-completo (nemojte se smijati, ni dot-com-boom nitko nije predvidio) i svi njegovi servisi?!
No, bit ce zanimljivo pratiti kakve ce ovo imati posljedice po SaaS filozofiju i smjer u kojem su se razmisljanja o buducoj infrastrukturi Interneta pocele odvijati… Dobro je sto se ovo dogodilo u trenutku kada cloud-computing ("oblacno racunarstvo"(?)) nije toliko rasirilo i cini samo manji dio online infrastrukture.
Nisu ovdje u igri samo Google i Amazon, koji jos i imaju snage za amortizaciju i sigurno trostruke disaster recovery scenarije. Ovo je pitanje koje se vise tice svih onih koji ce se u ovoj “oblacnoj” atmosferi tek pojaviti, nudeci “sigurne” i “skalabilne” usluge, trzisno se nadmecuci s vise-za-manje (para). Ovo se tice svih onih koji ce takve udice progutati i mozda jednog dana skupa sa svojim domadarom nestati s lica zemlje - kao da nikada nisu ni postojali.
Za CDN (Content Distributed Network) se jos i mogu napraviti redundantna rjesenja, ali sto hostanim aplikacijama, iznajmljenim procesorskim snagama, bazama?!
Predvidjam da ce se u buducnosti sve vise poceti govoriti o CDN failover scenarijima. Predvidjam i standarde za migraciju, replikaciju i redundancy management medju CDN-ovima.
Svidja vam se neka mjuza na necijoj MySpace stranici, ali ne postoji opcija za download pjesmice? Umjesto tuge, jada, cemera i kuknjave predlazem jedan od ova dva nacina…
1. Posjetite: http://file2hd.com/
- upisete URL stranice i pri dnu imate spremne MP3ice za download i to u 96kbps i original_bitrate verzijama
2. Pronadjite na torrentima programcic MySpace mp3 Gopher. Ili klinite na link ispod [ova verzija radi na dan 2008 07 20]: http://www.torrentz.com/f2d3b81d414c16e05368f567f6857f262e07de5e
Lik je patentirao napravu koja projicira fotku iz fotoaparata (s filma) na objekte u koje se usmjeri “fotic". Ali, nije dumina u tome, nego u cinjenici da se slika projicira u trenutku kad okine flashe s tudjeg fotoaparata. Foto-uzurpator!
Npr. lik fotka ribu na ulici, a foto-uzurpator se nalazi u blizini i usmjeri svoju napravu (fulgurator) prema ribi. Lik okine fotku (s flashom) i u tom trenutku se na ribu iz fulguratora projicira golo tijelo npr. Lare Flynn Boyle… ili necije jetrve…
http://www.juliusvonbismarck.com/fulgurator/
Julius von Bismarck’s ‘Image Fulgurator’ projects stealth images into the photographs of strangers, while keeping those images invisible to human eyes. Depending on whom you ask, it’s either a clever hack or an obnoxious intrusion. Naturally, we had to find out more.
Yesterday, von Bismarck’s device made its premature debut on the internet. Today we met him in his hometown, Berlin, to talk about the device, the thinking behind it and the inevitable deluge of e-mails from viral marketers wanting use it to smash their way further into our brains.
But first, about that name: According to von Bismarck, ‘Image Fulgurator’ comes from the Latin for ‘lightning’ (fulgur) and means ‘Flash Thrower’.
First, let us make clear that von Bismarck has applied for a patent for the Fulgurator. He stressed this point. Of course, anyone with the requisite skills can make one of their own, but Julius wants to keep some degree of control over commercial use.
To see why, consider how it works. The device is a modified camera – in this case, an old manual Minolta SLR. A flashgun fires through the camera in reverse, from the back. The flash picks up the image of a slide inside and projects it out through the lens and onto any surface.
The trick is in the triggering. The Fulgurator lies in wait until an unsuspecting photographer takes a picture using a flash. When the device’s sensor sees this flash, it fires its own unit, throwing up an image which is captured by the hapless photographer’s camera while remaining unseen by the naked eye.
Now, imagine for a moment that an ad agency gets hold of this. You couldn’t take a photograph of a tourist attraction ever again without worrying that some marketing crap would be pushed into your camera. As Julius told me, "I see it as a piece of media art. It could be a dangerous attack on media. [But] if people do shit with it, I feel bad."
This is the reason for the patent, and although he doesn’t have an army of lawyers behind him, Julius seems to be on top of the legal side of things. He’s also moving fast. This Fulgurator is the first prototype, and the most primitive. "It works, but it’s not practical," he says. "In a few years time, huge companies will use it for shit," but by then, Julius will be at the next stage. He already has more working models (which I wasn’t allowed to see) which are refinements of this one.
At its simplest, the Fulgurator is a very easy hack. A hole has been cut in the back of the camera and a piece of clear, roughened acrylic put in its place. A rear tube allows the flashgun to slide in. Everything else remains intact. The slides themselves are just rolls of processed film (the pictures are snapped from Julius’ computer monitor) returned to their canisters and then loaded up as if a normal film. Any image on the reel can be selected by turning the rewind crank. When you hold the Fulgurator up, you can see the subject on the acrylic screen and line it with the image on the slide. You can also focus, to ensure the final projection ends up sharp.
But the magic happens inside the flash sensor on the top. Ordinary slave flashes (which fire whenever they detect another flash going off) aren’t reliable enough, so von Bismarck built his own circuitry. The original was based on the Arduino platform but has evolved into a custom-made circuit. The knobs were for tweaking the settings on the prototype, stuff which is all now taken care of by software.
Julius had ripped the guts out of the box for a newer version, so we couldn’t see it in action, but we know what it does. Modern digicams flash for all kinds of reasons, such as red-eye reduction and focus assistance. What Julius’ circuit does is to ignore all of these false strobes and fire only when the photo itself is taken. This is the secret sauce of the Fulgurator.
Clearly, this is a prankster’s dream. But Julius thinks it has a serious side, too, which is why it looks like a gun. "It’s important that people know it’s not just a funny idea," he told me, "it can also do negative stuff."
It seems that the "negative stuff" consists mainly of pissing people off, like the aforementioned marketing uses. We’re looking forward to seeing what the next gen hardware can do, though. Take a look at this picture:
The message is ‘Fulgurated’ onto a black laptop bag. Turning black to white is powerful stuff, but it’s not just slogans that can be fired. Although Julius frames his nerdery in an artistic context (he’s studying a German Diploma called "Digital Class" at UDK, Berlin’s art school) he clearly has a soft spot for tomfoolery. In the image below, you see an image of a naked body which can be projected onto a clothed person.
The possibilities are endless, but Julius is just getting started. When I suggested that he put his own URL on the images, so victims could later check to see just what had happened to their pictures, he seemed surprised (later I learned that he does plan to include it later, to promote his own work). In fact, the whole thing has happened a little too quickly.
Yesterday’s ‘leak’ onto the internet was intended as a place holder for an entry into Ars Electronica’s Cyber Arts exhibition in September. Instead, it catapulted him into internet fame and he has already received high-priced offers for his work. If he manages to keep on top of things, this little hack could make him some big money.
Odlican primjer .htaccess-a koji bi trebao odbiti dobar dio napada se moze naci ovdje: My Webapplication Firewall Tutorial. Najbolja preporuka za ovaj vid zastite lezi u cinjenici da je pravila sastavila osoba kojoj je domena securitya web aplikacija dobro poznata.
ovakav ili slican .htaccess + ModSecurity + dobro definirana pravila na HW/SW firewallu (block all, allow only necessary na ogranicenim IP rangeovima) i server bi mogao biti poprilicno siguran…
Youtube has slowly started to create better quality versions of many videos, adding links that say, “Watch this video in higher quality.” See this High Quality example and compare it to Youtube’s Normal Quality.
Comparison of Normal Youtube vs Youtube High Quality
-
Normal Youtube
High Quality Youtube
Screen Res.
320 x 240
480 x 360
Bitrate
≅ 200 kbps
≅ 900 kbps
Audio
22KHz 64 kbps Mono ABR
44.1KHz 96 kbps Mono CBR
Frame Rate
30
30
Video Codec
Flash Sorenson
Flash Sorenson
Audio Codec
Mp3
Mp3
Getting iPod compatible mp4s!
Adding &fmt=6 to the end of any youtube video’s url will give you Youtube’s new high quality setting. Changing the number from 6 to something else yields different formats though it’s not obvious which numbers work. Format 18 generates an mp4 using h264 with AAC stereo, which is compatible with video iPods. This is way better than using a service like vixy.net, which transcodes the crappy quality youtube vid into an mp4. Using fmt=18, you get a video transcoded from the original clip the user uploaded. The bitrate is lower on the mp4 version, but since the resolution is smaller it compensates. The h.264 codec has better looking videos at lower bitrates anyway. We finally see stereo on youtube with the mp4 version! It has a widescreen 16/9 aspect ratio rather than 4/3.
Correction:
Previously I thought the mp4 screen resolution was 480 x 270, but it’s also 480x360. It could be that both formats have the possibility to be 480x270 if their aspect ratio is close to 16/9 width/height. The mp4 version may add an additional small audio gain and a small sharpening effect.
Video downloaders like keepvid still work. Enter the url, click download, now grab the link and add &fmt=6 or &fmt=18 (for mp4) to the end. The good people at lifehacker created an easy to use firefox extension that will put a download link under each vid. You can also get the download url if you follow my wireshark tutorial but the process is pretty tedious.
You can do it manually too, but it’s annoying. Go to any video on youtube, right click then click view source. Click ctrl+F, which will open a searchbox and type &t=. Next copy the value after the t= but before any “&” characters. Grab that and the video_id and your set. The vid id is the v=something part of the url. Just copy the variables into the url below.
www.youtube.com/get_video?video_id=&t=&fmt=18
Example Vid URL: http://www.youtube.com/watch?v=pVYp2sgA9M0 Output: right click - save as
You may want to pass it to a download manager like wget. If you load it in the browser it will display a bunch of gibberish while it loads the entire video’s ASCII representation into your browser.
Howto Get Videos to Play HQ by Default
This option has not been implemented on many accounts but the howto is already present in the youtube help pages. You need a youtube account to be able to do this.
Go to your Account page.
Under “Manage My Videos” click the “HQ Video Playback Setting” link.
Select the playback setting that makes sense for you.
Click the “Save” button.
Criteria for a Video to Become HQ
The exact settings aren’t know yet for the video to become high quality. We could assume that the exact minimum settings are the same as encoded format listed above, however youtube has changed their “best format to upload high quality” help page to set the video resolution to 640 x 480. Maybe high quality will support different formats and aspect ratios in the future. It’s best to upload as high quality as possible. The new multi video uploader makes it easy on a unreliable connection. Even if your upload times out or you get disconnected it will restart the uploading process exactly where it left off.
Embed High Quality Youtube Clips
Update
This code works fine to embed the mp4 version. The magic query string var is “&ap=%2526fmt%3D18″ specifying format 18. Just replace (VIDEO EMBED URL) with the video ID. Note that there’s a huge disadvantage in that there is no seeking. The fmt=6 embed version is less reliable.
Currently there is no official way to embed the High Quality videos on your website / myspace / blogs. It’s possible, but a big hassle, and it’s impossible to turn off autoplay. Here’s an example you can embed if you want to see it for yourself.
It only works with youtube’s in-site player, player2.swf, rather than the player youtube has for embeds. The problem is youtube’s in-site player does not have a variable to turn autoplay on or off and if you try embedding it to your site flash issues a warning that the script is trying to contact a remote server (youtube.com). Player2.swf seems to have an internal “ap” variable hidden in the actionscript but it seems to just break the vid no matter what options I set. The key flashvar for high quality is “fmt_map=6/0/7/0/0″ and “fmt_map=18/512000/9/0/115″ for mp4s. When enabled, the flv file comes from cache.googlevideo.com/videoplayback?itag=6, without the fmt_map var it comes from cache.googlevideo.com/get_video, with normal quality.
To embed a high quality video you need to go to the video’s page on youtube, view source, and grab the flashvar data. The most important vars are video_id, t, and sk. Just use the above embed code as a template and replace those values. As for the rest: L defines how long the video is in seconds, hl is the home language, plid tries to find any associated playlists, playnext plays the next item on the playlist if there is one.
Making your youtube videos High Quality
Youtube will be automatically creating high quality versions of many videos for those that meet the guidelines. The video quality is bad on youtube, partly because youtube encodes to such a small screen resolution with a low bitrate, but mainly because people post really low quality videos.
The crappy resolution youtube is actually what got it so popular. Google video had originally allowed 640 x 480 with a great bitrate, but they failed miserably to compete against youtube (so they later bought em out). It made online video making / viewing possible even on crappy connections. Take the time to resize your vid and sharpen it a bit before uploading. A little noise reduction and color correction can’t hurt either. Use virtualdub and avisynth. They’re free. Use xvid or x264 and lame acm for the audio. Divx is fine if you can get the pro version. See doom9 for tons of guides on video creation / editing / improvement.
Youtube High Quality Hack
There is also a hack using total video converter where if you make an flv with certain settings you can upload a video of super high quality and have youtube keep the screen resolution and bitrate.
Youtube High Quality Hack Settings Howto
Select what you want to encode into an flv in total video converter with these settings.
Sample Rate: 44100 Hz audio bit rate: 320.000 kbit/s Audio codec: mp3 Custom video bit rate: any Resolution: any
Cons
It messes up the time on the video. A 30 second video can read as 9 minutes. The way it tells how long the video is seems very random but it constantly says the video is much longer than it really is. Having the resolution or bitrate too high causes it to not stream well and get stuck.