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
class Gmail { | |
private $mail; | |
private $email; | |
private $pass; | |
public function __construct($email, $pass){ | |
$this->email = $email; | |
$this->pass = $pass; | |
} |
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"?> | |
<configuration> | |
<location path="." inheritInChildApplications="false"> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="GetSimple Fancy URLs" stopProcessing="true"> | |
<match url="/?([A-Za-z0-9-_]+)/?$" /> | |
<conditions> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> |
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
.ddns.org | |
.findhere.com | |
.freeservers.com | |
.zzn.com | |
1033edge.com | |
11mail.com | |
123.com | |
123box.net | |
123india.com | |
123mail.cl |
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
/** | |
* post2name | |
* | |
* Converts a $_POST array to a flat array of the form element `name`s which would have produced it. | |
* | |
* For example, the PHP array: | |
* | |
* 'foo' => 'bar', | |
* 'baz' => [ | |
* 'foo' => 'bar', |
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 (document.querySelector("link[rel='canonical']")) { | |
// Get current URL | |
var url = document.URL; | |
// If query string, get it and append to current URL | |
if (location.search) { | |
var query = location.search; | |
} else { | |
var query = ''; |
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
add_action( 'wp_head', function () { | |
echo '<script>var WP_DEBUG = '; | |
echo ( defined( 'WP_DEBUG' ) && WP_DEBUG === true ) ? 'true' : 'false'; | |
echo ';</script>'; | |
} ); |
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
<title>‎</title> |
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
{ | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://wpackagist.org" | |
} | |
], | |
"autoload": { | |
"files": [ | |
"vendor/plugin-folder/plugin.php" |
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 field = jQuery("#ninja_forms_field_196"); | |
field.val(field.find("[selected]").val()); |
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 | |
/** | |
* Simple PHP Encryption functions | |
* | |
* Attempts to be as secure as possible given: | |
* | |
* - Key can be any string | |
* - No knowledge of encryption is required | |
* - Only key and raw/encrypted string is needed at each end |