Skip to content

Instantly share code, notes, and snippets.

View sirBobz's full-sized avatar
🏠
Working from home

Bob Mwenda sirBobz

🏠
Working from home
View GitHub Profile
@sirBobz
sirBobz / example.cs
Created May 31, 2021 21:06 — forked from brandonmwest/example.cs
Generating base64-encoded Authorization headers in a variety of languages
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue(
"Basic",
Convert.ToBase64String(
System.Text.ASCIIEncoding.ASCII.GetBytes(
string.Format("{0}:{1}", username, password))));
@sirBobz
sirBobz / laravel_setup_ubuntu_1610.md
Created December 22, 2017 14:26 — forked from abhi9bakshi/laravel_setup_ubuntu_1610.md
How to install Laravel in Ubuntu 16.10

How to install Laravel in Ubuntu 16.10

===================================

Open your terminal using Ctrl+Alt+T and type the following commands

##Step 1: Update & Upgrade

sudo apt-get update
sudo apt-get upgrade