Skip to content

Instantly share code, notes, and snippets.

View msuryaprakash's full-sized avatar

Murapaka SuryaPrakash msuryaprakash

View GitHub Profile
/* PROGRAM TO PRINT NUMBERS OF 1 TO N WITHOUT USING ANY LOOPS */
#include<stdio.h>
void Print_Numbers(int,int); //Declaring the Function Definition
main()
{
int NUM;
printf("\n *** Prime Numbers Program in C With Out Using any loops ***");
printf("\n Enter Number of Primes Numbers Required: ");
//C HELLO WORLD
#include <stdio.h>
main()
{
printf("HELLO WORLD");
return 0;
}
#include <stdio.h>
main()
{
char string[] = "HELLO WORLD";
printf("%s\n", string);
return 0;
}
#include<stdio.h>
main()
{
int a, b, c;
printf("Enter two numbers to add\n");
scanf("%d %d",&a,&b);
c = a + b;
printf("Sum Of Two Numbers = %d\n",c);
#include<stdio.h>
main()
{
int a = 1, b = 2;
/* Storing result of addition in variable a */
a = a + b;
printf("Addtion of two numbers= %d\n", a);
#include <stdio.h>
main()
{
int first, second, add, sub, mul;
float divi;
printf("Enter two integers\n");
scanf("%d %d", &first, &second);
add = first + second;
@msuryaprakash
msuryaprakash / laravel-ums.markdown
Created September 19, 2018 22:36 — forked from anchetaWern/laravel-ums.markdown
Building a User Management System in Laravel

There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.

I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:

  • Register Roles
  • Register Users
  • Update Users
@msuryaprakash
msuryaprakash / ner.py
Created January 28, 2019 09:38 — forked from bogsio/ner.py
NER Python
# https://nlpforhackers.io/named-entity-extraction/
import os
import string
import collections
import pickle
from collections import Iterable
from nltk.tag import ClassifierBasedTagger
from nltk.chunk import ChunkParserI, conlltags2tree, tree2conlltags
@msuryaprakash
msuryaprakash / address-to-lat-lng-coordinates.md
Created February 15, 2019 04:48
Finding the latitude and longitude by address with the Google Maps API
import numpy as np
import multiprocessing as multi
def chunks(n, page_list):
"""Splits the list into n chunks"""
return np.array_split(page_list,n)
cpus = multi.cpu_count()
workers = []
page_list = ['www.website.com/page1.html', 'www.website.com/page2.html'