Skip to content

Instantly share code, notes, and snippets.

View thejer's full-sized avatar
🚀
To the stars

Jerry Adeleye thejer

🚀
To the stars
View GitHub Profile
@thejer
thejer / Solve.java
Last active December 4, 2020 16:00
import java.util.ArrayList;
import java.util.Random;
public class Solve {
private static ArrayList<ArrayList<Integer>> solution(int n) {
int zeroCount = 1;
ArrayList<ArrayList<Integer>> mainList = new ArrayList<>();
ArrayList<Integer> tempList = new ArrayList<>();
tempList.add(0);
@thejer
thejer / cleaner.py
Last active July 26, 2020 17:48
Python script used to clean and label the Cohn Kanade Image Dataset
import os
from glob import glob
from shutil import copy
def cleaner(counter):
for root, dirs, files in os.walk('/path/to/Emotion_labels'):
if files:
with open("{}/{}".format(root, files[0])) as f:
emotion_score = float(f.readline().strip())
file_list = glob(
@thejer
thejer / index.html
Last active March 28, 2020 15:01
rNVormE
<template>
<div class="container home text-center">
<img alt="Project!" class="home__logo" src="../assets/img/brand/logo.svg">
<img :src="getAgent.avatar_url ? getAgent.avatar_url: imagePlaceholder" class="agent-avatar"/>
<h4>Welcome to Ginger!</h4>
<p>You were referred by {{getAgent.full_name}}</p>
<div class="card">
{{getAgent.message}}
</div>
<router-link :to="{