The program below can take one or more plain text files as input. It works with python2 and python3.
Let's say we have two files that may contain email addresses.
file_a.txt
foo bar
ok [email protected] sup
[email protected],wyd
hello world!
<link rel="import" href="../topeka-elements/theme.html"> | |
<link rel="import" href="../topeka-elements/topeka-resources.html"> | |
<link rel="import" href="../topeka-elements/topeka-app.html"> | |
<link rel="import" href="../topeka-elements/topeka-datasource.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
<!-- in the header --> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="scripts/jquery-2.1.1.min.js"><\/script>')</script> | |
<!-- document ready --> | |
<script> | |
$(document).ready(function() { | |
var customHTML = "<h2>Jeg elsker brød</h2>" |
#Set the $base_url parameter if we are running on Pantheon: | |
if (defined('PANTHEON_ENVIRONMENT')) { | |
if (PANTHEON_ENVIRONMENT == 'dev') { | |
$domain = 'sandbox.mysite.com'; | |
} | |
else if (PANTHEON_ENVIRONMENT == 'test') { | |
$domain = 'staging.mysite.com'; | |
} | |
else if (PANTHEON_ENVIRONMENT == 'live') { |
// PHP snippet included in wp-config.php (or settings.php). | |
// Including from that location in a separate file is OK as well. | |
<?php | |
// Remove any leading "www." from the host name. | |
$redirect_host = str_replace('www.', '', $_SERVER['HTTP_HOST']); | |
$redirect_path = strtolower(rtrim($_SERVER['REQUEST_URI'])); | |
if (strlen($redirect_path) > 2) { | |
$redirect_path = rtrim($redirect_path, '/'); | |
} |
The program below can take one or more plain text files as input. It works with python2 and python3.
Let's say we have two files that may contain email addresses.
file_a.txt
foo bar
ok [email protected] sup
[email protected],wyd
hello world!
// ==UserScript== | |
// @name RT Learn Russian play audio | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Красный 13 | |
// @match https://learnrussian.rt.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=rt.com | |
// @grant none | |
// ==/UserScript== |