Skip to content

Instantly share code, notes, and snippets.

View dikascode's full-sized avatar

Ututu Emmanuel dikascode

View GitHub Profile
@dikascode
dikascode / dikas_weather_info_private_policy.txt
Last active July 14, 2024 14:41
Dikas Weather Info Private Policy
**Privacy Policy**
Dikas Weather Info does not collect, store, or share any personal information or data from users.
**Information Collection and Use**
Our app does not require any personal information or data from users. We do not collect any form of data, including but not limited to, personal information, usage data, or device information.
**Third-Party Services**
@dikascode
dikascode / flutterwave_parsed_JSON.kt
Created February 25, 2021 18:35
Parsed JSON response from flutterwave payment gateway
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
if (requestCode == RaveConstants.RAVE_REQUEST_CODE && data != null) {
val message: String? = data.getStringExtra("response").toString()
Log.d("TAG", "response: $message")
/**
Check if message object is not null.
You can also test for null type but as well check for "null"
@dikascode
dikascode / Palindrome.java
Created July 29, 2020 07:27
Palindrome Task
package com.decagon.secondweektask
import java.util.*
fun main() {
println("Please enter a string")
val text: String? = readLine()
//input Validation
@dikascode
dikascode / LinkedList.java
Last active June 30, 2020 05:17
First Java Attempt. Creating a LinkedList class in Java.
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
LinkedList list = new LinkedList();
list.insert(18);
list.insert(20);
list.insert(60);