Skip to content

Instantly share code, notes, and snippets.

@chaitanyav
chaitanyav / springer-free-maths-books.md
Created December 29, 2015 00:24 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of maths books available for free, here are the direct links
@chaitanyav
chaitanyav / set.txt
Last active August 29, 2015 13:57
output of set
'!'=0
'#'=0
'$'=532
'*'=()
-=569JNRTXZghilms
0=-zsh
'?'=0
@=()
ADOTDIR=/Users/nagachaitanyavellanki/.antigen
ANTIGEN_DEFAULT_REPO_URL=https://github.com/robbyrussell/oh-my-zsh.git
@chaitanyav
chaitanyav / gist:9559438
Created March 14, 2014 23:48
Rubinius 2.2.6 build (output of rake command)
GEN vm/gen/config_variables.h
daedalus: Nothing to do for vm/vm
GEN runtime/signature
RBC kernel/bootstrap/basic_object.rb
*** missing file_to_ast "kernel/bootstrap/basic_object.rb", 1
RBC kernel/bootstrap/alias.rb
*** missing file_to_ast "kernel/bootstrap/alias.rb", 1
RBC kernel/bootstrap/array.rb
*** missing file_to_ast "kernel/bootstrap/array.rb", 1
RBC kernel/bootstrap/atomic.rb
/*
* Author: NagaChaitanya Vellanki
*
*
*
*(***********in progress **********************)
* prints the files open by processes or the process ids if file path is
* given
* sample output
/*
* Author: NagaChaitanya Vellanki
*
*
* print process id, name, parent process id and command
*/
#define _GNU_SOURCE
#include <assert.h>
/*
* Author: NagaChaitanya Vellanki
*
* Hash table example
*/
#include <errno.h>
#include <search.h>
#include <stdio.h>
/*
* Author: NagaChaitanya Vellanki
*
*
*
* sysname -> /proc/sys/kernel/ostype
* version -> /proc/sys/kernel/version
* release -> /proc/sys/kernel/release
*
/*
* Author: NagaChaitanya Vellanki
*
* Sample output
---------------------------------------------------
* Environment variables affecting current process(9552)
----------------------------------------------
ADOTDIR=/home/naruto/.antigen
ANTIGEN_DEFAULT_REPO_URL=https://github.com/robbyrussell/oh-my-zsh.git
/*
* Author: NagaChaitanya Vellanki
*
* temporary files
*
*/
#include <stdio.h>
#include <stdlib.h>