Skip to content

Instantly share code, notes, and snippets.

View Rubatharisan's full-sized avatar

Rubatharisan Thirumathyam Rubatharisan

View GitHub Profile
$wshell = New-Object -ComObject wscript.shell;
$wshell.AppActivate('Google - Microsoft Edge')
Sleep 2
$wshell.SendKeys('(%(" "))')
Sleep 2
$wshell.SendKeys('(x)')
# ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: localhost (MySQL 5.6.35)
# Database: thusi
# Generation Time: 2017-11-19 13:24:13 +0000
# ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: localhost (MySQL 5.6.35)
# Database: thusi
# Generation Time: 2017-11-19 11:42:56 +0000
# ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: localhost (MySQL 5.6.35)
# Database: thusi
# Generation Time: 2017-11-18 22:28:10 +0000
package nLogN;
import java.util.Arrays;
public class Seven53_heapsort {
static int array[] = { 6, 2, 22, 77, 12, 8, 22, 123, 12, 12 };
static int left;
static int right;
static int highest;
/**
*
* @author Rubas
*/
public class CircularQueue {
private int[] queue;
private int head;
@Rubatharisan
Rubatharisan / WooCommerce can't see orders in menu
Created April 3, 2016 20:13
WooCommerce can't see orders in menu? Add following capabilities
manage_woocommerce
view_woocommerce_reports
edit_shop_orders
#!/bin/bash
# info: add system user
# options: USER PASSWORD EMAIL [PACKAGE] [FNAME] [LNAME]
#
# The function creates new user account.
#----------------------------------------------------------#
# Variable&Function #
#----------------------------------------------------------#
<?php
// Init
error_reporting(NULL);
ob_start();
session_start();
$TAB = 'USER';
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
// Check user
<?php
$back = $_SESSION['back'];
if (empty($back)) {
$back = "location.href='/list/user/'";
} else {
$back = "location.href='".$back."'";
}
?>
<table class="submenu">
<tr>