- @mentions, #refs, links, formatting, and
tagssupported - list syntax required (any unordered or ordered list supported)
- this is a complete item
- this is an incomplete item
This file contains 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 | |
/* | |
* 增加以下兩個 routing 關聯,方便檢視 prototype 底下的檔案 | |
*/ | |
# 列出所有 prototype 檔案,位在/resources/views/prototype/* | |
Route::get('/', function(){ | |
$full_path = base_path().'/resources/views/prototype'; | |
$filesInFolder = \File::files($full_path); |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
[{"name":"posts","color":"Red","position":{"x":100,"y":100},"increment":true,"timestamp":true,"softdelete":false,"column":[{"name":"id","type":"increments","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c27","order":0},{"name":"title","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c35","order":1},{"name":"content","type":"text","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c43","order":2},{"name":"category_id","type":"integer","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidd |
This file contains 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
{ | |
"auto_complete_selector": "source, text", | |
"bold_folder_labels": true, | |
"caret_extra_bottom": 3, | |
"caret_extra_top": 3, | |
"caret_extra_width": 2, | |
"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme", | |
"detect_slow_plugins": false, | |
"draw_white_space": "all", | |
"font_size": 17.0, |
This file contains 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 | |
$bucket = 'bobo-bucket-test'; | |
$buckerUrl = 'https://s3-ap-northeast-1.amazonaws.com/bobo-bucket-test/'; | |
// These can be found on your Account page,under Security Credentials > Access Keys | |
$accessKeyId = '*** no show ***'; | |
$secret = '*** no show ***'; | |
if (!$bucket || !$buckerUrl || !$accessKeyId || !$secret) { | |
die('Amazon S3 credentials not setup in ' . basename(__FILE__)); |
This file contains 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" /> | |
{{ HTML::style('assets/css/raptor-front-end.min.css') }} | |
</head> | |
<body> |
This file contains 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
<textarea class="form-control input" data-id="main-content" name="body" ></textarea> | |
<div class="raptor-editable"> | |
<div class="raptor-editable input" style="background-color: rgba(245, 217, 165, 0.28);"></div> | |
</div> | |
<script> | |
$(document).ready(function() { | |
$('.raptor-editable').raptor({ | |
autoEnable: true, // Enable the editor automaticly | |
unloadWarning: false, |
This file contains 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
Warning: require_once(/Users/bobochen/Desktop/github/raptor-example/..//raptor-themes/include.php): failed to open stream: No such file or directory in /Users/bobochen/Desktop/github/raptor-example/partials/head.php on line 15 | |
Fatal error: require_once(): Failed opening required '/Users/bobochen/Desktop/github/raptor-example/..//raptor-themes/include.php' (include_path='.:/usr/local/Cellar/php55/5.5.19/lib/php') in /Users/bobochen/Desktop/github/raptor-example/partials/head.php on line 15 |