This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function kompassImage(imgsrc){ | |
| var pop; | |
| pop = window.open(imgsrc,'_blank','width=1969,height=1000,status=yes,scrollbars=yes,resizable=yes'); | |
| pop.focus(); | |
| with (kompass.document){ | |
| writeln('<html><head><title></title>'); | |
| writeln('</head><body><a href="javascript:close();" style="display:block;">'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| seite.headerData.20 = TEXT | |
| seite.headerData.20.data = field:abstract | |
| seite.headerData.20.wrap = <style> | </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| page.bodyTag > | |
| page.bodyTagCObject = TEXT | |
| page.bodyTagCObject { | |
| field = uid | |
| wrap = <body class="uid-|"> | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. mysqldump -u root -p mydatabase > dump.sql | |
| 2. cp dump.sql dump.sql.bak | |
| 3. vi dump.sql | |
| 4. :1,$:s/ DEFAULT CHARSET=latin1/ DEFAULT CHARSET=utf8/g | |
| 5. :wq | |
| 6. mysql -u root -e "DROP DATABASE mydatabase" | |
| 7. mysql -u root -e "CREATE DATABASE mydatabase CHARACTER SET utf8" | |
| 8. mysql -u root -p mydatabase < dump.sql | |
| ## In TYPO3 installTool: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var log = function(str) { | |
| if (typeof console != 'undefined' && console != null) console.log(str); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function formatNumber(number) { | |
| return (number < 10 ? '0' : '') + number; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
| <!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]--> | |
| <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title></title> | |
| <meta name="description" content=""> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(){ | |
| // write js here | |
| })(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function(){ | |
| // type jquery code here | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main() | |
| { | |
| } |
NewerOlder