Skip to content

Instantly share code, notes, and snippets.

View yawboafo's full-sized avatar

BIGFIRE yawboafo

  • hubtel
  • Accra Ghana
View GitHub Profile
@yawboafo
yawboafo / cedis2dollar.java
Last active December 16, 2015 00:09
This is a java Currency Exchange Rate Conversion Calculator program that computes the Currency Exchange rate from Ghanaian Cedi (GHS) to United States Dollar (USD) and likewise.Via pound to cedis and likewise You can edit this code a replace it other currencies like Euro etc. These figures are likely to change so kindly fork this project and upd…
/*CODED WITH IRON HANDS <BIGFIRE>
* Copyright (c) 4th March 2013 11:57 AM
* OPEN SOUCRED IDEA BORROWED FROM Raindolf Owusu
* Runtime .0051 sec
* Since i hate commenting my Codes(Real programmers dnt comment >"<)
* Do the maths
*/
import javax.swing.*;
public class cedis2dollar {
@yawboafo
yawboafo / AutoLayout+Extension.swift
Last active October 8, 2019 22:18
A UIView Extensions to help you constrains a view programatically and simplified
import UIKit
public extension UIView{
func setWith(_ width: CGFloat){
self.widthAnchor.constraint(equalToConstant: width).isActive = true
}
func setHeight(_ width: CGFloat){
self.heightAnchor.constraint(equalToConstant: width).isActive = true
}