Skip to content

Instantly share code, notes, and snippets.

View OlukaDenis's full-sized avatar
🚀
Availbale for Hire

Oluka Denis OlukaDenis

🚀
Availbale for Hire
View GitHub Profile
@OlukaDenis
OlukaDenis / rmuprivatepolicy.html
Last active April 27, 2019 09:07
This is a privacy policy for Radio Munnabuddu USA
Privacy Policy
Radio Munnabuddu USA built the Radio Munnabuddu USA app as a Free app. This SERVICE is provided by Radio Munnabuddu USA 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 Radio Munnabuddu USA unless otherwise defined in this Privacy Policy.
Information Collection and Use
@OlukaDenis
OlukaDenis / stack trace.java
Created May 1, 2019 19:06
Crash report in android 8.1 and 9
android.app.RemoteServiceException:
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1871)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7032)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)
@OlukaDenis
OlukaDenis / compare-the-triplets.js
Last active August 16, 2019 22:05
Solution for HackerRank > Algorithms > Warmup > Compare the Triplets. Visit https://www.hackerrank.com/challenges/compare-the-triplets/problem?h_r=next-challenge&h_v=zen
/*
This is the easiest method
Hope it helps
*/
function compareTriplets(a, b) {
let aliceScore = 0
let bobScore = 0
let result = [0, 0]
for (let i = 0; i<a.length; i++){
@OlukaDenis
OlukaDenis / diagonal-difference.js
Created August 17, 2019 05:15
Solution for HackerRank > Algorithms > Warmup > Diagonal difference
function diagonalDifference(arr) {
let left_diagonal = 0
let right_diagonal = 0
let total = 0
for (let i = 0; i < arr.length; i++){
left_diagonal += arr[i][i]
right_diagonal += arr[arr.length - 1 - i][i]
@OlukaDenis
OlukaDenis / stair-case.js
Created August 17, 2019 09:49
A simplest method to solve Hackerrank stairCase problem.
function stairCase(n){
let arr = Array(n-1).fill(' ')
for (let i = n-1; i >= 0; i--) {
arr[i] = '#';
console.log(arr.join(''));
}
}
stairCase(6)
@OlukaDenis
OlukaDenis / palidnrome-checker.js
Created August 17, 2019 16:52
Checking for a palindrome using Javascript
function palindromeCheck(){
let word = prompt("Write a word:")
let collection = []
//adding letters from word to collection
for(let i = 0; i < word.length; i++ ){
collection.push(word[i]);
}
this.front = function(){
return collection[0]
selector:pseudo-class {
property:value;
}
<div class="container">
<h1>Top 5 Languages </h1>
<p>In the last year, developers collaborated in more than 370 primary languages on GitHub. The following are the the top five languages with more contributions on GitHub</p>
<div class="list">
<ul>
<li class="list-item"> <a href="#"> Javascript </a> </li>
<li class="list-item"> <a href="#"> Python </a> </li>
<li class="list-item"> <a href="#"> Java </a> </li>
<li class="list-item"> <a href="#"> PHP </a> </li>
<li class="list-item"> <a href="#"> C# </a> </li>
.list-item:hover {
background-color: aliceblue;
}
.list a:link{
color: black;
}
.list a:active{
color: green;
.list-item:nth-child(2n-1){
background-color: slategrey;
}