Skip to content

Instantly share code, notes, and snippets.

@abhinavjain241
abhinavjain241 / MergeSortedList1.c
Created October 18, 2014 09:00
Merging of Sorted Lists ( Sparse Polynomial Addition) - 1
#include <stdio.h>
main()
{
int i,j,k,m,n,p,a[20],b[20],c[30];
printf("Give size of first list:");
scanf("%d",&n);
printf("Give elements of first list:");
for(i=1;i<=n;i++)
scanf("%d",&a[i]);
@abhinavjain241
abhinavjain241 / searchscript.sh
Created September 9, 2014 19:18
Google Search Script
#Google Search Script
#!/bin/sh
if [ "$3" = "" ]
{if [ "$2" = "v" ]
then
google-chrome http://www.google.com/search?q="$1 -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mkv|mp4|avi)"
elif [ "$2" = "m" ]
then
google-chrome http://www.google.com/search?q="$1 -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp3|wma|aac|flac)"
fi}