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
| { | |
| "always_show_minimap_viewport": true, | |
| "auto_find_in_selection": true, | |
| "bold_folder_labels": false, | |
| "close_windows_when_empty": false, | |
| "color_scheme": "Packages/User/GrandsonOfObsidian (SL).tmTheme", | |
| "copy_with_empty_selection": false, | |
| "create_window_at_startup": false, | |
| "dictionary": "Packages/Language - English/en_GB.dic", | |
| "drag_text": false, |
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
| /** | |
| * Default Grunt File | |
| * @version 0.1.0 | |
| * @description Concatinates sass and outputs production and dev, lints the production CSS, smushes images | |
| */ | |
| module.exports = function(grunt) { | |
| grunt.initConfig({ |
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
| <? | |
| add_filter( 'gettext', 'change_howdy_text', 10, 2 ); | |
| function change_howdy_text( $translation, $original ) { | |
| if( 'Howdy, %1$s' == $original ) | |
| $translation = 'Logged in as %1$s'; | |
| return $translation; | |
| } | |
| ?> |
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 | |
| // Match Twitter handles and create a link to the profile | |
| $string = $value["text"]; | |
| $input = preg_replace('/(?<=^|\s)@([a-z0-9_]+)/i', '<a href="http://www.twitter.com/$1">@$1</a>', $string); | |
| echo $input; | |
| ?> |
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
| /*------------------------------------*\ | |
| $RESET | |
| \*------------------------------------*/ | |
| * { | |
| -webkit-box-sizing: border-box; | |
| -moz-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } |
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 lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="description" content="A description about your site" /> | |
| <meta name="keywords" content="keywords, separated, by, comma" /> | |
| <title>Untitled Document</title> | |
| <link rel="shortcut icon" href="favicon.ico" /> | |
| <link rel="stylesheet" href="css/style.css" media="screen" /> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.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
| (function($) { | |
| $.rdCalendar = function(element, options) { | |
| var plugin = this, | |
| $element = $(element), | |
| defaults = { | |
| region : 'en', | |
| monthNames: 'monthNamesShort', | |
| dayNames: 'dayNamesShort', | |
| template: '<h2><%= month %><%= year %> | <a class="navigate" href="#prev">prev</a> | <a class="navigate" href="#next">next</a></h2><table class="calendar"><thead><tr><% for (var i = 0, l = days.length; i < l; i++) { %><th><%= days[i] %></th><% } %></tr></thead><tbody><% var rows = dates.length/7, cols=7; for (var x = 0, d = 0; x < rows; x++) { %><tr><% for (var y = 0; y < cols; y++) { var date = dates[d++]; %><% if (date != null) { %><td><h3 class="day"><span class="num"><%= date.date %></span></h3><% if (date.events.length > 0) { %><ul><% for (var e = 0, l = date.events.length; e < l; e++) {%><li><a href=""><%= date.events[e].name %></a></li><% } %></ul><% } %></td><% } else { %><td></td><% } %><% } %></tr><% } %></tbody></table>', | |
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
| ################# | |
| ## Eclipse | |
| ################# | |
| *.pydevproject | |
| .project | |
| .metadata | |
| bin/ | |
| tmp/ | |
| *.tmp |
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 | |
| function iv_slider_metabox( array $meta_boxes ) { | |
| $fields = array( | |
| array( 'id' => 'iv-slider-title', 'name' => 'Text input field', 'type' => 'text' ), | |
| array( 'id' => 'iv-slider-desc', 'name' => 'WYSIWYG field', 'type' => 'wysiwyg', 'options' => array( 'editor_height' => '100' ) ), | |
| array( 'id' => 'iv-slider-img', 'name' => 'File field', 'type' => 'file', 'file_type' => 'image', 'repeatable' => 1, 'sortable' => 1 ), | |
| ); |