This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Pavan Kumar Sunkara | |
email = [email protected] | |
username = pksunkara | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta | |
[sendemail] | |
smtpencryption = tls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Mongocxx depends on Mongoc. We first install that dependency | |
# 1. Install libmongoc with a Package Manager | |
sudo apt-get install libmongoc-1.0-0 | |
# 2. Install libbson with a Package Manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################### | |
# INSTALL OPENCV ON UBUNTU OR DEBIAN # | |
###################################### | |
# -------------------------------------------------------------------- | | |
# SCRIPT OPTIONS | | |
# ---------------------------------------------------------------------| | |
OPENCV_VERSION='4.4.0' # Version to be installed | |
OPENCV_CONTRIB='NO' # Install OpenCV's extra modules (YES/NO) | |
# -------------------------------------------------------------------- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file : Answer.hpp | |
* @author: blongho | |
* @since : 2018-11-25 | |
* @brief : A class to hold an Answer for use in a multiple choice Question | |
**/ | |
#ifndef ANSWER_H | |
#define ANSWER_H | |
#include <iostream> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def squares_in_range1(): | |
""" | |
Assumptions: | |
1. multiplication() function works well | |
2. in_range() function works well | |
Takes values and checks if the square of the number is in range (i.e btn 50 and 100) | |
Computes square using multiplication(num, num) | |
If in range, it gets the string, "Inside", otherwise "Outside" | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
summer_word = "resort" | |
found = False | |
for character in summer_word: | |
if character == "s": | |
found = True | |
break | |
ANSWER = found |