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
| root@dev-server:/var/www/trac# easy_install Trac==0.12 | |
| Searching for Trac==0.12 | |
| Best match: Trac 0.12 | |
| Processing Trac-0.12-py2.5.egg | |
| Trac 0.12 is already the active version in easy-install.pth | |
| Installing trac-admin script to /usr/bin | |
| Installing tracd script to /usr/bin | |
| Using /usr/lib/python2.5/site-packages/Trac-0.12-py2.5.egg | |
| Processing dependencies for Trac==0.12 |
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
| <html> | |
| <head> | |
| <title>Avon Brasil</title> | |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <LINK href="static/css/usec.css" type=text/css rel=stylesheet> | |
| <LINK title=Style href="static/css/mt_style.css" type=text/css | |
| rel=STYLESHEET> | |
| <LINK title=Style href="static/css/win.css" type=text/css rel=STYLESHEET> | |
| <script language="JavaScript" src="static/js/scroll.js"></script> | |
| <script language="JavaScript" src="static/js/dhtml.js"></script> |
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
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| $(document).ready(function() | |
| { | |
| hideAnswers(); | |
| }); |
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
| $('.required-field').each(function(i, ele) | |
| { | |
| if ($(ele).val() == '') | |
| { | |
| alert("ahh, empty field"); | |
| $(ele).parent('td').css('color', '#ff0000'); | |
| } | |
| }); |
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
| $.fn.extend({ | |
| inDOM : function() | |
| { | |
| return !!$(this).parents('html').length; | |
| } | |
| }); |
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
| // controller.php | |
| $users = array('john', 'mike', 'eric'); | |
| // view.php | |
| <? foreach ($users as $user): ?> | |
| Hello <?=$user?> | |
| <? if ($user == 'john'): ?> |
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
| Adblock Plus, Add-on Collector, Adobe DLM, BetterPrivacy, ColorZilla, CSS Usuage, DOM Inspector, DownloadHelper, EventSpy, FaviconizeTab, Firebug, Firebug Paint Events, Firecookie, Firefinder for Firebug, Firefox Sync, FirePHP, FireQuery, FireRainbox, Fission, FoxyProxy Standard, Greasemonkey, Hide Find Bar, Java Console, JSON View, MeasureIt, Move Media Player, Norton IPS, Norton Toolbar, NoScript, Page Speed, Pixel Perfect, Rapportive, S3 Firefox Organizer, Screengrab, SkipScreen, SQLite Manager, Stack Overflow reputation display, StrataBuddy, StrataGlass, StumbleUpon, Tab Mix Plus, Tab Progress Bar, TabGroups Manager, Tamper Data, Web Developer, YSlow |
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
| $thirdParameter = $this->request->param('id'); | |
| if (is_numeric($thirdParameter)) | |
| { | |
| // the param is numeric, so assume it the id of an object | |
| $resort = orm::factory('restort', $thirdParameter) | |
| } | |
| else | |
| { | |
| $resort = orm::factory('resort')->where('name', '=', $thirdParameter); |
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
| <table id="diningroom"> | |
| </table> | |
| <script> | |
| $('#diningroom').append('<tr>').find('tr') | |
| .append('<td>i hug</td>').append('<td>the floor</td>') | |
| .parents('table:first').append('<tr>').find('tr:last') | |
| .append('<td>with my</td>').append('<td>arms</td>'); | |
| </script> |
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
| <style> | |
| building { | |
| display: block; | |
| float: left; | |
| background-color: #b9b9b9; | |
| width: 200px; | |
| } | |
| level { | |
| display: block; |