Skip to content

Instantly share code, notes, and snippets.

Don Pramis DonPramis

Block or report user

Report or block DonPramis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@DonPramis
DonPramis / VkGetLink.user.js
Created Nov 27, 2018 — forked from mistificator/VkGetLink.user.js
Script for downloading audio and video files from the vk.com
View VkGetLink.user.js
View gist:421f94ee3dbcca96f0e718a6b12615b2
<?php
public function getNortonSafe($domain)
{
try
{
$callback_url = "https://safeweb.norton.com/report/show?url=" . $domain;
$curl_response = $this->curl->get($callback_url);
@DonPramis
DonPramis / moz.php
Created Oct 27, 2017
SEO MOZ RANK and MOZ AUTHORITY
View moz.php
/* Get SEOmoz Data
-------------------------------------------------- */
public function getSeoMoz($domain, $accessid = "", $secret = "")
{
try
{
$access_id = (empty($accessid) ? $_SESSION['SEOMOZ_API_ACCESSID'] : $accessid);
$secret_key = (empty($secret) ? $_SESSION['SEOMOZ_API_SECRETKEY'] : $secret);
$expires = time() + 300;
View stat.php
<?php
/* Generate Data
-------------------------------------------------- */
generateMenu($smarty);
/* Set Smarty Caching for Domain Stat
-------------------------------------------------- */
if ($config['CACHE_STATUS'] == "ENABLED") {
$smarty->setCaching(Smarty::CACHING_LIFETIME_SAVED);
$smarty->setCacheLifetime($config['STATS_CACHING']);
View process.php
<?php
/* Defining Header Information and Starting Session
-------------------------------------------------- */
header("Cache-Control: no-cache");
header("Pragma: no-cache");
header('Content-type: application/json');
session_start();
/* Including Dependencies
-------------------------------------------------- */
@DonPramis
DonPramis / stats.class.php
Last active Oct 24, 2017
stats.class.php (all the social connections/data are not working)
View stats.class.php
<?php
class stats
{
private $curl;
private $whois;
private $pagerank;
private $dom_doc;
/* Initializing Class Dependent Resources
You can’t perform that action at this time.