No matter if you decide to for [cc lang=”php” escaped=”true” width=”600″] [/cc] it will set a cookie this way or another. Cookies are sent by the server to the browser and only the domain that ordered the cookie to be […]
*GRRRRRR* now you know why i hate updates 😀 they can brake “old” functionality, but sticking with “the old” is sometimes not an option. as a developer you do not want to test your javascript with 10x versions of a […]
The command line string to do the conversion uses TiMidity++ and LAME and on a Linux server are as straightforward as: [cc lang=”bash” escaped=”true” width=”600″] apt-get update; # as usual apt-get install timidity lame; # install software timidity file.mid -Ow […]
update: 2018.04 PaleMoon archive Server HACKED! “A malicious party gained access to the at the time Windows-based archive server” (src) oh gosh! ? GO USE CENTOS DEBIAN AND LATEST KERNEL NOW! “malware dropper tracked by ESET as Win32/ClipBanker.DY” (steals bitcoins) […]
Checkout: IceCat Description BlueLightCat is a simple browser whose feature list includes things like “History”, “Bookmarks” and “QuickView”, that is a page to see the most visited hosts. It is small, less then 10,000 lines of code and very fast. […]
Click here to generate for facebook: https://developers.facebook.com/docs/plugins/share-button https://fourtonfish.makes.org/thimble/make-your-own-social-media-sharing-buttons Introduction So you just finished your very first web app and you’d like to let other people share it on Twitter, Facebook, Pinterest or any other social network they use. This […]
forget about jquery, this actually works: [cc lang=”js” escaped=”true” width=”600″] /* calculate distance of dom element from top of screen element (jquery.position().top fails) */ function cumulativeOffset(element) { var top = 0, left = 0; do { top += element.offsetTop || […]
the developer console of ie11 failed big time… it’s nerve-wrecking to downgrade to ie10. thank’s a lot Bill.
one’s mistake: Chrome is simply a name for a “frame”. The naming is imho badly chosen. BSI: Firefox only browser to meet criterias (src) Google has given money to Mozilla foundation to make Google default search engine per default… this […]
Safari and Firefox both run the WebKit HTML-rendering engine – forked from KDE-KONQUEROR! Konqueror is the original WebKit browser. Long before Apple released Safari, there was Konqueror and the KHTML rendering engine. Apple liked what they saw in KHTML and […]
From a flexibility point of View: This is totally correct. But what from a RAM point of view. Why have every .php script instanciate a new version of class config.php? [cc lang=”php” escaped=”true” width=”600″] I created an easy small class: […]
WordPress is FREE, isn’t it? Yeaaaah… almost. It is released unde the GPLv2 which makes it basically Open Source. 1. first of all there is hosted wordpress.com which sells “PRO” and “LIGHT” Versions of a hosted instance of a your-blog.wordpress.com. […]
get in a bash shell: php -m; # list all currently activated and installed extensions [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom ereg exif fileinfo filter ftp gd gettext hash iconv imap intl json libxml mbstring […]
Fast summary: PHP + easy learning, probably better for fast prototypes/small projects – grown language, not coding standards enforced = bad for large projects (upgrade project from PHP4->5 is ugly) Ruby – hard to learn and understand (need to understand full […]
SVG Basics [cc lang=”html” escaped=”true” width=”600″] [/cc] http://demo.hongkiat.com/scalable-vector-graphics-animation/index.html#multiple Security ProblemZZZ
the keyword is SVG – Scalable Vector Grafix – supported even from ie9 and later http://d3js.org/ check out these massively cool examples: click on a pie slice and zoom in http://bl.ocks.org/mbostock/5944371 display the current time as a BAR CHART 😀 […]
It would be good for every WebDeveloper to be “blind for a week” and try to navigate his/her sites with a screen reader to get a feeling for what barrier freeness means. It’s very important for WebSites to be “barrier […]
try this 🙂 [cc lang=”html” escaped=”true” width=”500″] pre { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } [/cc]
DON’T USE OPACITY ON THE WHOLE DIV! IT WILL MAKE THE TEXT AS WELL TRANSPARENT! #someDiv { opacity: 0.8; } btw: OPAQUE is the opposite of TRANSPARENT ONLY APPLY TO BACKGROUND: #someDiv { background: none repeat scroll 0 0 rgba(255, […]
Meta No Cache Make browser always load content from server, instead of getting content from cache. Using tags to turn off caching in all browsers? http://stackoverflow.com/questions/1341089/using-meta-tags-to-turn-off-caching-in-all-browsers [cc lang=”html” escaped=”true” width=”500″] [/cc]
there seems to be a lot of confusion around an Apple introduced meta-tag called “viewport” http://www.quirksmode.org/blog/archives/2014/01/widthdevicewidt.html let’s try to learn from Apple what it means by “viewport”. Briefly If you are not coding a responsive site, just don’t use any […]
unfortunately, with every producer (Apple (Quicktime=mp4), Adobe (vlf), Microsoft, Google (webm)…) wanting to set their own standard… things become complicated. Only solution: Open Source Standards & support by everybody. thats the code from the “Video for Everybody” generator http://v4e.thewikies.com/: [cc […]
“Die endgültige Lösung fand Ryan Dahl dann schließlich im Januar 2009 mit Java- Script. Hier wurde ihm klar, dass diese Scriptsprache sämtliche seiner Anforderungen erfüllen könnte.” 1. non-blocking i/o (ruby too slow) 2. JavaScript war bereits seit Jahren im Web […]
file: ClassUser.php [cc lang=”php” escaped=”true” width=”500″] [/cc] file: ExampleClass.php [cc lang=”php” escaped=”true” width=”500″] [/cc] output is: “$class_instance” (ExampleClass) -> another_var = -> example = example sucks -> NewProperty = You just created a new propertey of the class, that is […]
there is a file called: /.settings/org.eclipse.ui.ide.prefs in your Aptana installation. (at least under OSX but should be the same under windows) example content: RECENT_WORKSPACES= RECENT_WORKSPACES_PROTOCOL=3 SHOW_WORKSPACE_SELECTION_DIALOG=true eclipse.preferences.version=1 1. open that file 2. delete everything after “RECENT_WORKSPACES=” 3. turn SHOW_WORKSPACE_SELECTION_DIALOG=false to SHOW_WORKSPACE_SELECTION_DIALOG=true […]
javascript jquery html form element – also submit checkboxes that have the “off” state solution: http://jsfiddle.net/az7s5/ [cc lang=”js” escaped=”true” width=”500″] // serialize form, also send values for checkboxes that are “off” $(form).children().each(function() { add = “”; //access to form element via […]
we all know this… piratenpad.net (etherpad), doodle.com, dropbox etc. all generate long and cryptic links that we can share to allow other people to access specific content. maybe i am mistaken, but that is what google says: “It’s almost impossible […]
“Search engines only know about your site because they are able to (or not able to) access it. While visitors can click freely from page to page of your site (assuming there aren’t logins or other secure areas they have […]