- Matrix traversal: Traversing matrix row wise in C is more efficient than column wise.
- Function pointers in C: Function pointer array in C language.
- Matrix as 1-D array: Demonstration of matrix as 1-D array.
- Run shell command in C: Run shell command in C program and gather the output, Eg: Find PID of a running process.
- Delete a line: Delete a line from file using line number.
- Block scope in C: Block scope of variable in C.
- Connect MySQL: Connect with mysql and execute sample query.
- Print timestamp in C: Print time stamp with milliseconds precision.
- NULL pointer in C: NULL pointer in C.
- Memset in C: Memset demo in C.
- Print long string in C: Print long string in C.
- Comma operator in C: Usage of comma operator in C.
- Print without semicolon: Print anything without using semicolon in C.
- Macro braces in macros: Importance of parenthesis in using macros.
- Hex buffers: Prints data in structure as buffer of hex numbers.
- Own strcmp: strcmp implemented.
- Strlen in C: Few tests for strlen function behaviour.
- Token pasting operator in C: Demo to use token pasting operator (##) in C.
- Hide password: Program to hide password while typing.
- Multithreading in c: Sample program to create threads in C.
- Unpack list and dictionary: How to unpack list and dictionaries when passed as function arguments.
- Send mail using SMTP: Script to send mail using SMTP from linux machine.
- Pass string values to SQL query: Pass multiple string parameters to SQL query.
- Function pointer in python: Simulate function pointer(as in C language) in python.
- Memoization using function: Program to show memoization using function decorator.
- Fibonacci number, memoization using class: Performance comparison to find nth fibonacci(using recursive approach) number with and without memoization.
- Named-tuples: Few snippets to work with named tuples in python.
- Optional mutable arguments: Optional mutable arguments retains its value in subsequent calls.
- Connect MySQL in python: Python program to connect and execute query on MySQL.
- Slots usage in python: slots usage in python, Used to save memory when large number of objects are created.
- Map, filter, reduce: Map, filter and reduce in python.
- new usage: Overwriting new method to implement singleton pattern.
- Singleton pattern, using new: Implement singleton in python by overwriting new method.
- Singleton pattern, using decorator: Implement singleton in python using decorator. This is recommended way of singleton pattern.
- Make class iterable: Make an user defined class iterable, define iter and next.
- Define a class: Define a class and instance methods.
- Data/Static class variables: Create, access and update class/static variables.
- Data hiding: Private(name mangling) data members in python
- Static and class methods: Static and class methods.
- Method overriding: Method overriding in python
- Check object's membership: Check object membership using isinstance() and issubclass().
- Access members of parents class: How to access methods and members of parent class from derived class.
- Multiple inheritance: Multiple inheritance in python.
- Lamda demo: Lambda operator in python.
- Enumerate and zip: Enumerate and zip in python.
- Generators: Usage of generators in python.
- Property: Defining and using property in python.
- Decorator: Decorator usage.
- Decorator with arguments: Decorator with arguments.
- Threading module: Example to show threading module usage.
- Thread module: Example to show thread and lock usage in python.
- Custom context manager using class: Impelement custom context manager using class.
- Custom context manager using contextlib: Implement custom context manager using contextlib module.
- String templates: String templates in python.
- Sets demo: Set declaration and operations on them.
- class object callable: call() demo, make class name and it's object callable.
- Operator overloading: Operator overloading demo, show how '+' can be overloaded to add user defined objects.
- Closures demo: Closures demo in python.
- Global variables: Declare and access global variable in python.
- Numpy basics: Basic functions, operations in python numpy.
- Pandas basics: Basic functions, operations in pythons pandas.
- Heap module: heapq module in python - In built min heap.
- Telnet module: Check if (IP, PORT) is running using telnet.
- Log rotation: Log rotation example.
- Ping pong concurrency: Print ping pong using 2 threads running in synchronization.
- Strings in C++: Basic operations with strings in C++.
- Vectors: Basic functions/operations on C++ vectors.
- HashMaps: Basic operations with C++ hash maps.
- Notes: Golang notes.
- Snippets: Some golang code snippets.
- Slice and bool: Slice and bool demo in goLang.
- Init and main execution: Show sequence of execution of init() and main().
- Flags package:
flags
package usage. - Interface type: Use interface type function argument if multiple types are expected.
- Ping pong concurrency: Print ping pong using 2 goroutines running in synchronization.
- Implement set: Implement set in golang.
- Print stack trace: Print stack trace in golang.
- Merge PDFs first page: Script to merge first page of all PDF files found in current directory and sub-directories.
- Compare database: Compares 2 sqlite3 database files.
- Check database integrity: Checks sqlite3 database integrity and copies from backup if corrupted.
- Replace strings: Replaces set of strings to corresponding new ones.
- List git taggers: List all git taggers.