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
import * as bcrypt from "bcrypt"; | |
import { createCookieSessionStorage, redirect } from "remix"; | |
import { db } from "./db.server"; | |
export type LoginForm = { | |
username: string; | |
password: string; | |
}; |
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 | |
/* | |
Plugin Name: WDS JetPack Popular Posts | |
Plugin URI: http://www.webdevstudios.com | |
Description: Query for popular posts by views using JetPack by Automattic. | |
Version: 1.0 | |
Author: WebDevStudios | |
Author URI: http://www.webdevstudios.com | |
License: GPLv2 | |
Text Domain: wds-popular-posts |
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 | |
// See full blog post here | |
// http://pluto.kiwi.nz/2014/07/how-to-add-a-color-control-with-alphaopacity-to-the-wordpress-theme-customizer/ | |
function pluto_add_customizer_custom_controls( $wp_customize ) { | |
class Pluto_Customize_Alpha_Color_Control extends WP_Customize_Control { | |
public $type = 'alphacolor'; |