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 name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Dividend Distribution Calculator</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
max-width: 600px; |
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
<?php | |
/* | |
* Plugin Name: WP Remove Assets | |
* Plugin URI: https://www.cozmsolabs.com | |
* Version: 0.1 | |
* Description: Filter particular scripts and style to load in posts or pages that don't need it. | |
* Author: Cristian Antohe | |
* Author URI: https://www.cozmoslabs.com/ | |
*/ |
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
var gulp = require('gulp'), | |
pot = require( 'gulp-wp-pot' ), | |
fs = require('fs'), | |
git = require('gulp-git'); | |
var addons = [ 'pms-add-on-bbpress', 'pms-add-on-content-dripping', 'pms-add-on-discount-codes', 'pms-add-on-email-reminders', | |
'pms-add-on-global-content-restriction', 'pms-add-on-invoices', 'pms-add-on-member-subscription-fixed-period', 'pms-add-on-multiple-subscriptions-per-user' | |
, 'pms-add-on-navigation-menu-filtering', 'pms-add-on-paypal-express-pro', 'pms-add-on-paypal-standard-recurring-payments', 'pms-add-on-recaptcha' | |
, 'pms-add-on-stripe', 'pms-add-on-pay-what-you-want', 'pms-add-on-group-memberships', 'pms-add-on-tax' ]; |
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
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://tp.test/sitemaps_xsl.xsl"?> | |
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | |
<url> | |
<loc>http://tp.test/blog/</loc> | |
<xhtml:link rel='alternate' hreflang='en-US' href='http://tp.test/blog/' /> | |
<xhtml:link rel='alternate' hreflang='ro-RO' href='http://tp.test/ro/blog/' /> | |
</url> | |
<url> | |
<loc>http://tp.test/ro/blog/</loc> |
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
https://guide.elm-lang.org/effects/http.html | |
main = | |
Browser.element | |
{ init = init | |
, update = update | |
, subscriptions = subscriptions | |
, view = view | |
} |
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
# SSL configuration | |
# | |
# listen 443 ssl default_server; | |
# listen [::]:443 ssl default_server; | |
# | |
# Note: You should disable gzip for SSL traffic. |
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
<?php | |
add_action( 'trp_before_running_hooks', 'trpc_remove_hooks_to_disable_gettext_translation', 10, 1); | |
function trpc_remove_hooks_to_disable_gettext_translation( $trp_loader ){ | |
$trp_loader->remove_hook( 'init', 'create_gettext_translated_global' ); | |
$trp_loader->remove_hook( 'shutdown', 'machine_translate_gettext' ); | |
} |
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
#!/bin/bash | |
# Version: 2.0 | |
# Release: November 24, 2017 | |
# Based on https://github.com/leehblue/texpander/ | |
# Get window id, pass to getwindow pid to output the pid of current window | |
pid=$(xdotool getwindowfocus getwindowpid) | |
# Store text name of process based on pid of current window |
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
Original SVG | |
<svg style="width: 253px; height: 54px;" viewbox="0 0 238 54"> | |
<defs> | |
<mask id="button-text-mask-0"> | |
<rect width="100%" height="100%" fill="#ffffff"></rect> | |
<text class="mask-text button-text" fill="#000000" text-anchor="middle" font-size="16" transform="matrix(1 0 0 1 126.5 32.72727272727273)">Discover JB-Power</text> | |
</mask> | |
</defs> | |
<rect fill="#ffd700" width="100%" height="100%" id="masked-rect-id-0"></rect> |
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
SELECT * FROM `wp_trp_dictionary_en_us_ro_ro` WHERE | |
MATCH original AGAINST( '“That is why, I suppose, you wished him to go on to Bukovina. You cannot | |
deceive me, my friend; I know too much, and my horses are swift.” As he | |
spoke he smiled, and the lamplight fell on a hard-looking mouth, with | |
very red lips and sharp-looking teeth, as white as ivory. One of my | |
companions whispered to another the line from Burger’s “Lenore”:—' ) | |
AND |
NewerOlder