Skip to content

Instantly share code, notes, and snippets.

View dynamitechetan's full-sized avatar
:octocat:

Chetan Kaushik dynamitechetan

:octocat:
View GitHub Profile
@dynamitechetan
dynamitechetan / PalindromicPrime.c
Created August 8, 2016 15:48
This is for my college freinds: Program to find Palindromic Prime
int main() {
int x,y,n,z,rem,prime=0,pal=0,sum;
scanf("%d",&x);
scanf("%d",&y);
for(int i=x;i<=y;i++){
prime=0;
for(int j=2; j<i; j++){
if(i%j==0){
prime=1;
break;
@dynamitechetan
dynamitechetan / SparseNumber.c
Created August 8, 2016 16:02
This is for my freinds!.. Sparse Number Program in C
int main()
{
int x,y,z,a,b,c,d;
scanf("%d",&x);
y=0;
if (x & (x>>1))
y=1;
if(y!=1)
printf("TRUE");
#include<stdio.h>
#include<stdlib.h>
# define buffer 5
int in=0,out=-1;
int array[buffer],count=0;
void Consumer_Function()
{
               if(count==0){
                 printf("array underflow\n");
                 return; 
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class VCSOperations {
public static void main(String[] args) {
VCSOperations obj = new VCSOperations();
// write some git commands here
import requests
from optparse import OptionParser
parser = OptionParser()
parser.add_option("-u", "--username", dest="username",
help="Enter your Github Username", metavar="USER")
parser.add_option("-d", "--date",
dest="date",
help="Today's Date")
@dynamitechetan
dynamitechetan / GSoC2017_FOSSASIA_Chetan_Kaushik.md
Last active January 1, 2019 18:07
Google Summer of Code 2017 - Chetan Kaushik - Contributions - FOSSASIA

Google Summer of Code 2017 Final Submission Report

Student: Chetan Kaushik
Organisation: FOSSASIA

Aim

The main aim of this project was to create SUSI Skills Management System also known as SUSI Skill CMS. This included both frontend and backend of the CMS for SUSI Skills. Backend for this is to be achieved by updating SUSI Server and following an API centric approach for Skill CMS. CMS should support creating, editing, deleting and saving the versioning history of skills.

This file has been truncated, but you can view the full file.
{
"SessionKey": "571ac821-8315-4adf-b5ca-bfd6b3e8bba4",
"Query": {
"Country": "IN",
"Currency": "INR",
"Locale": "en-GB",
"Adults": 1,
"Children": 0,
"Infants": 0,
"OriginPlace": "10075",
{
"SessionKey": "21a822d1-6795-4444-892e-24a79f170f6d",
"Query": {
"Country": "IN",
"Currency": "INR",
"Locale": "en-GB",
"Adults": 1,
"Children": 0,
"Infants": 0,
"OriginPlace": "10075",
(defmacro mah-macro [x]
(println x))
user=> (quote ({:a 1} (println 2)))
({:a 1} (println 2))