Skip to content

Program examples, Code Snippets, Notebooks and so on.

Notifications You must be signed in to change notification settings

vminfant/Snippets

Repository files navigation

Playground

Notes, Code Snippets, Notebooks and so on.

C++

Program/Script Name Purpose Additional Notes
basic_int_types.cpp Example to get type of the datatype name use c++filt utility to get the full datatype name eg, a.out | c++filt -t
bool_conv.cpp Example for integer to boolean conversion
char_arith.cpp Example for char arithmetic
float_literals.cpp Example for float literals use c++filt utility to get the full datatype name eg, a.out | c++filt -t
int_liter1.cpp
int_liter2.cpp
Example for integer literals
pattern_match.cpp Program to match the string with regex pattern invoke as ./pattern_match <pattern> <string>
pointer_conv.cpp Example for pointer to boolean conversion
user_defined_literals.cpp Example for user defined literals
variable_align_scen1.cpp
variable_align_scen2.cpp
variable_align_scen3.cpp
alignment.cpp
Example for user defined literals

Python

Notebook/Script Name Purpose Additional Notes
Profiling Profiling long running programs/scripts
Missing Values Package to find & report the stats for the missing values for each feature in DataFrame
fibonacci_numbers Script to generate Fibonacci numbers
find_max Find max value based on the second element if the input datatype is list of lists or list of tuples. Can be extended to any element.
find_min Find max value based on the second element if the input datatype is list of lists or list of tuples. Can be extended to any element.
key_sorting Sort based on the second element if the input datatype is list of lists or list of tuples. Can be extended to any element.
formatters.py Example for different formatting options in python
mod_div.py Example for Mod/Div from python3

Bash

Name Purpose Additional Notes
create_alias.md Steps to create alias
custom_prompt.md Steps to modify the current prompt
locate_executables.md Different commands to find a file in linux
useful_commands.md Other useful commands

Statistics & Probability

Notebook or Program Name Purpose Additional Notes
binomial_probability_distribution Binomial Probability Distribution in Python
custom_prompt.md Steps to modify the current prompt
locate_executables.md Different commands to find a file in linux
useful_commands.md Other useful commands

Statistics & Probability: Hands-on

Notebook or Program Name Purpose Additional Notes
EDA - depression dataset Exploratory Data Analysis for Depression Dataset.
Flip Coin Experiment to find the probability of getting a head when flipping a coin
Monty Hall Experiment for the famous Monty Hall Problem Remember to stay with your decision! :)
Birthdays Experiment to Find the probability of two adults having same birth days in a group of 60 adults Relative Frequency Approach
EDA - Datascience survey dataset Exploratory Data Analysis for Datascience Survey Dataset.
EDA - Stayingfit dataset Exploratory Data Analysis for Stayingfit Dataset.

ML

Notebook or Program Name Purpose Additional Notes
K-Means Hands-on notebook for K-Means Clustering using random samples generated.
type_of_trees Roosevelt National Forest Data - Type of Trees Prediction

SQL

Name Purpose Additional Notes
basics.sql Examples for DDL/DML statemenents (sqlite3)
timestamps.sql Examples for timestamp formatting (sqlite3)

Linear Algebra

Notebook or Program Name Purpose Additional Notes
Linear Algebra-01 Linear Algebra basics with Python numpy package.
Linear Algebra-02 Linear Algebra basics with Python numpy package.
Linear Algebra-03 Linear Algebra basics with Python numpy package.
Linear Algebra-04 Linear Algebra basics with Python numpy package.

About

Program examples, Code Snippets, Notebooks and so on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages