Costinu’s Blog

When you dream, there are no rules. People can fly; anything can happen. Sometimes, there’s a moment as you’re waking, and you become aware of the real world around you; but you’re still dreaming. You may think you can fly, but you better not try.
Oct 7

Asfintit pe balta (la pescuit)
Data: August 17, 2006

Asfintit pe balta

Oct 7

O musca esaladeaza o frunza
Data: Iunie 17, 2006

Gandacel

Oct 7

1. Argy - Malena
2. Rossell feat. Emma - Dancing With Strangers (Original Mix)
3. Martin Landsky - Let Me Dance (Sebo K Remix)
4. Sikk - The Whisper (Edxs Ibiza Sunrise Mix)
5. Spit - Falling (Radio Vocal Edit)
6. Carl Kennedy Vs M.Y.N.C Project feat. Roachford - Ride The Storm (Femi and Legz Remix)
7. Mark Knight & D. Ramirez - Columbian Soul (Nice7 Remix)
8. Steve Angello and Sebastian Ingrosso - Umbrella (Original Instrumental Version)
9. Art of Tones - Praise (Original Mix)
10. Samim - Heater (Original Mix)
11. Tignino & Leo Feat Mark Kerr - How Can You Feel (D-Nox & Beckers Remix)
12. Deadmau5 - Not Exactly (Original Mix)
13. Tracey Thorn - Grand Canyon (King Unique Vocal Mix)
14. Above & Beyond feat. Tranquility Base - Oceanic (Super8 & Tab Remix)
15. DJ Wady & Patrick M feat. Carlos Bertonatti - Music Sounds Better With You (Original Mix)
16. David Michael - The Hope (Hirshee’s Big Room Mix)
17. Chaim - Carolin (Original Mix)
18. Minimalistix - Struggle For Pleasure (Dave Lambert & Elektrokid Widescreen Remix)
19. Francesco Diaz & Young Rebels - Don’t You Want Me (Thomas Gold & FD`s Club Mix)
20. Mono - Supafunk (Original Mix)

Oct 5
JavaScript:
  1. /**
  2. *function implementing PHP's serialize() function
  3. *@param: v - elements to be serialized
  4. *@return: serialized string
  5. */
  6. function serialize(v){
  7. if(typeof(v)=='object' && v.constructor==Array){
  8. var i,s='',c=0;
  9. for(i in v){
  10. ++c;
  11. s+=serialize(i)+serialize(v[i]);
  12. }
  13. s="a:"+c+":{"+s+"}";
  14. return s;
  15. } else {
  16. if(Number(v)==v){
  17. return 'i:'+v+';';
  18. } else
  19. if(typeof(v)=='string'){
  20. return 's:'+v.length+':"'+v+'";';
  21. }
  22. }
  23. }

Oct 5
JavaScript:
  1. /**
  2. *function : print_r()
  3. *@param: array-array,hass or object
  4. *@param: level - OPTIONAL
  5. *@returns: string - The textual representation of the array.
  6. */
  7. function print_r(array,level) {
  8. var dumped_text = "";
  9. if(!level) level = 0;
  10. //The padding given at the beginning of the line.
  11. var level_padding = "   ";
  12. for(var j=0;j<level;j++) level_padding += "    ";
  13. if(typeof(array) == 'object') { //Array/Hashes/Objects
  14. var obj = 0;
  15. for(var item in array) {
  16. var value = array[item];
  17. if(typeof(value) == 'object') { //If it is an array,
  18. dumped_text += level_padding + "[" + item + "] => Array\n " + level_padding + "( \n";
  19. dumped_text += print_r(value,level+1);
  20. dumped_text += level_padding + ")\n";
  21. } else {
  22. dumped_text += level_padding + level_padding +  "[" + item + "] => " + value + "\n";
  23. }
  24. }
  25. } else { //Stings/Chars/Numbers etc.
  26. dumped_text = "===>"+array+"<===("+typeof(array)+")";
  27. }
  28. return dumped_text;
  29. }
  30. /**
  31. *call of function
  32. */
  33. alert (print_r (MyArray));

Oct 5
JavaScript:
  1. /**
  2. *functin implementing PHP's in_array() function
  3. *@param: array - search array
  4. *@param: search_term - element to be searched
  5. *@return: true/false
  6. */
  7. function in_array (array, search_term) {
  8. if (array) { //see if array exists
  9. var i = array.length;
  10. if (i> 0) {
  11. do {
  12. if (array[i] === search_term) {
  13. return true;
  14. }
  15. } while (i--);
  16. }
  17. return false;
  18. } else {
  19. return false;
  20. }
  21. }

Oct 5

Shinybinary

Oct 5

Out Loud Creative

Oct 5

Tiesto - Elements of life

Oct 5

Thimon von Berlepsch

« Pagina anterioarăPagina următoare »