Skip to content

Instantly share code, notes, and snippets.

View shemul's full-sized avatar
🏠
Working from home

Kief H. Shemul shemul

🏠
Working from home
  • TomTom, Delivery Hero
  • Amsterdam, Netherlands
View GitHub Profile
@shemul
shemul / index.php
Created April 28, 2014 13:03
Getting good with git.. and very basic level of php -mysql
<?php
/**
* Created by JetBrains PhpStorm.
* User: Shemul
* Date: 4/25/14
* Time: 3:57 PM
* Very basic steps to php and db
*/
error_reporting(0);
$con = mysql_connect('localhost','root','');
@shemul
shemul / infix_postfix_mam.cpp
Last active August 29, 2015 14:07
infix to postfix by Mam
// This program will convert an
//infix expression to postfix expression.
//Shemul Hossain
#include <iostream>
#include <stack>
#include <string>
using namespace std;
@shemul
shemul / bouble_sort.cpp
Created October 20, 2014 17:22
bouble sort
#include <iostream>
using namespace std;
int main()
{
int pass= 0 , swap = 0 ;
bool noSwap = false ;
int roll[20];
int element = 3;
@shemul
shemul / selection_sort.cpp
Created October 20, 2014 17:41
selection_sort
#include <iostream>
using namespace std;
int main()
{
int pass= 0 , swap = 0 ;
bool noSwap = false ;
int roll[20];
int element = 3;
@shemul
shemul / binarySearch.cpp
Created October 20, 2014 18:00
binary search
#include<iostream>
using namespace std;
int main()
{
int roll[10];
int element ;
cout<<"How much roll you want to input ? : " ;
cin >> element ;
@shemul
shemul / index.html
Last active August 29, 2015 14:08
graph simple api for generating vCard
<html>
<head>
<script src="jquery-latest.js"></script>
<title>My Social vCard</title>
<style>
#controler_div
{
width : 400px;
height : 200px ;
margin-top : 25px;
@shemul
shemul / cookieClicker.cpp
Created November 5, 2014 10:53
Google CodeJam - Cookie Clicker Alpha solve
// Code : Google Code Jam
// Problem : Cookie Clicker
// Code in C++
// Solved by ICONIX
#include <iostream>
using namespace std;
@shemul
shemul / acm1.cpp
Created November 8, 2014 20:11
Solving != Coding [ACM]
#include<iostream>
using namespace std ;
int main ()
{
const char *str = "BA BA BA BABANANA\
BA BA BA BABANANA\
BANANA NA AHH, POTATO NA AH AH BANANA AH AH\
TO GA LI NO PO TAH TO NI GAH NI BAH LO BAH NI KAH NO JI GAH BA BA BA BABANANA.\
YO PLANO HU LA PA NO NO TU MA BANANA LIKE A NUPI TALAMOO\
@shemul
shemul / main.cpp
Created November 18, 2014 10:48
main BST
#include "func.h"
using namespace std;
Tleaf main_root = NULL;
int main()
{
int x ;
@shemul
shemul / func.cpp
Created November 18, 2014 10:48
FUNC BST
#ifndef FUNC_H_INCLUDED
#define FUNC_H_INCLUDED
#include <iostream>
using namespace std;
typedef struct TreeLeaves
{
int fruit ;
struct TreeLeaves *leftFruit ,*rightFruit;
}*Tleaf ;