Skip to content

Instantly share code, notes, and snippets.

View zeroby0's full-sized avatar
🐒
α••( ᐛ )α•—

Aravind Reddy V zeroby0

🐒
α••( ᐛ )α•—
View GitHub Profile
@zeroby0
zeroby0 / keybase.md
Created May 1, 2018 05:48
Keybase GitHub proof

Keybase proof

I hereby claim:

  • I am zeroby0 on github.
  • I am zeroby0 (https://keybase.io/zeroby0) on keybase.
  • I have a public key ASAklNYDeSS4cUYOiMY1gZ35FJviybOqOd6Gpvv4Hv_fjgo

To claim this, I am signing this object:

@zeroby0
zeroby0 / multiplication table.c
Last active February 6, 2019 14:24
Over engineered way to print multiplication tables in C. Much more over engineering can be done.
/**
*
* An over engineered way to print multiplication tables in C
* Supports command line arguments.
*
* License: Public Domain
* https://gist.github.com/zeroby0/5de2005674d234b48f41ff75181f07a3
*
* -n, --number for the number for table
* example: -n 3
@zeroby0
zeroby0 / encoding.m
Last active April 30, 2019 09:39
Comparison of channel coding techniques.
'@author: Aravind Reddy V <aravind.reddy@iiitb.org> (https://aravindvoggu.in)';
% References
%
% http://michael.dipperstein.com/hamming/index.html
% https://en.wikipedia.org/wiki/Hamming(7,4)
%% createDataSet: Creates random binary dataset
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": false,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@zeroby0
zeroby0 / nginxproxy.md
Created June 1, 2017 15:02 — forked from soheilhy/nginxproxy.md
How to proxy web apps using nginx?

Virtual Hosts on nginx (CSC309)

When hosting our web applications, we often have one public IP address (i.e., an IP address visible to the outside world) using which we want to host multiple web apps. For example, one may wants to host three different web apps respectively for example1.com, example2.com, and example1.com/images on the same machine using a single IP address.

How can we do that? Well, the good news is Internet browsers

@zeroby0
zeroby0 / Makefile
Last active February 6, 2019 14:31
Ghost blog helper makefile
# I use this to manage my Ghost blog.
# So I can manage it without manually
# logging into my server and running commands
#
# See the short codes at the end to see what
# this does
#
#
# This makefile is released into the public domain.
# Read https://gist.github.com/zeroby0/5de2005674d234b48f41ff75181f07a3
@zeroby0
zeroby0 / run.sh
Last active February 6, 2019 14:33
Enter text into terminal
#!/usr/bin/expect
# Enter passwords in terminal without human intervention. Update values
# to be your server password and local password
# or uncomment commented lines and comment out
# current lines to use with arguments
#
# License: Public Domain
# Read https://gist.github.com/zeroby0/5de2005674d234b48f41ff75181f07a3
# for full license text.
@zeroby0
zeroby0 / makefile
Last active February 6, 2019 14:34
Makefile for java
# Make file to compile java files
# Use an IDE instead.
# Released into the public domain.
# https://gist.github.com/zeroby0/5de2005674d234b48f41ff75181f07a3
#
run: all
java Test
all: Demo.class Test.class
%.class: %.java
javac -d . -classpath . $<
@zeroby0
zeroby0 / makefile
Last active February 6, 2019 14:34
Makefiles for cpp
# My makefile for compiling and running
# cpp files.
#
# License: Public domain
# https://gist.github.com/zeroby0/5de2005674d234b48f41ff75181f07a3
CC=g++
CFLAGS=-c -Wall
LDFLAGS=
EFLAGS=