Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View ananyo2012's full-sized avatar
🎯
Focusing

Ananya Maiti ananyo2012

🎯
Focusing
View GitHub Profile
@ananyo2012
ananyo2012 / Bash-Shortcuts.md
Last active September 9, 2019 12:09
Useful Vim and Bash Commands
Shortcuts Description
Ctrl + A Move to the beginning of the line
Ctrl + E Move to the end of the line
Alt + B Move to the previous word
Alt + F Move to the next word
Ctrl + B Go left (back) one character
Ctrl + F Go right (forward) one character
Ctrl + D Erase the current character
Ctrl + U Erase to the beginning of the line
@ananyo2012
ananyo2012 / gdb.md
Last active July 4, 2019 07:16
gdb introduction

gcc -g -o hello hello.c - -g flag adds debugging information to the executable

gdb ./a.out - Attach debugger to the program

(gdb) help
(gdb) help <section>
(gdb) run or r // Run Program
(gdb) run arg1 arg2 .. // Command line arguments of the program
(gdb) list or l// list specified function or filw
@ananyo2012
ananyo2012 / gcc.md
Last active July 6, 2019 08:02
gcc commands

gcc -o hello hello.c - Create executable with name hello

gcc -c hello.c - Preprocess and compile only

gcc hello.o -lm - tells the compiler(ie. gcc) to link the executable file with the given library (math.h here)

gcc -x c hello.txt - -x option asks for source language

gcc -std=89 hello.c - -std option is for specifying standard

@ananyo2012
ananyo2012 / Chapter-2-Introduction-to-Makefiles.md
Last active August 19, 2019 19:20
Notes from GNU make documentation

An Introduction to Makefiles

What a Rule looks like

target … : prerequisites …
        recipe
        …
        …
@ananyo2012
ananyo2012 / python-requests.ipynb
Last active August 4, 2018 18:43
Making HTTP requests using python requests module
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ananyo2012
ananyo2012 / http-requests.ipynb
Last active August 4, 2018 17:54
Making HTTP Requests in python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ananyo2012
ananyo2012 / client.py
Last active August 19, 2018 07:03
Simple Socket Programming
# A simple Client Program for making requests using socket
import socket
s = socket.socket()
# The socket listens to a specific port
port = 12345
# Connect to the server
magudi-master/.gitignore
magudi-master/Readme.md
magudi-master/Vagrantfile
magudi-master/pillar/
magudi-master/pillar/junction.sls
magudi-master/pillar/pycon.sls
magudi-master/pillar/pycon_mail.sls
magudi-master/pillar/pythonexpress.sls
magudi-master/pillar/pythonexpress_mail.sls
magudi-master/pillar/top.sls
@ananyo2012
ananyo2012 / install_badgeyay_rpm.sh
Last active October 4, 2017 14:31
Install dependencies for Badgeyay in Fedora/CentOS
sudo -i
dnf install librsvg2 librsvg2-tools
dnf install gcc gcc-c++ libXrandr gtk2 libXtst libart_lgpl
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libgcj-4.4.7-18.el6.x86_64.rpm
wget https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-2.02-1.el6.x86_64.rpm
rpm -ivh --nodeps libgcj-4.4.7-11.el6.x86_64.rpm
rpm -i pdftk-2.02-1.el6.x86_64.rpm
exit

PyConf Hyderabad 2017

Minutes of Meeting - 9th Sept, 2017

Venue

  • Meetup room confirmed - Room No 301, 2nd Floor, Vindhya A3 Block
  • Check with T-Hub for Workshop Venue
  • Pending : IIIT Hyderabad venue confirmation