Friday, April 22, 2011

Video editor online free - JayCfut


I was trying to find freeware which will silent videos audio track and add another one. I tried some of freewares like - wax , windows movie maker, avidemux ( linux video editor on windows ). Maybe they are good and maybe im not so experienced for the freewares but i found better free ware for myself - jaycut.com . It is website which contains java video editor, and so you can edit videos online.
After finishing your project it will generate file and send url to your e-mail.

Website of the project: http://jaycut.com/

A little about JayCut:
Why edit video online?
No need for downloads or installs
Instant access via any web browser
No specific hardware requirements
Access uploaded content anywhere, anytime
Works on all computers and browsers
Use content on the web in movies, e.g. YouTube videos
Collaborative editing, work together with other users from around the world.
Fueled by a passion for web video and creativity, JayCut was founded in 2007 and has since worked with some of world’s leading brands and received several prestigious awards.
In early 2006 we started asking ourselves if web video couldn't be about more than just consumption. We wanted to add creativity into to the equation. Nine months later, in December 2006, we had laid the foundation for what would come to be the world's most advanced technology for online video editing. The company was founded early 2007 and since 2008 we license the video editing tool to other companies and websites.
Today, JayCut is a privately held company based in Stockholm, Sweden. Our customers include some of theworld’s leading brands, and the company and technology has received some of the most prestigious awards in the industry. But our firm belief is that we've just scratched the surface of what web video can be.
Ask yourself what would happen if anyone could edit video, anywhere, with any mobile device, using any media on the web and finally publish the result to any device or website. Join us in starting this creative revolution!

Video i created:

Friday, April 15, 2011

Solution 1030:Got error 139 from storage engine

Today i meet with one big problem while updating MySQL database. The error is 1030:Got error 139 from storage engine.
The problem is that rows has limit.
I was trying to change limit, but there is no need.

Solution for this is very easy. All you need to change ENGINE of your table. While engine almost does nothing, and it will not effect on your values. ( Please read http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html , before doing something ).

I had no time to read this so i executed the query:
ALTER TABLE `table_name` ENGINE = MYISAM

It worked for me. Hope it will work for you too.

Sunday, April 10, 2011

CSS trick to cover with perfect background width and height


There is one cool trick to fill place with background, even if their sizes different. Just use the code for css:
body {
background-image: url(bg.jpg);
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

The goal here is a background image on a website that covers the entire browser window at all times. Let's put some specifics on it:

  • Fills entire page with image, no white space
  • Scales image as needed
  • Retains image proportions (aspect ratio)
  • Image is centered on page
  • Does not cause scrollbars
  • As cross-browser compatible as possible
  • Isn't some fancy shenanigans like Flash

We can do this purely through CSS thanks to the background-size property now in CSS3. We'll use the html element (better than body as it's always at least the height of the browser window). We set a fixed and centered background on it, then adjust it's size using background-size set to the cover keyword.

Works in

  • Safari 3+
  • Chrome Whatever+
  • IE 9+
  • Opera 10+ (Opera 9.5 supported background-size but not the keywords)
  • Firefox 3.6+ (Firefox 4 supports non-vendor prefixed version)

Source: http://css-tricks.com/perfect-full-page-background-image/

The article can also mean: css tricks

Saturday, April 2, 2011

htaccess doesnt work on windows of xampp [Solved]


My situation: I have xampp and perfectly working website. And problem is that site does nothing, while changing htaccess.

Here is solutions for this:

  • go to xampp folder and search for httpd.conf in apache/conf folders.
  • open it
  • make sure that LoadModule rewrite_module modules/mod_rewrite.so is uncommented
  • find all AllowOverride and changed None to All. All AllowOverride!!! There should be 3 of them..
It worked for me.. and might help you.

Happy htaccess editing!

Thursday, March 31, 2011

Search folder and subfolders in text files for a string


While developing on new project which was created not by you, the software always is good for searching something..
Big plus of the software is that it is searching in sub directories... and it searches in text files! And most important it works just great!

Searches text files for strings and combination of strings. Has useful or / and / and not search combinations, and can also use regular expressions. New in version 3, is the built-in viewer / editor that highlights the matched strings and lines.

URL: http://www.sadmansoftware.com/

Page speed checker by Google



Here you go... google launched Page speed online analyzer. While it analyzes, it gives you lots of suggestions after completeing them, you website speed will improve!
There is 2 methods of analyzing - Desktop and Mobile. After analyze you will get number from 0 till 100 which describes your result of website speed.

URL: http://pagespeed.googlelabs.com/

Tuesday, March 22, 2011

Ipod touch stack on Replacing Kernel


The problem appeared after i erased my ipod touch completely again. And once again i faced with the problem... So i already knew what to do...

