- Log into your Campaign Monitor account
- Click on "Account Settings" in the top menu (4th item)
- Your API key will be visible once you click the "Show API Key" link.
- Log into your Campaign Monitor account
- Click on "Clients" in the top menu (1st item)
How to Use | |
Step 1. | |
Copy the custom_widget.php file and place it in your WordPress theme folder. Assuming WordPress is installed in the root of your server the file will be place in /wp-content/themes/yourtheme/ | |
Step 2. | |
Open up functions.php and include the following piece of code somewhere in the file. include TEMPLATEPATH . '/custom_widget.php'; | |
Step 3. | |
Edit the custom_widget.php file to suit your needs. |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
h1 span{ | |
color:Red /* I only target <span> tags nested within a h1 */ | |
} | |
h1 ~ span{ | |
color:blue /* I dont taget <span> tags nest within a h1, but any <span> tag that follows a h1 on the same nested level */ |
<script> | |
$(window).resize(function() { | |
var windowWidth = $(window).width(); | |
$('.screen-width').text(windowWidth + 'px'); | |
}); | |
</script> | |
<div id="debug" style="position:fixed;padding:0.3em 0.6em;background:#f1f1f1;font-size:0.6em;bottom:0;left:50%;"> | |
<span class="screen-width">0</span> | |
</div> |
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
"draw_minimap_border": true, | |
"draw_white_space": "all", | |
"font_face": "SourceCodePro-Regular", | |
"font_size": 14.0, | |
"file_exclude_patterns": | |
[ |
%debug | |
background-color: pink !important |
@function rgbaa($args...) { | |
// rgbaa(#FFF, .5) | |
@if length($args) == 2 { | |
$hex: nth($args, 1); | |
$alpha: nth($args, 2); | |
@if $oldIE == 1 { | |
@return rgb(red($hex), green($hex), blue($hex)); | |
} @else { | |
@return rgba(red($hex), green($hex), blue($hex), $alpha); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBrightBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAC | |
TxAnMC40NTg4MjM1NjE3IDAuNDQzMTM3Mjg4MSAwLjM2ODYyNzQ1ODgA0hAREhNaJGNs | |
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp |
hub pull-request -i <issue-id-number> -h <gh-account>:<branch-name> |
/*! ****************************** | |
Handlebars helpers | |
*******************************/ | |
// debug helper | |
// usage: {{debug}} or {{debug someValue}} | |
// from: @commondream (http://thinkvitamin.com/code/handlebars-js-part-3-tips-and-tricks/) | |
Handlebars.registerHelper("debug", function(optionalValue) { | |
console.log("Current Context"); | |
console.log("===================="); |