- [Dice][] - where you are, who we are.
- [How GitHub Uses GitHub to Build GitHub][githubcubed]
- [Forking A Repository on GitHub][githubfork]
- [Submitting Pull Requests][githubpull]
- [Choosing A License][choosealicense]
- [OCTOCATS!!][octocats]
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
node default{ | |
host{"myhost.com": | |
ip => "127.0.0.1", | |
} | |
host{"myhost2.com": | |
ip => "127.0.0.1", | |
} |
let's keep this our secret. If the talk hasn't started yet, please don't tell those around you about this page. sure, hint and all... but it's more fun if they find it themselves. Also, don't tweet about this until I ask you to (and yes, I'll ask you to. Pretty please? can you? oh, you're the best. I knew you would.).
I do promise I'll tell everyone eventually, but for now you can feel good you found this page before your friend Bob.
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 | |
/* | |
export.php - a script for outputting post type, title and URL in CSV format. | |
All commas are also stripped from titles in order to keep the CSV format (for HootSuite import) versus keeping the titles as is. | |
*/ | |
include "wp-load.php"; | |
$posts = new WP_Query('post_type=any&posts_per_page=-1&post_status=publish'); |
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
jQuery(".case").droppable({ | |
hoverClass: "highlightNewcase", | |
drop: function (event, ui) { | |
// Don't submit if the ID is currently a child | |
var selectedDocumentId = jQuery(ui.draggable).attr('id').split('_')[1]; | |
var selectedCaseId = jQuery(this).attr('id').split('_')[1]; | |
var documentsParentCaseId = jQuery(ui.draggable.parent()).attr('id').split('_')[1]; | |
if (selectedCaseId != documentsParentCaseId) { | |
ui.draggable.detach(); |
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
package controllers; | |
import models.Task; | |
import play.*; | |
import play.data.Form; | |
import play.mvc.*; | |
import views.html.*; | |
public class Application extends Controller { |
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
@(tasks: List[Task], taskForm: Form[Task]) | |
@import helper._ | |
@main("Todo List") { | |
<h1>@tasks.size() task(s)</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
# Home page | |
GET / controllers.Application.index() | |
# Tasks | |
GET /tasks controllers.Application.tasks() | |
POST /tasks controllers.Application.newTask() | |
POST /tasks/:id/delete controllers.Application.deleteTask(id: Long) | |
# Map static resources from the /public folder to the /assets URL path |
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 style="font-family:'Comic Sans MS'; font-size:20pt; text-align:center; padding-top:100px;">My Neat Website</div> |
NewerOlder