First of all i tried to jailbreak my ipod touch after completely erasing it. Once i saw "Replacing Kernel" loading i put my ipod touch into DFU mode.

Video tutorial how to boot ipod touch or iphone into DFU mode:



Once your iphone or whatever else in DFU mode, you cant do anything...

So just open iTunes and let it restore it for you.

Once it restored, you can jailbreak it again ( with red sn0w. or whatever else you like to do that with.. )

Have fun!

Rounded corners border CSS Problem in IE [ Internet Explorer ] [ Joomla ] [ Solved ]


Here you go.. There is an css code for "good" browsers to change your div's corners to rounded ones. But "bad" browsers such as Internet Explorer ( IE - IE6, IE7 and so on... doesnt works pretty good under this conditions.. ), so here is solution for this problem.


CSS CODE EXAMPLE OF DIV WITH CLASS = "box"
.box {
-moz-border-radius: 15px; /* Firefox */
-webkit-border-radius: 15px; /* Safari and Chrome */
border-radius: 15px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */
-moz-box-shadow: 10px 10px 20px #000; /* Firefox */
-webkit-box-shadow: 10px 10px 20px #000; /* Safari and Chrome */
box-shadow: 10px 10px 20px #000; /* Opera 10.5+, future browsers and IE6+ using IE-CSS3 */
behavior: url(ie-css3.htc); /* This lets IE know to call the script on all elements which get the 'box' class */

}

There should be like this: "behavior: url(path/to/ie-css3.htc);"

Download url of the ie-css3.htc file. Put the file into root and css folder. ( and into other folders in other cases.. ^^ ):
http://uploading.com/files/dm247e4c/pie.zip/

I faced with this problem while doing rounded corners in Joomla template. Also this resources might be helpful

Thursday, March 17, 2011

Last inserted ID of query in MySQL

For example: You just inserted something into database with query, and you need to receive ID of the last insert. You dont need to create another selection with `id` DESC. All you need to do is just receive id with function called - mysql_insert_id().

PHP: $last_id = mysql_insert_id();

Monday, March 14, 2011

Download video of Flowplayer



Today i was faced with problem - Downloading video of flowplayer. All i wanted to do is to download video from one site to my desktop.

It took me not long time for searching google and result is that i fount freeware! You will need to download it and run from your machine. Its virus free and no stupid tool bars are required to install. So don't worry.

Very easy to use and very well done freeware! Great job developers!

Free download: http://www.streamtransport.com 

Friday, February 25, 2011

Hidden new line in string PHP


I guess you seen the problem, or maybe facing with it at the moment. So if you echo the string with pre tags, it will show normally. But without pre tags, it shows ugly... just like a plain text.

The problem is that there is hidden new lines symbols like /r or /n and so on...

Just by replacing the with str_replace is not enough. So here solution for it:

$value = preg_replace('/[\r\n]+/', '\n', $value);
echo htmlentities($value);

Tuesday, February 22, 2011

Real Megatron Tank from Transformers 2

Can you believe it? Real replica of Megatron Tank from Transformers 2 was made by one chinese metal artist. Full weight of the tank is more than 5000 kg.

Here is image of megatron tank made by fan


And here photos from real life
















Monday, February 21, 2011

Do you need to close apps in your multitasking bar?

No you don't says website - http://www.tipb.com/.

I was wondering about this too and i always close applications in my multitasking desk of my ipod touch 2generation.


Thursday, February 17, 2011

How to test your hardware for problems

To find problem in your hardware you need to test everything... But you need to think... I mean, if windows loads up it means that video card, hard disk, rams, and so on works... Possible case - they works not good as "good", but they still works.

Anyways..

Here is some list of programs and other tricks i found while searching internet how to test your hardware parts.

Ram ( Random Access Memory ):
To test your RAM, you can do just by checking your Task Manager ( Performance tab ). Also you can see how many rums installed by going to "my computer"'s properties.
In harder cases people recommend to download these programs:
Most of the information was fount on ehow.com

Hard Disk ( Hard Drive ):
Most of test which you can do for your hard drive is installed in windows. It called "checkdisk" or chkdsk.exe, you can run it from command line. In other case you can do that from your file explorer:
  1. Go to computer, 
  2. Select hard drive
  3. Open properties
  4. Choose tools tab
  5. Press "Check Now" button, in "Error-checking" section
  6. In showed up windows check all possible check boxes and press Start.
  7. Wait until finishes and press Done. 
