Skip to content

Instantly share code, notes, and snippets.

View danielflippance's full-sized avatar

Daniel Flippance danielflippance

View GitHub Profile
<div>
<!-- Tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#pane1" data-toggle="tab">Tab 1</a></li>
<li class=""><a href="#pane2" data-toggle="tab">Tab 2</a></li>
<li class=""><a href="#pane3" data-toggle="tab">Tab 3</a></li>
</ul>
<!-- Tab1 Content -->
'use strict';
const PRODUCTION_VERIFY_HOSTNAME = 'ipnpb.paypal.com';
const SANDBOX_VERIFY_HOSTNAME = 'ipnpb.sandbox.paypal.com';
var fs = require('fs');
var qs = require('querystring');
var path = require('path');
var Censor = require('../../shared/censor.debug.js');
'use strict';
const SANDBOX_VERIFY_HOSTNAME = 'ipnpb.sandbox.paypal.com';
var qs = require('querystring');
var https = require('https');
//========================================================
// PayPalIPNGateway
// Gateway for the PayPal IPN messages
@danielflippance
danielflippance / tinymce-plupload.html
Last active November 4, 2022 18:18
TinyMCE with Plupload Image Selector
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<script src="/plupload-2.1.2/js/plupload.full.min.js"></script>
<script src="/jquery-1.10.1/js/jquery-1.10.1.min.js"></script>
<script src="//tinymce.cachefly.net/4.1/tinymce.min.js"></script>
<script>
//Some code from - http://www.bennadel.com/blog/2564-using-multiple-dropzones-and-file-inputs-with-a-single-plupload-instance.htm
@danielflippance
danielflippance / list-group-horizontal.css
Created July 7, 2014 23:31
Bootstrap list-group-horizontal
.list-group-horizontal .list-group-item {
display: inline-block;
}
.list-group-horizontal .list-group-item {
margin-bottom: 0;
margin-left:-4px;
margin-right: 0;
}
.list-group-horizontal .list-group-item:first-child {
border-top-right-radius:0;