Skip to content

Instantly share code, notes, and snippets.

View hkakutalua's full-sized avatar
🎯
Focusing

Henrick hkakutalua

🎯
Focusing
View GitHub Profile
@hkakutalua
hkakutalua / PeopleRepository.java
Last active May 28, 2020 23:27
People Repository
package com.example.partialupdates.repositories;
import com.example.partialupdates.domain.Person;
import org.springframework.stereotype.Repository;
import java.time.OffsetDateTime;
import java.util.*;
import java.util.function.UnaryOperator;
@Repository
@hkakutalua
hkakutalua / Person.java
Created May 28, 2020 22:28
Person class
package com.example.partialupdates.domain;
import java.time.OffsetDateTime;
import java.util.Objects;
import java.util.Optional;
public class Person {
private final long id;
private String firstName;
private String lastName;
{
"id": 1,
"first_name": "Henrick",
"last_name": "Kakutalua",
"birthday": "2020-09-23T00:00:00+00:01",
"bio": "Lorem ipsum dolor amet consectur",
"image_url": "https://image/profile_photo.jpg"
}
FooBar > Privacy Policy
NextBSS built the FooBar app as a Free app. This SERVICE is provided by NextBSS at no cost and is intended for use as is.
This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.
If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at FooBar unless otherwise defined in this Privacy Policy.
Information Collection and Use
@hkakutalua
hkakutalua / flutter_social_share.md
Created November 29, 2019 09:50
Flutter Social Share API
var flutterSocialShare = FlutterSocialShare();
await flutterSocialShare.shareLinkToFacebook("https://foo.bar.co.ao", { shareHashTag: "#fooBarExperience" });
await flutterSocialShare.composeTweet("FooBar is such an amazing experience.\n#fooBarExperience", { url: "https://nextbss.co.ao"});

Taksapp API Documentation

Sign-up

Sign-Up Request To Receive OTP

POST /api/v1/users/start-phone-sign-up

{
  "firstName": "Henrick",
final flutterPushNotification = FlutterPushNotification();
flutterPushNotification.setup(
onResume(Notification notification, Map<String, dynamic> data) async {
if (notification != null) {
print(notification.title);
print(notification.body);
}
message.forEach((key, value) {
print("Key: '$key' Value: '$value'");
@hkakutalua
hkakutalua / taksappclienttry.kt
Last active November 12, 2019 22:33
Taksapp Kotlin Client Library Design Try
val taksapp = Taksapp.Builder()
.onSessionExpired(sessionExpiryCallback)
.tokensStore(tokensStore)
.environment(Environment.PRODUCTION)
.build();
val signUpRequest = taksapp.users.signUpBuilder()
.firstName("Henrick")
.lastName("Kakutalua")
.phoneNumber("+244925571908")
@hkakutalua
hkakutalua / .bash_profile
Created September 22, 2018 05:02
Path configuration for flutter
export PATH=~/development/flutter/bin:$PATH
@hkakutalua
hkakutalua / Passenger.cs
Created April 11, 2018 15:28
Passenger entity
public class Passenger : Entity<Passenger, Guid>
{
public string FirstName { get; protected set; }
public string LastName { get; protected set; }
public string EmailAddress { get; protected set; }
public bool EmailConfirmed { get; set; }
public PhoneNumber PhoneNumber { get; protected set; } = PhoneNumber.NoPhoneNumber;
public string SmartphoneId { get; protected set; }
public string ProfilePhotoUri { get; protected set; }
}