Skip to content

Instantly share code, notes, and snippets.

View ashutosh2411's full-sized avatar

Ashutosh Upadhye ashutosh2411

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
@ashutosh2411
ashutosh2411 / gitprint.js
Last active October 24, 2018 08:55 — forked from beevelop/gitprint.js
Print GitHub markdown files
document.querySelector('#readme').setAttribute('style', 'position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; background-color: white')
document.querySelector('body').appendChild(document.querySelector('#readme'))
window.print()
// For a zoomed in version, without the border, use the following code snippet.
(function () {
var $ = document.querySelector.bind(document);
$('#readme').setAttribute('style', 'position:absolute;top:0;left:0;right:0;bottom:0;z-index:100;background-color:white');
$('#readme>article').setAttribute('style', 'border: none');
@ashutosh2411
ashutosh2411 / Marp.desktop
Created October 23, 2018 05:02 — forked from Naereen/Marp.desktop
Marp.desktop file to add a system shortcut for Marp (https://yhatt.github.io/marp/)
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Marp
GenericName=Marp - Markdown Presentation Editor
Icon=/home/lilian/.local/Marp/marp.png
Exec=/home/lilian/.local/Marp/Marp %f
Categories=Office
Terminal=false

Preface

Preface forms a vital part of the project work. It is the introductory paragraph which describes about the literary works the author has talked about in the project. It also contains the acknowledgement of all those who helped in making of the project. Refer this webpage for tips on writing a preface.

Acknowledgement

The following acknowledgement has been taken from this page.

Black Box Testing

BLACK BOX TESTING, also known as Behavioral Testing, is a software testing method in which the internal structure/design/implementation of the item being tested is not known to the tester. These tests can be functional or non-functional, though usually functional.

This method is named so because the software program, in the eyes of the tester, is like a black box; inside which one cannot see. This method attempts to find errors in the following categories:

  • Incorrect or missing functions
  • Interface errors
  • Errors in data structures or external database access
  • Behavior or performance errors
  • Initialization and termination errors

Code:

data Tree a = EmptyTree | Node (Tree a) a (Tree a) deriving (Show, Typeable, Data)

Error:

    • Can't make a derived instance of ‘Data (Tree a)’:
        You need DeriveDataTypeable to derive an instance for this class
 • In the data declaration for ‘Tree’
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE DefaultSignatures #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE FlexibleInstances #-}