Skip to content

Instantly share code, notes, and snippets.

View alabobriggs's full-sized avatar
🔻
Dust

Alabo.eth alabobriggs

🔻
Dust
  • https://github.com/parallel-app
  • X @0xavm
View GitHub Profile

Keybase proof

I hereby claim:

  • I am alabobriggs on github.
  • I am alabobriggs (https://keybase.io/alabobriggs) on keybase.
  • I have a public key ASAwWw2xIcVmNqfzXJUmW2r12P-U_abFmcw6aqZH8mrxmgo

To claim this, I am signing this object:

@alabobriggs
alabobriggs / Readme.md
Last active September 3, 2020 15:32
Setup Jekyll on Macos

Run layer5 on mac

  1. Use docs here https://jekyllrb.com/docs/installation/macos/
  2. Run bundle install
  3. bundle config build.puma --with-cflags="-Wno-error=implicit-function-declaration"
  4. gem install puma:4.3.5 -- --with-cflags="-Wno-error=implicit-function-declaration"
  5. Run bundle install
  6. Run make file

nots

@alabobriggs
alabobriggs / Readme.md
Created August 5, 2020 14:48
Add google translate to your website

How to add google translate to web page

Step 1: Add link to html head

<script
   type="text/javascript"
   src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"
/>
@alabobriggs
alabobriggs / poison.js
Created May 25, 2020 10:16
Why is the file name poison 😂😂😂
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Medium.com</title>
<link rel="stylesheet" href="bootstrap.min.css" />
<style>
body {
display: flex;
flex-direction: column;
const treasurehunt = {
input_1: 'right',
input_2: 'left',
input_3: 'forward',
input_4: 'back'
};
function game() {
let user_input = prompt('enter a direction');
@alabobriggs
alabobriggs / paystack-implementation.js
Last active May 20, 2020 17:51
Simple JS implementation for paystack
makeInvestment: async () => {
/*
add this script inside your page head tag <script async src="https://js.paystack.co/v1/inline.js" />
this will make the PasystackPop available
*/
const handler = PaystackPop.setup({
key: process.env.PAYSTACK_LIVE_API,
email: 'user@example.com',