Skip to content

Instantly share code, notes, and snippets.

View ikismail's full-sized avatar
🏠
Working from home

Mohammed Ismail ikismail

🏠
Working from home
View GitHub Profile
@ikismail
ikismail / PRIVACY_POLICY.md
Last active May 6, 2024 11:56
Adirai FM Online Radio App

Privacy Policy

This privacy policy applies to the Adirai FM Online Radio app (hereby referred to as "Application") for mobile devices that was created by Biznessforce Software Solutions Pte Ltd (hereby referred to as "Service Provider") as a Free service. This service is intended for use "AS IS".

Information Collection and Use

The Application collects information when you download and use it. This information may include information such as

  • Your device's Internet Protocol address (e.g. IP address)
  • The pages of the Application that you visit, the time and date of your visit, the time spent on those pages
@ikismail
ikismail / album.service.ts
Created June 1, 2020 06:59
Retry failed HTTP requests in Angular | Immediate retry, delayed retry and retry with backoff
/**
* 1. Immediate retry
* 2. delayed retry
* 3. retry with backoff
*/
import { Injectable } from "@angular/core";
import { HttpClient } from "@angular/common/http";
import { EMPTY, Observable, of, throwError } from "rxjs";
import {
@ikismail
ikismail / JWT_Security_checklist.md
Last active April 24, 2020 17:43
JSON Web Token (JWT) Security

Basic Check:

  • JWTs should always use the appropriate signature scheme
  • If a JWT contains sensitive data, it should be encrypted
  • JWTs require proper cryptographic key management
  • Using JWTs for sessions introduces certain risks

JWT integrity verification:

  • symmetric signatures
import {
Layout,
TopNavigation,
Button,
Modal,
Text,
} from '@ui-kitten/components';
import React from 'react';
import {SafeAreaView, StyleSheet} from 'react-native';