Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Oluka Denis OlukaDenis

🎯
Focusing
Block or report user

Report or block OlukaDenis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@OlukaDenis
OlukaDenis / rmuprivatepolicy.html
Last active Apr 27, 2019
This is a privacy policy for Radio Munnabuddu USA
View rmuprivatepolicy.html
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
Crash report in android 8.1 and 9
View stack trace.java
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)
View compare-the-triplets.js
/*
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 Aug 17, 2019
Solution for HackerRank > Algorithms > Warmup > Diagonal difference
View diagonal-difference.js
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 Aug 17, 2019
A simplest method to solve Hackerrank stairCase problem.
View stair-case.js
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 Aug 17, 2019
Checking for a palindrome using Javascript
View palidnrome-checker.js
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]
View pseudo-class-1.css
selector:pseudo-class {
property:value;
}
View understanding-pseudo-classes-2.html
<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>
View pseudo-classes-3.css
.list-item:hover {
background-color: aliceblue;
}
.list a:link{
color: black;
}
.list a:active{
color: green;
View pseudo-class-4.css
.list-item:nth-child(2n-1){
background-color: slategrey;
}
You can’t perform that action at this time.