Skip to content

Instantly share code, notes, and snippets.

View tamizhvendan's full-sized avatar
🙋‍♂️
The code is not the goal. Solving the problem is!

Tamizhvendan S tamizhvendan

🙋‍♂️
The code is not the goal. Solving the problem is!
View GitHub Profile
namespace Earth.Developers
{
class Tamizhvendan
{
public static void Main(string[] args)
{
System.Console.WriteLine("Hearty Thanks to all blog writers " +
"across the globe who inspired me to write this blog !!");
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VehicleRegNo
{
class Program
{
private static int[] GetExclusiveVehicleRegNos()
<div id="column1">
<br />
<div class="Widget">
<br />
<div class="WidgetHeader PurpleWidgetHeader">
<br />
Widget 1</div>
<br />
<div class="WidgetBody">
<br />
/* Entire Page has been divided into 3Columns. Note: iGoogle Page has 3 columns */
#column1, #column2, #column3
{
display: inline-block;
float: left;
width: 33%;
height: auto;
text-align: center;
padding-bottom: 100px;
}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<script src="http://jqueryui.com/ui/jquery.ui.core.js" type="text/javascript"></script>
<script src="http://jqueryui.com/ui/jquery.ui.widget.js" type="text/javascript"></script>
<script src="http://jqueryui.com/ui/jquery.ui.mouse.js" type="text/javascript"></script>
<script src="http://jqueryui.com/ui/jquery.ui.sortable.js" type="text/javascript"></script>
$(document).ready(function () {
$("#column1,#column2,#column3").sortable({
connectWith: "#column1,#column2,#column3",
handle: '.WidgetHeader', opacity: 0.6
});
$("#column1,#column2,#column3").disableSelection();
});
@tamizhvendan
tamizhvendan / btnClick.js
Last active August 29, 2015 14:04
DropDownList manipulation using jQuery
$("#btnIn").click(function () {
$("#countries").val('IN');
});
$("#btnEng").click(function () {
$("#countries").val('ENG');
});
$("#btnAus").click(function () {
$("#countries").val('AUS');
@tamizhvendan
tamizhvendan / changeHandler.cs
Last active August 29, 2015 14:04
Ajax Update master page from content Page
protected void btnChangeHeader_Click(object sender, EventArgs e)
{
Master.ChangeWebsiteHeader(Server.HtmlEncode(txtHeader.Text));
}
using System;
using System.Linq;
using HRD.DataAccess;
namespace HrdConsoleApp
{
class Program
{
static void Main(string[] args)
{
var hrdEntities = new HRDEntities();
@tamizhvendan
tamizhvendan / AttackHandler.cs
Last active August 29, 2015 14:04
Dynamic Polymorphism
private void btnAttack_Click(object sender, EventArgs e)
{
weapon.Attack();
}