Skip to content

Instantly share code, notes, and snippets.

View SanketDG's full-sized avatar
🎯
Focusing

Sanket Dasgupta SanketDG

🎯
Focusing
View GitHub Profile
@SanketDG
SanketDG / angle-between-points.js
Created April 23, 2017 08:07 — forked from conorbuck/angle-between-points.js
JavaScript: Find the angle between two points
var p1 = {
x: 20,
y: 20
};
var p2 = {
x: 40,
y: 40
};
@SanketDG
SanketDG / doc.diff
Created March 5, 2017 16:16
DocumentationStyleBear run
diff --git a/bears/c_languages/CPPLintBear.py b/bears/c_languages/CPPLintBear.py
index a944015..e9c93f4 100644
--- a/bears/c_languages/CPPLintBear.py
+++ b/bears/c_languages/CPPLintBear.py
@@ -28,9 +28,12 @@ class CPPLintBear:
cpplint_ignore: typed_list(str)=(),
cpplint_include: typed_list(str)=()):
"""
- :param max_line_length: Maximum number of characters for a line.
- :param cpplint_ignore: List of checkers to ignore.
@SanketDG
SanketDG / functions.c
Created December 20, 2015 15:04 — forked from eatonphil/functions.c
Introduction to "Fun" C (using GCC)
/**
* This are a collection of examples for C 201.
* These combine concepts you may or may not be
* familiar with and are especially useful for
* students new to C. There is a lot of really
* cool stuff you can do in C without any cool
* languages.
*
* This is file in particular is an introduction
* to fun function usage in C.

Exercises for Bash Beginner's Guide

Chapter 1

1. Where is the bash program located on your system?

A: In /bin/bash

2. Use the --version command to find out which version you are running.