Twise Random

A site about computer science .
Skip to content
  • apple
  • android
  • c
  • cpp
  • data structure and algorithms
  • macos
  • python
  • tutorials

Tag: tutorial

Android services a tutorial

Posted on February 16, 2021February 20, 2021 by mohamad wael

 

What is a service

A service is simply code which is running , and this code , does not have a GUI . The code runs , on the main thread of its application (hosted process) , unless the … Read More

android tutorial

github error remote: Invalid username or password , a solution

Posted on February 8, 2021February 8, 2021 by mohamad wael
If two factor authentication is enabled on GitHub , then when trying to commit to a git repository , you might face the following error message :
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/mohamad-wael/tmp.git/'

A possible solution

… Read More
git error, git, github, tutorial

Cordova audio recorder plugin tutorial

Posted on February 8, 2021February 17, 2021 by mohamad wael

 

Plugin concepts

The plugin cordova audio recorder , can be used to record audio , on android and iOS . This plugin , provides an api , which is accessible , using the global object cordova.plugins.audioRecorder .

The api … Read More

cordova tutorial

Cordova plugin media capture a tutorial

Posted on February 3, 2021February 4, 2021 by mohamad wael

 

Plugin Concepts

The cordova media capture plugin , can be used to capture audios , images , and videos , using a smartphone .

This plugin adds the capture object , accessible globally , when the deviceready event is … Read More

cordova tutorial

Install the Mingw and the Cygwin C/C++ compilers under windows

Posted on January 27, 2021February 23, 2021 by mohamad wael

 

Two options for compiling C and C++ , and other kinds of source code files under windows , are : the cygwin-gcc compiler , and the mingw-gcc compiler .

For source code , that uses the posix api , … Read More

windows tutorial

C++ character types : char , wchar_t , char8_t , char16_t and char32_t a tutorial !

Posted on January 24, 2021January 24, 2021 by mohamad wael

 

A character can be a letter , a number , a sign , an emoji , or anything that can be written in any form .

Characters Sets in C++

In C++ there is the source character set , … Read More

cpp tutorial

What is a form in lisp ?

Posted on January 22, 2021January 22, 2021 by mohamad wael

 

A form is anything which is to be evaluated .

Lisp is formed of two things : atoms and cons .

An atom is anything which is not a cons , a cons holds two references.

A list is … Read More

lisp tutorial

Demo cordova application reverse image search

Posted on January 21, 2021February 23, 2021 by mohamad wael

 

This application uses google reverse image search , in order to try and guess what an image represents . It simply returns the text found in the topstuff element , returned by google , when submitting an image , … Read More

cordova tutorial

What is the c++ bool type ?

Posted on January 20, 2021January 21, 2021 by mohamad wael

 

The bool type is one of the c++ fundamental data type , a fundamental data type has a cpu hardware mapping .

The bool type is used for boolean values . A boolean value is the result of a … Read More

cpp tutorial

What is an atom , a symbol , a cons , and a list in lisp ?

Posted on January 19, 2021January 21, 2021 by mohamad wael

 

A symbol is an atom , an atom is everything which is not a cons . A list is anything which is enclosed by parenthesis .

(1 2 3 )
(defun square(num ) (* num num ) )
;;;Two 
… Read More
lisp tutorial
  • «
  • 1
  • 2
  • 3
  • 4
  • »