Skip to content

Instantly share code, notes, and snippets.

Bolorunduro Winner-Timothy B bolorundurowb

Block or report user

Report or block bolorundurowb

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
bolorundurowb / server.js
Created Jun 23, 2019
A sample Express server using the NodeJS cluster module
View server.js
const bodyParser = require('body-parser');
const cors = require('cors');
const express = require('express');
const morgan = require('morgan');
const path = require('path');
const cluster = require('cluster');
const os = require('os');
const routes = require('./routes/Routes');
bolorundurowb / GetList.cs
Last active Feb 7, 2018
A set of algorithms implemented in C#
View GetList.cs
private static List<string> GetList()
List<string> colors = new List<string>
bolorundurowb / circle.yml
Last active Apr 23, 2019
A .NET/Dot Net Core 2.0 Circle CI configuration file (Uses CicleCI 1.0)
View circle.yml
- curl | gpg --dearmor > microsoft.gpg
- sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
- sudo sh -c 'echo "deb [arch=amd64] trusty main" > /etc/apt/sources.list.d/dotnetdev.list'
- sudo apt-get update
- sudo apt-get install dotnet-sdk-2.0.2
- dotnet restore
bolorundurowb / .travis.yml
Created Apr 6, 2017
A travis configuration for .NET Core 1.1 projects
View .travis.yml
language: csharp
dist: xenial
sudo: required
mono: none
- chmod +x ./
- ./ --quiet verify
bolorundurowb / circle.yml
Last active Feb 7, 2019
A sample Circle CI config for a C# (csharp) .NET/Mono application
View circle.yml
# Build configuration for Circle CI
- sudo apt-key adv --keyserver hkp:// --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
- echo "deb wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
- sudo apt-get update
- sudo apt-get install mono-complete
bolorundurowb / vCardLib.dll.nuspec
Last active Aug 10, 2017
The nuspec definition file for vCardLib
View vCardLib.dll.nuspec
<?xml version="1.0"?>
<package >
<summary>A library to read and write vcf files</summary>
<authors>Bolorunduro Winner-Timothy Bamidele</authors>
bolorundurowb / Calc.cs
Created Nov 26, 2016
This snippet takes an arithmetic expression as a string and attempts to evaluate it
View Calc.cs
using System;
using System.Linq;
public class Calc
/// <summary>
/// Takes a mathematical expression and tries to evaluate it
/// </summary>
/// <param name="expression">The mathematical expression</param>
/// <returns>The result of evaluating the string</returns>
bolorundurowb / SeedData.cs
Created Sep 25, 2016
A C# code snippet to determine if a database file exists, if it doesn't create it and add data to it.
View SeedData.cs
using System;
using System.IO;
using System.SQLite;
package Gist
public class SeedData
string readonly dbPath = "database.db";
string readonly dbConnectionString = "Data Source=" + dbPath;
bolorundurowb /
Created Sep 11, 2016
Graduated Tax Calculator
def calculate_tax (name_salary):
name_tax = {}
for key, value in name_salary.items():
name_tax[key] = 0
if value > 1000 :
if value > 10000 :
name_tax[key] = 900;
if value > 20200 :
name_tax[key] = 2430
if value > 30750 :
You can’t perform that action at this time.