Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
int main(int argc, char const *argv[])
{
int i,testc,n,nby3,nby5,pint;
scanf("%d", &testc);
while(testc--)
@zsrinivas
zsrinivas / e_strcmp.h
Last active August 29, 2015 14:01
e_strcmp
/*
Author : eightnoteight (Srinivas Devaki)
Date : Wed May 28
Time : 9:44:31 AM
e-mail : mr.eightnoteight [at] gmail [dot] com
website : http://eightnoteight.wordpress.com
ABSTRACT : The deafult strcmp() merely returns info
about which string is lexographically
greater, but e_strcmp() returns the
difference between the words where the
@zsrinivas
zsrinivas / versionsofhelloworld.c
Created May 29, 2014 11:46
eightnoteight's first program using ncurses
/*
* Author: eightnoteight (Srinivas Devaki)
* Date : Thu May 29 5:11:57 PM
* Note : where ever you find this emoji,
for the god's sake i didn't
understand what that func would
do. if you know about it, please
exlain it to me.
*Contact: mr.eightnoteight [at] gmail [dot] com
*/
@zsrinivas
zsrinivas / towersofhanoi.c
Last active August 29, 2015 14:02
Solution for Towers of Hanoi Problem
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
int ia=-1,ib=0,ic=1;
void towersofhanoi(int *a,int *b,int *c,int height)
{
int temp;
if (height>0)
{
#include <stdio.h>
int main(int argc, char const *argv[])
{
printf("print this\n" "and this");
return 0;
}
youtube-dl -i down.txt
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char const *argv[])
{
FILE *fp;
int i=0;
char *p,string[1000],c,longcmd[1100]="ffmpeg -i """;
system("ls *.3gp > /tmp/convehjrtthevid19fjvfdo3.txt");
fp=fopen("/tmp/convehjrtthevid19fjvfdo3.txt", "r");
#!/bin/bash
ls *.3gp >> /tmp/convehjrtthevid19fjvfdo3.txt ;
while read line
do
ffmpeg -i "$line" "$line.mp3"
done < /tmp/convehjrtthevid19fjvfdo3.txt

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides