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
2015-08-24 11:19:16 -0500 | |
cmake | |
. | |
-DBOOST_INCLUDEDIR=/usr/local/opt/boost/include | |
-DBOOST_LIBRARYDIR=/usr/local/opt/boost/lib | |
-DCCLIENT_INCLUDE_PATH=/usr/local/opt/imap-uw/include/imap | |
-DCMAKE_C_FLAGS=-I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib | |
-DCMAKE_CXX_FLAGS=-I/usr/local/opt/readline/include -L/usr/local/opt/readline/lib | |
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/hhvm/3.9.0 |
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
$(document).ready(function() { | |
$(".collapse-column").each(function() { | |
$(this).data('default-height', $(this).height()); | |
$(this).height('80'); | |
}); | |
$(".collapse-column").click(function() { | |
var targetHeight = $(this).data('default-height'); | |
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
{{ link_to_action('PostsController@edit', 'Edit', $post->id, array('class' => 'btn btn-default')) }} | |
<button type="button" class="btn btn-danger delete-btn" data-post-id="{{{ $post->id }}}">Delete</button> | |
<script> | |
var csrfToken = "{{{ Session::get('_token') }}}"; | |
$(".delete-btn").click(function() { | |
var postId = $(this).data('post-id'); | |
if (confirm('Are you sure you want to delete this post?')) { |
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> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>JQuery, YAY!</title> | |
</head> | |
<body> | |
<h1 id="heading" data-alt-heading="MAGIC">Example Page</h1> | |
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 Ad { | |
public $dbc; | |
public $id; | |
public $title = ''; | |
public $body = ''; |
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 Student | |
{ | |
public $firstName; | |
public $lastName; | |
public $cohort; | |
public $classStart; |
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 foreach: ($parks as $parkInfo): ?> | |
<!-- ... --> | |
<td> | |
<!-- This is the button the user will click to remove an item --> | |
<button class="btn btn-danger btn-xs btn-delete" data-id="<?= $parkInfo['id']; ?>" data-name="<?= $parkInfo['name']; ?>"> | |
Delete | |
</button> | |
</td> | |
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> | |
<html> | |
<head> | |
<title>Stop Watch</title> | |
</head> | |
<body> | |
<h1>Stop Watch</h1> | |
<button id="startButton">Start</button> | |
<button id="stopButton">Stop</button> |
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 | |
$items = [ | |
0 => 'first', | |
1 => 'second', | |
2 => 'third' | |
]; | |
// A |
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 | |
/************************************ | |
* NOTE!!!! | |
* This file is meant as notes / examples. | |
* The code, as it's current written, will not work | |
* and will probably output some errors/notices. | |
* Use this file as examples, not as code that's meant to be run. | |
************************************ | |
*/ |