Skip to content

Instantly share code, notes, and snippets.

View KipchirchirIan's full-sized avatar
💭
Set your status

Ian Kipchirchir KipchirchirIan

💭
Set your status
View GitHub Profile
@KipchirchirIan
KipchirchirIan / CONTRIBUTING.md
Last active May 29, 2020 05:45
Contribution Guidelines to Swahilinux projects

Contribution Guidelines

We are excited that you are interested in contributing to Swahilinux. Swahilinux is beginner friendly and everyone is welcome to contribute.

All members of our community are expected to follow our Code of Conduct. Please make sure you are welcoming and friendly in all our spaces.

Get in Touch

@KipchirchirIan
KipchirchirIan / API.md
Created April 20, 2020 09:09 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@KipchirchirIan
KipchirchirIan / README-Template.md
Created August 14, 2019 06:44 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@KipchirchirIan
KipchirchirIan / Main.java
Created March 15, 2019 23:57
Java NOOP(Non-Object Oriented) Demo
public class Main {
public static void main(String[] args) {
Shapes s = new Shapes();
s.calculateCircleArea(5.0);
s.displayArea();
s.displayFormattedArea();
System.out.println(); // spacing
@KipchirchirIan
KipchirchirIan / Circle.java
Last active March 15, 2019 23:10
Basic OOP concepts using Shapes
package com.bitrev.shapesbase;
public class Circle extends Shapes { // Circle is a shape therefore inherits properties of a shape
private double radius;
public Circle(double radius)
{
super(); // calling the parent class constructor
this.radius = radius;
}

Numbers

Text

  • Reverse a String – Enter a string and the program will reverse it and print it out.
  • Pig Latin – Pig Latin is a game of alterations played on the English language game. To create the Pig Latin form of an English word the initial consonant sound is transposed to the end of the word and an ay is affixed (Ex.: "banana" would yield anana-bay). Read Wikipedia for more information on rules.
  • Count Vowels – Enter a string and the program counts the number of vowels in the text. For added complexity have it report a sum of each vowel found.
  • Check if Palindrome – Checks if the string entered by the user is a palindrome. That is that it reads the same forwards as backwards like “racecar”
  • Count Words in a String – Counts the number of individual words in a string. For added complexity read these strings in from a text file and generate a summary.
@KipchirchirIan
KipchirchirIan / ktnnewslogo.html
Last active June 11, 2016 21:18
KTN News logo in pure CSS
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="styles.css" charset="utf-8">
</head>
<body>
<div id="ktnnewslogo">
<div id="ktnsection">