Skip to content

Instantly share code, notes, and snippets.

View ahmedeshaan's full-sized avatar

Ahmed Eshaan ahmedeshaan

View GitHub Profile
<?php
/*
Plugin Name: Xpert Feature
Plugin URI: http://themexpert.com/wordpress-plugins/xpert-team
Version: 1.0
Author: ThemeXpert
Authro URI : http://www.themexpert.com
Description: Supercharge your WordPress team plugin
License: GPLv2 or later
Text Domain: xf
<?php
/*
Plugin Name: Xpert Feature
Plugin URI: http://themexpert.com/wordpress-plugins/xpert-team
Version: 1.0
Author: ThemeXpert
Authro URI : http://www.themexpert.com
Description: Supercharge your WordPress team plugin
License: GPLv2 or later
Text Domain: xf
(function($) {
$( "#sortable" ).sortable({
placeholder: "portlet-placeholder ui-corner-all",
revert: true
});
$( ".draggable" ).draggable({
connectToSortable: "#sortable",
helper: "clone",
<div class="wp-social-box">
<h3>Xpert Optin Option</h3>
<form class="optin-form" method="post">
<div class="width-70">
<label for="title">On Page Load</label>
<input type="checkbox" name="block_one" value="onloadValue"></input>
</div>
<div class="width-70">
<label for="block_one_position">Select</label>
#include <stdio.h>
#include <stdlib.h>
int flag = 0,
output = 0,
loopInt = 0,
modulus = 0,
mutiplication = 0,
sum = 0;
//int square = 1;
class ObscuringReferences
attr_reader :data
def initialize(data)
@data = data
end
def diameters
data.collect { |cell|
cell[0] + (cell[1] * 2) }
end
//Recursive function
#include <stdio.h>
#include <stdlib.h>
int arg;
int newVar;
int modulus[10];
int i=0;
void recusiveMain(arg){
@var = 'Hi'
puts "#@var there!" #=> "Hi there!"
$var = 'Hi'
puts "#$var there!" #=> "Hi there!"
//Decimal To Octal Recursive function
#include <stdio.h>
#include <stdlib.h>
int arg;
int newVar;
int modulus[10];
int i=0;
void recusiveMain(arg){
//Decimal To Binary Recursive function
#include <stdio.h>
#include <stdlib.h>
int arg;
int newVar;
int modulus[10];
int i=0;
void myFunction(arg){