This file contains 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
// Mixpanel Cheatsheet | |
// This requires the mixpanel javascript library to be embedded on your site | |
// https://mixpanel.com/help/reference/javascript-full-api-reference | |
// 1. API Methods. | |
mixpanel.init('new token', { your: 'config' }, 'library_name'); // initialize a new instance of the Mixpanel tracking object | |
mixpanel.push(['register', { a: 'b' }]); // push() keeps the standard async-array-push behavior around after the lib is loaded. This is only useful for external integrations that do not wish to rely on our convenience methods (created in the snippet). |
This file contains 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
{% if request.user.is_authenticated %} | |
<!-- Customer.io Tracking --> | |
<script type="text/javascript"> | |
var _cio = _cio || []; | |
(function() { | |
var a,b,c;a=function(f){return function(){_cio.push([f]. | |
concat(Array.prototype.slice.call(arguments,0)))}};b=["load","identify", | |
"sidentify","track","page"];for(c=0;c<b.length;c++){_cio[b[c]]=a(b[c])}; | |
var t = document.createElement('script'), | |
s = document.getElementsByTagName('script')[0]; |
This file contains 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
neutron net-list | |
+--------------------------------------+--------------+-----------------------------------------------------+ | |
| id | name | subnets | | |
+--------------------------------------+--------------+-----------------------------------------------------+ | |
| d15e0eb6-c892-4717-8be1-b3e85795e8c9 | ext-net | c80b173f-c203-4e63-956a-ed7351a5a073 185.45.72.0/23 | | |
| d5d686b5-32fb-4e45-8809-98df3ee5ef3e | 00000061-net | 4751dc7e-6b54-4284-ba02-6c1a44deb076 10.0.15.64/26 | | |
+--------------------------------------+--------------+-----------------------------------------------------+ | |
neutron subnet-list | |
+--------------------------------------+-----------------+----------------+---------------------------------------------------+ |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
<title>Bootstrap 101 Template</title> | |
<!-- Bootstrap --><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> |
This file contains 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
Partidos del Mundial de Brasil 2014 | |
{% for partido in partidos %} | |
<h3><img src="http://flagpedia.net/data/flags/normal/{{ partido.local.codigo_pais_bandera }}.png" alt="" width="25px;"> {{ partido.local }} - {{ partido.visitante }} <img src="http://flagpedia.net/data/flags/normal/{{ partido.visitante.codigo_pais_bandera }}.png" alt="" width="25px;"></h3> | |
{{ partido.fecha }} {% endfor %} |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content="<?php bloginfo('description'); ?>"> | |
<meta name="author" content=""> |
This file contains 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
# Block SPAM Referrer Spam | |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*traffic2money\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*seo-platform\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*get-free-social-traffic\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*qualitymarketzone\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*success-seo\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*floating-share-buttons\.com/ [NC,OR] | |
RewriteCond %{HTTP_REFERER} ^http://.*site2\.free-floating-buttons\.com/ [NC,OR] |
This file contains 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
<form method="post" class="formulario-early-suscriber" id="form-plan-anual"> | |
<input name="email" placeholder="Escribe tu Email" type="email" required> | |
<input name="plan" value="anual" type="hidden"> | |
<input name="precio" value="195 eur" type="hidden"> | |
<button class="submit-form" data-em="button" type="submit">Avísame Cuando esté Listo</button> | |
</form> | |
<!-- Javascript Code --> | |
<script type="text/javascript"> | |
$(document).ready(function() { |