I hereby claim:
- I am coagmano on github.
- I am coagmano (https://keybase.io/coagmano) on keybase.
- I have a public key whose fingerprint is DAB3 030D 5C21 E5F3 4E17 C98E BA2B 6328 43B9 1213
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
These changes are for the plugin User-Specific-Content by Bainternet: https://wordpress.org/support/plugin/user-specific-content | |
Add the below funciton inside the class bainternet_U_S_C | |
*/ | |
/* Change Init */ | |
public function U_S_C_init(){ | |
$options = $this->U_S_C_get_option(); | |
if ($options['run_on_the_content']){ |
/** | |
* Quick-donate function | |
* Takes the number after '#' in the URL and clicks the donate button with the same $amount | |
*/ | |
jQuery(document).ready(function () { | |
var searchResult = /#\$?(\d+(?:\.\d{1,2})?)+/.exec(location.hash) | |
if ( searchResult !== null ) { | |
var amount = parseFloat(searchResult[1]) | |
amount = Math.round(amount*100)/100 | |
if (amount !== NaN) { |
.header-background { | |
position: relative; | |
background-color: $gray-dark; | |
background-image: url('women-320.jpg'); | |
background-repeat: no-repeat; | |
background-position: center center ; | |
background-size: cover; | |
@media (min-width: $screen-sm-min) { | |
background-color: transparent; |
// ==UserScript== | |
// @name Enlarge NB preview | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Expands the email preview windows in Nationbuilder | |
// @author Fred Stark | |
// @match https://*.nationbuilder.com/admin/broadcasters/*/mailings/*/preview | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
{% comment %} | |
/** | |
* This email template addon lets you calculate the donation ask amount based on | |
* previous history. | |
* Can be used unclosed to use default parameters: | |
* [ASK] | |
* Or supplied with parameters with a closing tag: | |
* [ASK]max|10|200|1.2[/ASK] | |
* - Parameters must be separated by a pipe '|'. | |
* - All parameters are optional and will revert to default if ommitted. |
javascript:(function() {var query = window.prompt('Search term');if(query) {window.open('https://REPLACE_WITH_YOUR_SLUG.nationbuilder.com/admin/sites/1/pages/search?q='+query,'_blank');}})(); |
Verifying that "coagmano.id" is my Blockstack ID. https://onename.com/coagmano |
server { | |
listen 443; | |
ssl on; | |
server_name EXAMPLE.com www.EXAMPLE.com; | |
access_log /var/log/nginx/EXAMPLE.com.access.log rt_cache; | |
error_log /var/log/nginx/EXAMPLE.com.error.log; | |
# SSL cert via letsencrypt |