This file contains hidden or 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 | |
if (isset($_SERVER['HTTP_ORIGIN'])) { | |
header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); | |
} | |
if (isset($_POST['imagePpUrl'])) { | |
//for testing | |
$imageRemoveBackgroundUrl = 'https://new.realty-cards.com/wp-content/themes/porto-child/api/remove.bg/downloads/no-bg.png'; | |
json_encode(array('success' => true, 'image' => $imageRemoveBackgroundUrl)); |
This file contains hidden or 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( 'wp_enqueue_scripts', 'argu_child_scripts' ); | |
/** | |
* Enqueue scripts and styles. | |
*/ | |
function argu_child_scripts() { | |
wp_enqueue_script( 'argu-child', get_stylesheet_directory_uri() . '/js/referral.js', array( 'jquery' ), false, true ); | |
} | |
date_default_timezone_set('America/Los_Angeles'); | |
// get cookie ref |
This file contains hidden or 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 | |
load_theme_textdomain('argu', get_template_directory() . '/lang'); | |
require_once get_template_directory() . '/arguoptions/argu-config.php'; | |
require_once get_template_directory() . '/inc/up-utils.php'; | |
require_once get_template_directory() . '/inc/up-init.php'; | |
require_once get_template_directory() . '/inc/up-sidebar.php'; | |
require_once get_template_directory() . '/inc/config.php'; | |
require_once get_template_directory() . '/inc/up-cleanup.php'; | |
require_once get_template_directory() . '/inc/comments.php'; | |
require_once get_template_directory() . '/inc/up-widgets.php'; |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func Dos(Target string) { | |
var Count int = 0 |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
"strings" |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
"strings" |
This file contains hidden or 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 | |
/* vim: set expandtab sw=4 ts=4 sts=4: */ | |
/** | |
* phpMyAdmin sample configuration, you can use it as base for | |
* manual configuration. For easier setup you can use setup/ | |
* | |
* All directives are explained in documentation in the doc/ folder | |
* or at <https://docs.phpmyadmin.net/>. | |
* | |
* @package PhpMyAdmin |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) |
This file contains hidden or 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'); | |
var uglify = require('gulp-uglify'); | |
var sass = require('gulp-ruby-sass'); | |
var livereload = require('gulp-livereload'); | |
var imagemin = require('gulp-imagemin'); | |
var prefix = require('gulp-autoprefixer'); | |
function errorLog(error) { | |
console.error.bind(error); | |
this.emit('end'); |
NewerOlder