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
| Dear Y'all (or 'you all' depending on the geographic origin of your email), | |
| I'm on vacation. If things are going well, my feet are likely kicked up near a pool while my kids are quietly behaving. | |
| I do apologize for being out of pocket, but given that my last auto-reply email was written when my Daughter, Blahdita, was born (### months ago), I feel fairly justified to take this week off. | |
| If you need immediate attention, please stop, take a deep breath, and consider whether you REALLY need immediate attention or not. If you do, please consider it a third time. I'm confident you'll realize that it can wait. | |
| IF you do need immediate attention beyond these three checks, you can email Blah McBlah (blahn@blahblah.com) and he'll do his best to reply as quickly as possible. |
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
| <?php | |
| $webRoot = $_SERVER['DOCUMENT_ROOT']; // root of our web site. | |
| define("DS", DIRECTORY_SEPARATOR ); // this is to account for OS direcorty separator differences | |
| require_once $webroot.DS."this{$DS}is{$DS}a{$DS}path{$DS}to{$DS}a{$DS}folder"; |
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
| public function submit_entry() | |
| { | |
| $this->initialize(); | |
| // Get hidden meta vars | |
| if ( ! isset($_POST['meta'])) | |
| { | |
| // This should never be valid | |
| return; | |
| } |
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
| <!-- | |
| Example URL | |
| www.mysite.com/templategroup/subtemplate/segment3 | |
| --> | |
| {exp:channel:entries channel="SnactivityDetailsChannel" limit="1" url_title="{segment_3}" } | |
| <h2>{title}</h2> | |
| {if no_results} |
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
| <?php | |
| class ExampleController extends BaseController{ | |
| protected $layout = "master.layout" | |
| protected $themePath = "/some/path/" | |
| funcion index() | |
| { | |
| $data['user'] = "some user" | |
| View::addNamespace('theme', $this->themePath); |
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
| // Conventions: | |
| // We use angles in degrees in clock-wise fashion | |
| RobotHelpers = {}; | |
| MathHelpers = {}; | |
| RobotHelpers.cannon_rotation_direction = {}; | |
| RobotHelpers.shoot = {}; | |
| RobotHelpers.target = {}; | |
| RobotHelpers.moving_direction = {}; |
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
| <!-- ugly bootstrap classes in your html --> | |
| <div class="row"> | |
| <div class="span6">...</div> | |
| <div class="span6">...</div> | |
| </div> | |
| <!- our new, semanticized HTML --> | |
| <article> | |
| <section class="main">...</section> |
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
| <div id="blogroll" data-type='blog' data-limit="6" data-sortBy="date" data-order="DESC"> | |
| <div class="title">{{title}}</div> | |
| <div class="date">{{date :format[m-d-y]}}</div> | |
| <div class="author">{{author}}</div> | |
| <div class="entry">{{entry}}</div> | |
| </div> |
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
| oil generate admin controller1 | |
| # works fine no issues | |
| oil generate admin controller2 | |
| #failes ./././././base.php already exists, use -f, or --force to override. | |
| #I don't want to override the base.php |
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
| <!--- LEFT NAVIGATION W/ THUMBNAILS ---> | |
| <div class="leftnav"> | |
| <div class="addViews"> | |
| <h3 class="optima"> additional views </h3> | |
| <img src="${ms.urlPathNoProtocol}/imagesnew/product/alt/altBracketTop.png" alt="top" /> | |