Skip to content

Instantly share code, notes, and snippets.

View arn-ob's full-sized avatar
☠️
__worker__

Arnob arn-ob

☠️
__worker__
View GitHub Profile
@arn-ob
arn-ob / DocumentLinkList.cs
Created March 25, 2015 17:35
Priority Link LIst
@arn-ob
arn-ob / Dynamic.cs
Last active August 29, 2015 14:19
By Using DynamicObject is to send a binder(Data) And get the data output . And also get the time date
#region Dynamic Object
class dynamicClass : DynamicObject
{
Dictionary<string, object> _dynamicData = new Dictionary<string, object>();
public override bool TryGetMember(GetMemberBinder binder, out object result)
{
bool success = false;
result = null;
@arn-ob
arn-ob / LinkedList.c
Created August 1, 2015 21:04
Inserting a value into a Sorted Linked List
//
// Inserted a value into a Sorted Linked List
//
#include<stdio.h>
#define ArryNumber 20
// Global Variable
int INFO[ArryNumber]; //INFO[20];
@arn-ob
arn-ob / MainPage.xaml
Created November 28, 2015 15:04
Windows Iot Core App for Raspberry Pi 2
<Page
x:Class="_1st_App.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:_1st_App"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="White">
@arn-ob
arn-ob / ChckMD5.ps1
Last active February 22, 2016 14:39
Check MD5 in PS(PowerShell) Cmd
Get-FileHash -Path " Give your file path like 'C:\testMd5\convertHD5.txt' " - Algorithm MD5
@arn-ob
arn-ob / Enumex.java
Created March 1, 2016 18:00
Enum Example in Java
class frut {
enum frt{ Small , Medium , Large }
frt size;
}
public class tst {
public static void main(String[] args){
frut sz = new frut();
sz.size = frut.frt.Small;
@arn-ob
arn-ob / action.php
Created April 7, 2016 08:23
Use Html to store data at SQL by using PHP
<html>
<?php
$servername = "localhost";
$username = "root";
$password = "";
// Create connection
$cn = mysql_connect($servername, $username, $password);
@arn-ob
arn-ob / MultipleItemInsertCode.cs
Last active July 18, 2016 19:13
Multiple item insert by using ListView at C# (Win Form Code)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
@arn-ob
arn-ob / GetImageFromALocation.cs
Last active August 19, 2016 07:19
C# : Get image from a location and show it to a picture box . And also store it to the database (Win form)
// Get image and show it to the picture Box.......................................
OpenFileDialog fop = new OpenFileDialog();
fop.InitialDirectory = @"C:\";
fop.Filter = "[JPG,JPEG]|*.jpg";
if (fop.ShowDialog() == DialogResult.OK)
{
FileStream FS = new FileStream(@fop.FileName, FileMode.Open, FileAccess.Read);
byte[] img = new byte[FS.Length];