Skip to content

Instantly share code, notes, and snippets.

View kevinjam's full-sized avatar
🎯
Focusing

Kevin Janvier kevinjam

🎯
Focusing
View GitHub Profile
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "KEVIN JANVIER CHINABALIRE",
"label": "Software developer",
"image": "",
"email": "kevin.janvier5@gmail.com",
"phone": "",
"website": "www.kevinjanvier.com",
"summary": "An experienced software developer specializing in backend development and Android application development. Self taught and directed with experience working singly and in a wide array of team sizes. Familiarity, specialisation, and advocate in working with remote teams, as well as the time management skills necessary to work with multiple clients and projects. My main area of interest is software, from finding the right tool for the job and programming it",
@kevinjam
kevinjam / index.html
Created April 7, 2020 13:18
Music Player | Audio Player 🎵
<!-- Tracks used in this music/audio player application are free to use. I downloaded them from Soundcloud and NCS websites. I am not the owner of these tracks. -->
<div id="app-cover">
<div id="bg-artwork"></div>
<div id="bg-layer"></div>
<div id="player">
<div id="player-track">
<div id="album-name"></div>
<div id="track-name"></div>
<div id="track-time">
https://dl.bintray.com/kotlin/kotlinx.html/org/jetbrains/kotlinx/kotlinx-html-js/0.6.10/
http://bl.ocks.org/NPashaP/a74faf20b492ad377312
https://d3js.org/d3.v4.min.js
@kevinjam
kevinjam / Sublime Text 3 Build 3103 License Key - CRACK
Created July 12, 2018 14:04
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@kevinjam
kevinjam / Decrypt.java
Last active September 7, 2022 07:25
RSA Encrypt in PHP and Decrypt in Java or Kotlin
public class DecryptKey {
//before you proceed, you need to ensure your public key is PKCS8 since that is what can be read natively in java.
//If your key begins with-----BEGIN CERTIFICATE-----,
// the it is ssleay and you need to convert it using the openssl command below
//openssl pkcs8 -topk8 -inform pem -in public.key -outform pem -nocrypt -out pkcs8-public-key.pem
//TODO You can you phpsecLib lib but it doesn't support some Library
//opnssl work fine
final private static String RSA_PRIVATE_KEY =
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzTrKt2Y7HqQpt8w379Sl
How to Install Redis On Mac Using Homebrew
```
brew update
brew install redis
```
To have launchd start redis now and restart at login:
```
brew services start redis
@kevinjam
kevinjam / Keyboard Android
Last active February 20, 2018 11:59
Keyboard Utils Android , This Hide , addKeyboardVisibilityListener and show Keyboard
import android.app.Activity;
import android.content.Context;
import android.graphics.Rect;
import android.view.View;
import android.view.inputmethod.InputMethodManager;
public class KeyboardUtils {
public static void hideKeyboard(Activity activity) {
View view = activity.findViewById(android.R.id.content);
@kevinjam
kevinjam / bottom.xml
Last active February 13, 2018 10:04
bottom toolbar problem
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.amirsiddique.recyclerview.MainActivity">
<include
@kevinjam
kevinjam / ssh_without_pem
Created April 6, 2017 09:26
Access EC2 Linux box over ssh without .pem file SHELL SSH AWS AMAZON LINUX EC2 BASH You may be in the situation where you need to access your EC2 instance from any machine, not necessarily your own. It's a pain to carry around your .pem file and a bad idea to leave it on someone elses machine too. Here's a solution to let you login to your insta…
1. Login to your EC2 instance using your .pem file
ssh -i your_pem_file.pem ubuntu@ec2-________.compute-1.amazonaws.com
2. Create a new user that will access the instance using a password:
$ sudo useradd -s /bin/bash -m -d /home/USERNAME -g root USERNAME
where:
-s /bin/bash : use /bin/bash as the standard shell
-m -d /home/USERNAME : create a home directory at /home/USERNAME