View dabblet.css
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
#root { | |
position: relative; | |
height: 200px; | |
background: blue; | |
} | |
#root::before { | |
content: ""; | |
position: absolute; | |
left: 20px; |
View machine.js
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View custom_row_renderer.jsx
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
/** | |
* External dependencies | |
*/ | |
import React, { PureComponent, PropTypes } from 'react'; | |
import { AutoSizer, Table } from 'react-virtualized'; | |
/** | |
* Internal dependencies | |
**/ | |
import getDefaultColumns from './columns'; // some columns for RV Table |
View dabblet.css
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
.container { | |
height: 200px; | |
background: yellow; | |
display: flex; | |
flex-direction: column; | |
align-items: stretch; | |
} | |
.scroll { |
View dabblet.css
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
.outer { | |
position: relative; | |
background: red; | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
align-items: stretch; | |
overflow: hidden; |
View dabblet.css
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
.outer { | |
position: relative; | |
background: red; | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
align-items: stretch; | |
overflow: hidden; |
View dabblet.css
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
.outer { | |
position: relative; | |
background: red; | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
align-items: stretch; | |
overflow: hidden; |
View wp_twig.php
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 | |
/** | |
* Setup Twig Templating : http://twig.sensiolabs.org/ | |
* expects a /templates directory to exist in theme directory | |
* | |
* usage with _twig_render wrapper function | |
* _twig_render($template_path, $data_array); | |
* | |
* | |
**/ |
View Media category for Wordpress
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 | |
function media_category_init() { | |
register_taxonomy( 'media-category', array( 'attachment' ), array( | |
'hierarchical' => true, | |
'public' => true, | |
'show_in_nav_menus' => true, | |
'show_ui' => true, | |
'show_admin_column' => true, | |
'query_var' => true, |
View Visual Composer Extension
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 | |
/* | |
Extends Visual Composer | |
More information can be found here: http://kb.wpbakery.com/index.php?title=Category:Visual_Composer | |
*/ | |
// don't load directly |
NewerOlder