I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using Newtonsoft.Json; | |
using Formatting = Newtonsoft.Json.Formatting; | |
namespace XML2JSON | |
{ | |
class Program |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Xml; | |
using Newtonsoft.Json; | |
using Formatting = Newtonsoft.Json.Formatting; | |
namespace XML2JSON | |
{ | |
class Program |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
<?php | |
namespace My\Bundle\EventListener; | |
use My\Bundle\User\User; | |
use Symfony\Component\Routing\Router; | |
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; | |
class InteractiveLoginListener | |
{ |
<?php | |
function mime_type($file) { | |
// there's a bug that doesn't properly detect | |
// the mime type of css files | |
// https://bugs.php.net/bug.php?id=53035 | |
// so the following is used, instead | |
// src: http://www.freeformatter.com/mime-types-list.html#mime-types-list | |
-- DROP FUNCTION IF EXISTS public.parsel(db text, table_to_chunk text, pkey text, query text, output_table text, table_to_chunk_alias text, num_chunks integer); | |
CREATE OR REPLACE FUNCTION public.parsel(db text, table_to_chunk text, pkey text, query text, output_table text, table_to_chunk_alias text default '', num_chunks integer default 2) | |
RETURNS text AS | |
$BODY$ | |
DECLARE | |
sql TEXT; | |
min_id integer; | |
max_id integer; | |
step_size integer; | |
lbnd integer; |
#!/bin/bash | |
# | |
# pgpool-II replication manager | |
# | |
# Interfaces with pgpool's pcp command-line tools to provide access to common functions for managing | |
# load-balancing and failover. | |
# | |
# [email protected] | |
# 2011-08-28 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>QWebChannel Client</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.css" /> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
<script type="text/javascript" src="qwebchannel.js"></script> |
def color(text, **user_styles): | |
styles = { | |
# styles | |
'reset': '\033[0m', | |
'bold': '\033[01m', | |
'disabled': '\033[02m', | |
'underline': '\033[04m', | |
'reverse': '\033[07m', |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
class Color(object): | |
""" | |
reference from https://gist.github.com/Jossef/0ee20314577925b4027f and modified bit. | |
""" | |
def __init__(self, text, **user_styles): |