Skip to content

Instantly share code, notes, and snippets.

:bowtie:
$var->run( troubleshoot( 'issue' ) ) ? 'SUCCESS' : explode( $var->run( self ) );

Varun Sridharan varunsridharan

:bowtie:
$var->run( troubleshoot( 'issue' ) ) ? 'SUCCESS' : explode( $var->run( self ) );
Block or report user

Report or block varunsridharan

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
We couldn’t find that file to show.
View conditions.js
/**
* Interface Builder
*/
;( function( $, underscore ) {
'use strict';
var cxInterfaceBuilder = {
component: {
showClass: 'show',
View sysinfo.md

Server Information

Host : DBH - localhost, SRV - wponion.pc

PHP Version : 7.3.5

MySQL Version : 5.7.19

Server Info : Apache/2.4.39 (Win64) OpenSSL/1.1.1b PHP/7.3.5

View shortcodes.md
shortcode Function Description
blog-name bloginfo("name") Displays the "Site Title" set in Settings > General. This data is retrieved from the "blogname" record in the wp_options table.
blog-description bloginfo("description") Displays the "Tagline" set in Settings > General. This data is retrieved from the "blogdescription" record in the wp_options table.
blog-wpurl bloginfo("wpurl") Displays the "WordPress address (URL)" set in Settings > General. This data is retrieved from the "siteurl" record in the wp_options table. Consider using blog-root_url instead, especially for multi-site configurations using paths instead of subdomains (it will return the root site not the current sub-site).
blog-root_url site_url() Return the root site, not the current sub-site.
blog-url home_url() Displays the "Site address (URL)" set in Settings > General. This data is retrieved from the "home" record in the wp_options table.
blog-
View wplocal-installer-laragon.php
<?php
define( 'PATH', __DIR__ );
define( 'MYSQL_USER', 'mysqldump' );
define( 'MYSQL_PASS', 'mysqldump' );
var_dump( $_POST );
/**
* Class WP_Installer
*
View wc-demo.php
<?php
/**
* WooCommerce Container Arguments
*
* $page->show = array(// Product Type Slug //) | This will be used show only if product === that slug
* $page->hide = array(// Product Type Slug //) | This will be used hide only if product === that slug
* $page->variation = if set to true then it will show in both places or if set to only then it shows only in variation.
* $page->priority = priority for tab
*/
@varunsridharan
varunsridharan / ShareXUploader.php
Last active Apr 2, 2018
ShareX Custom Uploader In PHP
View ShareXUploader.php
<?php
date_default_timezone_set("Asia/Kolkata");
global $sharex_config ;
$sharex_config = array(
'upload_dir' => 'i',
'site_url' => 'http://varun.in/',
'salt_key' => 'some_key_here',
View wordpress-file-meta.php
$file_headers = array(
'Name' => 'Theme Name',
'ThemeURI' => 'Theme URI',
'Description' => 'Description',
'Author' => 'Author',
'AuthorURI' => 'Author URI',
'Version' => 'Version',
'Template' => 'Template',
'Status' => 'Status',
'Tags' => 'Tags',
You can’t perform that action at this time.