Also you can test your hard drive with SeaGate tool ( http://www.seagate.com/www/en-us/support/downloads/seatools ). 16,7 MB

Funny part of this, is that you can listen for sounds which hard drives are making ( in case if it is still working ), and check if it matches one of these ones: http://datacent.com/ . If it does,... i guess you need to change it.

More useful freewares such as "Hitachi Drive Fitness Test" or "Samsung HUTIL" and so on... can be fount here: http://pcsupport.about.com/

GPU ( Graphic Process Unit ):
First of all windows has included tool for this - dxdiag . You can run it from Command line.
  1. Press Start 
  2. Run 
  3. Cmd.exe 
  4. dxdiag 
  5. hit Enter
  6. check Dispay tab, for video card information.
Most popular method to test your video card is to install and run one of Benchmarks product 3DMark. http://www.futuremark.com/

Motherboard:
If motherboard is not working properly you will notice it. Some of these facts says about it:
  • Computer does not boot, and instead gives beep sounds.
  • Computer random crashes.
  • Computer randomly reboots.
and so on..


One of great software to test motherboard is Hot CPU Tester.

Sunday, February 6, 2011

Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error. [Solved]


I got the error after, updating my chrome to 9 version. I appeared few times, and i decided to fix it. So here is solution for the error:

Chrome:
1. Open Options
2. Choose Under the Hood tab in options
3. Press Reset to Defaults
4. Done.

Common tags for the article: chrome, problem, mistake, bug, error, how to

Wednesday, January 12, 2011

PHP export mysql table to text file


Here is simple script which will help you a bit, to export all fields of your database table to text file. It will not be same as export of MyAdmin, but its better than nothing... at least you will have data.
$sql_export = "SELECT * INTO OUTFILE 'tables.txt' FROM `table_name` ";
//var_dump($sql_export);
if($result = mysql_query($sql_export))
echo "Recorded";
else echo "Not recorded";

Sunday, January 9, 2011

Joomla Error loading feed data



The error occurs after installing joomla.

So fix the thing all you need to do is:
1. go to administrator panels
2. Extensions -> Module Manager -> Administrator tab
3. Find "Joomla! Security Newsfeed"
4. Disable it
5. Done
If you have the “yoo_tweet module” installed, disable this module as well.  This module is known to display this error message.

Why:
Because this module load feed data with link http://feeds.joomla.org/JoomlaSecurityNews, this link is broken, so it pop up a error loading feed data error.

Have fun!

Thursday, January 6, 2011

Finding time difference in seconds between 2 dates ( timestamps )


In my situation i needed query to find time difference in seconds between current time and field's value.
SELECT TIME_TO_SEC(TIMEDIFF(NOW(),`field_name`));
between 2 mysql fields can look like this:
 SELECT TIME_TO_SEC(TIMEDIFF(`field_name1`,`field_name2`));

httpd.exe apache cpu 100% load


I had the problem today. When i started Apache from Xampp control panel, CPU usage became 100%. Nothing changed after apache restart and PC restart. Same.. - 100%.

So to understand what is happening you need to 
1. go to: C:\xampp\apache\logs
2. open  access.log with text editor

if file is too big to open ( bigger than 5 mb ) do this:
1. just delete access.log and error.log
2. start apache and stop it after it will start loading your CPU to 100%.

In access.log, you will be able to figure out what is happening with your apache ( httpd ).

In my situation was some kind of apache virus ( which affects my files with new scripts called webdav and webalizer ).
So if you have the folders in your xampp folder, that means you have same problem..

i solved it by this way:
1. -> Control Panel\Network and Internet\Network and Sharing Center
2. -> Windows Firewall
3. -> Allow programs to communicate through Windows Firewall
4. Removed Apache HTTP Server with checked under Public ( To do that press Change settings button on top )
5. Close everything.

It might not help you. So here is one more idea what you could do in the situation:
After finding out what IP requested execution of the script in part with error.log just Block it! Google for answer..

Tuesday, January 4, 2011

Facebook smiles


Here is collection of all smiles which are possible in facebook.


Happy emote: :) or :-)
facebook smiley happy
Really happy emote: :D or :-D
facebook smiley sad
Sad: :( or :-(
facebook smiley crying
Crying emote: :’(

facebook smiley wink
Wink emote: ;) or ;-)
facebook smiley happy eyes
Happy eyes: ^_^
facebook smiley laughing eyes
Laughing eyes: >:o
facebook smiley cat smile
Cat smile: :3
facebook smiley grumpy
Grumpy: >:-(
facebook smiley shocked
Shocked emote: :o or :-o
facebook smiley glasses
Glasses emote: 8) or 8-)
facebook smiley cool shades
Cool shades: 8-|
facebook smiley rude
Rude: :p or :-p
facebook smiley woot
Woot?!: O.o
facebook smiley dork
Dork emote: -_-
facebook smiley duhhh
Duhhh emote: :/ or :\
facebook smiley devil
Devil emote: 3:)
facebook smiley angel
Angel emote: O:)
facebook smiley kiss
Kiss emote: :-* or :*
facebook smiley love
Love emote: <3
facebook smiley pacman
Pacman: :v
facebook smiley shark
Shark: (^^^)
facebook smiley robot
Robot: :|]
facebook smiley weird face putnam
Weird guy’s face: :putnam:

