Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View varunsridharan's full-sized avatar
😀

Varun Sridharan varunsridharan

😀
View GitHub Profile
@varunsridharan
varunsridharan / ShareXUploader.php
Last active April 2, 2018 08:53
ShareX Custom Uploader In 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',
<?php
define( 'PATH', __DIR__ );
define( 'MYSQL_USER', 'mysqldump' );
define( 'MYSQL_PASS', 'mysqldump' );
var_dump( $_POST );
/**
* Class WP_Installer
*
@varunsridharan
varunsridharan / backup.sh
Created October 21, 2019 11:12
Freenas Auto backup to local drive in nas itself
#!/bin/bash
DAY_DIR=$(date +%d)
MONTH_DIR=$(date +%m)
YEAR_DIR=$(date +%Y)
mkdir -p "${YEAR_DIR}/${MONTH_DIR}/${DAY_DIR}"

Development Check List

Frameworks

  • Add WPOnion
  • Add VSP-Framework

Plugin Action Links

  • Settings Emoji (⚙️)

Plugin Row Links

🏆 111,518 Contributions in year 2020
📦 Used 994 MB in GitHub's Storage
📜 8 Public Gists
🔑 0 Public Keys
💼 Opted to Hire
Solidity 2 hrs 59 mins ████████████████████▌ 97.7%
Git Config 4 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.3%
@varunsridharan
varunsridharan / I'm an early 🐤
Last active June 22, 2021 00:12
I'm an early 🐤
🌞 Morning 823 commits ███████▊░░░░░░░░░░░░░ 37.0%
🌆 Daytime 501 commits ████▋░░░░░░░░░░░░░░░░ 22.5%
🌃 Evening 0 commits ░░░░░░░░░░░░░░░░░░░░░ 0.0%
🌙 Night 903 commits ████████▌░░░░░░░░░░░░ 40.5%

Keybase proof

I hereby claim:

  • I am varunsridharan on github.
  • I am varunsridharan (https://keybase.io/varunsridharan) on keybase.
  • I have a public key ASDlQz1qEl_aQo2B9VF-1gWCJBuYk5jibSBhpoTa2SZq7wo

To claim this, I am signing this object:

@varunsridharan
varunsridharan / copyAttr.js
Last active October 8, 2020 07:56
domQ Gist
/**
* Copy A Attr Value From 1 To Another
*/
domQ( "p" ).copyAttr( "data-existingName", "data-newName");
🇮🇳India 7 minutes ago
🤒Active: 709,668
😌Recovered: 28,836,529
💀Deaths: 388,164
💉Tests: 391,019,083