Skip to content

Instantly share code, notes, and snippets.

View dejibimbolaAyo's full-sized avatar

Abimbola Ayodeji dejibimbolaAyo

View GitHub Profile
@dejibimbolaAyo
dejibimbolaAyo / buildWhenAffected.sh
Created July 4, 2022 11:59 — forked from naesheim/buildWhenAffected.sh
CircleCi - only build features that has changed
##################
### config.yml ###
##################
version: 2
jobs:
build:
docker:
- image: circleci/python:3.6
steps:
public function postForm(Request $request){
$validator = \Validator::make($request->all(), [
'name' => 'required',
'age' => 'required',
'email' => 'required|unique:forms',
'phone' => 'required|unique:forms',
'gender' => 'required',
'state.*.name' => 'required',
@dejibimbolaAyo
dejibimbolaAyo / Class1.cs a print to screen library
Last active May 26, 2016 07:05
class and take home assignments
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace printOut
{
class printer
@dejibimbolaAyo
dejibimbolaAyo / batch.txt
Created May 25, 2016 21:42
batch file echo to print, opens mp3 fic
@ECHO OFF
ECHO this file was created with a batch program> myfile.txt
ECHO THIS TEXT IS TO BE APPENDED TO MY ALREADY CREATED FILE>> myfile.txt
cd "E:\music"
start Akon_Freedom.mp3
@dejibimbolaAyo
dejibimbolaAyo / program.cs
Created May 25, 2016 21:21
tests score and grades score
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test_fail_with_grades
{
class Program
{
@dejibimbolaAyo
dejibimbolaAyo / gist:b036df8af979e19c325faa74487e9e46
Created May 23, 2016 07:40
algorithm for quadratic equation
//prompt user to enter coefficients of the quadratic equation
Enter value for a
Enter value for b
Enter value for c
square_b= b*b
neg_b= b* (-1)
two_a= 2*a
neg_four_a_c= 4*a*c*(-1)
ALGORITHM
read user input from user
feet= ReadLine();
cm=feet * 30.48