This file contains hidden or 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
<!-- Copy this code wherever you want the integration, replace YOUR_TOKEN with your token. :) --> | |
<iframe width="100%" height="360px" scrolling="no" src="https://productpains.com/widget.html?token=YOUR_TOKEN"></iframe> | |
<script type="text/javascript" src="https://productpains.com/js/lib/iframeResizer.min.js"></script> |
This file contains hidden or 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 "RCTBridgeModule.h" | |
@interface LoopifyManager : NSObject <RCTBridgeModule> | |
@end |
This file contains hidden or 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 binascii | |
import hashlib | |
import json | |
from Crypto.Cipher import AES | |
from django.conf import settings | |
from pinecast.helpers import gravatar |
This file contains hidden or 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 binascii | |
import hashlib | |
import json | |
from cryptography.hazmat.backends import default_backend | |
from cryptography.hazmat.primitives.ciphers import algorithms, Cipher, modes | |
from django.conf import settings | |
from pinecast.helpers import gravatar |
This file contains hidden or 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
<div data-canny /> | |
<script>!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}}(window,document,"canny-jssdk","script");</script> | |
<script> | |
Canny('render', { | |
boardToken: '6855559e-96a4-1cf9-4752-560c9936074e', | |
basePath: '/listify-customer-feature-requests/', | |
ssoToken: null, // See step 3 | |
}); | |
</script> |
This file contains hidden or 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
<script>!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}}(window,document,"canny-jssdk","script");</script> | |
<script type="text/javascript"> | |
Canny('identify', { | |
appID: '5ada60c895e6667ef5f73ac6', | |
user: { | |
//avatarURL: viewer.avatarURL, // optional | |
//created: new Date(viewer.created).toISOString(), // optional | |
email: '<?php echo $_SESSION['email']; ?>', | |
id: <?php echo $accountID; ?>, | |
companies: [{ |
This file contains hidden or 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
function custom_url_rewrite_inbound(&$result, $path, $path_language) { | |
if (strpos($path, 'feedback/feature-requests') === 0 || | |
strpos($path, 'feedback/bug-reports') === 0 || | |
strpos($path, 'feedback/feedback-suggestions') === 0 || | |
strpos($path, 'feedback/portfolio-reviews') === 0) { | |
$result = 'node/54'; return; | |
} | |
} | |
This file contains hidden or 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 React, { Component, PropTypes } from 'react'; | |
// This file is heavily based on: | |
// https://github.com/ReactTraining/react-router/blob/v3/modules/Redirect.js | |
export default class ExternalRedirect extends Component { | |
static propTypes = { | |
from: PropTypes.string.isRequired, | |
to: PropTypes.string.isRequired, | |
}; |
This file contains hidden or 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
const CannySDK = { | |
init: () => { | |
(function(w, d, i, s) { | |
if (typeof w.Canny === 'function') { | |
return; | |
} | |
var c = function(){ | |
c.q.push(arguments); | |
}; |
This file contains hidden or 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
<script type="text/javascript"> | |
// Add this to the "Website tracking code" section | |
setTimeout(function() { | |
if (Podia.Customer) { | |
// Download the Canny SDK | |
!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}}(window,document,"canny-jssdk","script"); | |
// Identify your user | |
Canny('identify', { | |
appID: 'YOUR_APP_ID', |
OlderNewer