Other symbols which also can be "copy-pasted" into facebook


¢ – cent
£ – pound
¤ – currency
¥ – yen
€ – euro sign
§ – section
© – copyright
® – registered trademark
™ – trademark
° – degree – e.g. 45°
¹ – superscript 1
² – superscript 2
³ – superscript 3
· – middle dot
¸ – spacing cedilla
¼ – fraction 1/4
½ – fraction 1/2
¾ – fraction 3/4
¿ – inverted question mark
× – multiplication
÷ – division
• – bullet = black small circle
◊ – lozenge
℠ – Service Mark
✓ – check mark
✔ – heavy check mark
✕ – multiplication sign
✖ – heavy multiplication sign
✗ – ballot
✘ – heavy ballot
✝ – Latin Roman Cross
✞ – Latin Cross 3D shadow
✟ – Latin Cross outline
✠ – Maltese Cross
✡ – Star of David
❛ – quotation mark single turned comma
❜ – quotation mark single comma
❝ – quotation mark double turned comma
❞ – quotation mark double comma
℃ – Celsius
℅ – care of
℉ – Farenheit
№ – numero symbol – number sign
℗ – Sound Recording Copyright
℞ – Prescription Take pharmaceutical symbol
Ω – Ohm
℧ – Inverted Ohm
☀ – sunshine – sun
☁ – cloudy – cloud – dark cloud
☂ – raining – rain – umbrella
☃ – snow – snowman
☄ – shooting star
★ – star solid
☆ – star outline
☇ – lightning
☈ – thunderstorm
☉ – sun
☊ – ascending node
☋ – descending node
☌ – conjunction
☍ – opposition
☎ – phone
☏ – phone symbol outline
☐ – check box
☑ – check box check mark
☒ – ballot box with X
☓ – St. Andrew’s Cross
♔ – White King
♕ – White Queen
♖ – White Rook
♗ – White Bishop
♘ – White Knight
♙ – White Pawn
♚ – Black King
♛ – Black Queen
♜ – Black Rook
♝ – Black Bishop
♞ – Black Knight
♟ – Black Pawn
☚ – left-pointing index finger
☛ – right-pointing index finger
☜ – left-pointing index finger
☝ – upwards pointing index finger
☞ – right pointing index finger
☟ – downwards pointing index finger
☠ – skull & crossbones
☡ – caution sign
☢ – radioactive sign
☣ – biohazard sign
☮ – peace sign
☯ – yin & yang
☹ – frowning face
☺ – smiley face
☻ – black smiley face
☽ – waxing crescent moon
☾ – waning crescent moon
♈ – Aries
♉ – Taurus
♊ – Gemini
♋ – Cancer
♌ – Leo
♍ – Virgo
♎ – Libra
♏ – Scorpio
♐ – Sagitarius
♑ – Capricorn
♒ – Aquarius
♓ – Pisces
♠ – black spade suit
♢ – red diamond suit
♣ – black club suit = shamrock
♤ – red spade suit
♥ – black heart suit = valentine ( <3 )
♦ – black diamond suit
♧ – red club suit
♨ – hot springs
♩ – musical quarter note
♪ – musical eighth note
♫ – musical single bar note
♬ – musical double bar note
♭ – flat note
♮ – natural note
♯ – sharp note
✁ – cut above
✂ – cut here
✃ – cut below
✄ – scissors
✆ – public pay phone
✇ – film reel – tape spool
✈ – airport jet airplane
✉ – envelope mail email
✌ – victory sign
✍ – signature – sign here
✎ – pencil diagonal down
✏ – pencil
✐ – pencil diagonal up
✈♬☑ ☎ ☒ ☻ ♤ ☤☹♀ ✩✉ ✇♺✖♨ ❦☁ ✌♛ ❁☪ ☂✏♝ ❀ ☭☃☛♞ ✿ ☚ ♘✾ ☯☾☝♖✽ ✝☄☟♟✺ ☥✂ ✍♕✵ ☮☠ ❤☆ ★ ♫ ✔ ► Ω ッ ● ♣ ♪ ☼ ◄ ❥ ♂♀ ♪◘♠☻♣ ♦☺○ ¿ ❤ ☆ ★

Also meaning of the article could be like this:
Facebook smile, Facebook smileys, Facebook, Smileys, Facebook Smiles