Skip to content

Instantly share code, notes, and snippets.

@Paul-frc
Paul-frc / flex-for-ie-10-and-safari.css
Last active Oct 1, 2021
the flexbox equiv. for IE10
View flex-for-ie-10-and-safari.css
/* ==================== */
/* container attributes */
/* ==================== */
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-direction: row | column | row-reverse | column-reverse;
-webkit-flex-direction: row | column | row-reverse | column-reverse;
@mattclements
mattclements / function.php
Last active Nov 25, 2021
Wordpress Disable Comments (add to function.php)
View function.php
<?php
add_action('admin_init', function () {
// Redirect any user trying to access comments page
global $pagenow;
if ($pagenow === 'edit-comments.php') {
wp_redirect(admin_url());
exit;
}
@grantland
grantland / AGB-001_Light_Mod.md
Last active Nov 24, 2020
AGB-001 Front/Backlight Mod Instructions
View AGB-001_Light_Mod.md

AGB-001 Front/Backlight Mod Instructions

AGB-001 Backlight Mod

Requirements

  • AGB-001
  • ASS101 screen