UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"default_line_ending": "unix", | |
"detect_indentation": false, | |
"draw_minimap_border": true, | |
"enable_tab_scrolling": true, | |
"enable_telemetry": "false", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, |
/** | |
* Source: http://nicolasgallagher.com/micro-clearfix-hack/ | |
* | |
* For modern browsers | |
* 1. The space content is one way to avoid an Opera bug when the | |
* contenteditable attribute is included anywhere else in the document. | |
* Otherwise it causes space to appear at the top and bottom of elements | |
* that are clearfixed. | |
* 2. The use of `table` rather than `block` is only necessary if using | |
* `:before` to contain the top-margins of child elements. |
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,
If you reached this page, means you've hit this SSL error when trying to
/** | |
* [sidbar_widget_count count number of parameter in a sidbar] | |
* @param [string] $sidebar_id [sidbar_id] | |
* @return [int] [number of item] | |
*/ | |
function sidbar_widget_count($sidebar_id){ | |
$total_widgets = wp_get_sidebars_widgets(); | |
return count($total_widgets[$sidebar_id]); | |
} |
// Released under MIT license: http://www.opensource.org/licenses/mit-license.php | |
$('[placeholder]').focus(function() { | |
var input = $(this); | |
if (input.val() == input.attr('placeholder')) { | |
input.val(''); | |
input.removeClass('placeholder'); | |
} | |
}).blur(function() { | |
var input = $(this); |
// Disable Rictext editor only for author | |
function cp_disable_editor() | |
{ | |
if( current_user_can( 'author' ) ) | |
{ | |
$user_ID = get_current_user_id(); | |
update_user_meta( $user_ID, 'rich_editing', false ); | |
} | |
} | |
add_action('admin_init','cp_disable_editor'); |
CREATE TABLE `makers` ( | |
`id` int(10) unsigned NOT NULL, | |
`name` varchar(255) NOT NULL, | |
`description` varchar(255) NOT NULL, | |
`created_at` datetime NOT NULL, | |
`updated_at` datetime NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
-- |
/** | |
* Translucent borders | |
*/ | |
body { | |
background: url('http://csssecrets.io/images/stone-art.jpg'); | |
} | |
div { | |
border: 10px solid hsla(0,0%,100%,.5); |