Skip to content

Instantly share code, notes, and snippets.

View niilante's full-sized avatar
🌊
I'm a builder more than a Mason

Richard Nii Lante Lawson niilante

🌊
I'm a builder more than a Mason
View GitHub Profile
<html>
<head>
<title>API Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
var accessToken = "<your agent's client access token>";
var baseUrl = "https://api.api.ai/v1/";
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class ScrapeFunko extends Command
{
/**
* The name and signature of the console command.
@niilante
niilante / animated-svg-avatar.markdown
Last active February 24, 2018 17:53
Animated SVG Avatar

Animated SVG Avatar

Created a login form with an SVG avatar that responds to the input in the email field. Used the GSAP TweenMax library + GSAP's MorphSVG plugin for the animating.

Email validation is very simple and crude just for the purposes of getting this prototype working.

A Pen by Richard Nii Lante Lawson on CodePen.

License.

<html>
<head>
<title>API Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
var accessToken = "<your agent's client access token>";
var baseUrl = "https://api.api.ai/v1/";
@niilante
niilante / Zsh
Created December 28, 2019 01:33 — forked from sarthaksavvy/Zsh
Terminal Alias
export DEFAULT_USER="$(whoami)"
# Alias for composer
alias cr=composer
alias cri="composer install"
alias crd="composer dump-autoload"
alias cru="composer update"
# Alias for artisan commands
alias pa="php artisan"
@niilante
niilante / database.rules.json
Created April 22, 2020 22:57 — forked from codediodeio/database.rules.json
Common Database Rules for Firebase
// No Security
{
"rules": {
".read": true,
".write": true
}
}
#!/bin/bash
COUNTER=1
SOURCE="source:/folder"
DESTINATION="destination:/folder"
while [ $COUNTER -lt 100 ]; do
@HigorSapo
HigorSapo / index.html
Created December 23, 2018 00:46
maintenance page
<div class="construction-message">
<h1>Site Under Maintenance</h1>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="100.001px" height="70px" viewBox="0 0 100 68">
<g id="large">
<g>
<path d="M55.777,38.473l6.221-1.133c0.017-1.791-0.123-3.573-0.41-5.324l-6.321-0.19c-0.438-2.053-1.135-4.048-2.076-5.931
l4.82-4.094c-0.868-1.552-1.874-3.028-3.005-4.417l-5.569,2.999c-1.385-1.54-2.98-2.921-4.771-4.099l2.124-5.954
c-0.759-0.452-1.543-0.878-2.357-1.269c-0.811-0.39-1.625-0.732-2.449-1.046l-3.325,5.381c-2.038-0.665-4.113-1.052-6.183-1.174
L31.34,6.002c-1.792-0.02-3.571,0.119-5.32,0.406l-0.191,6.32c-2.056,0.439-4.051,1.137-5.936,2.08l-4.097-4.82
@svey
svey / maintenance.html
Last active June 8, 2020 04:30
maintenance page
<title>Maintenance</title><link href=https://gistcdn.githack.com/svey/79925db8db68fad5c0b65cdd105c23ba/raw/e9728abed18a117bcc640411366d98f70b57bd49/maintenance.css rel=stylesheet><div> <h1>W</h1> <img height=100 src=https://gistcdn.githack.com/svey/483b903af548ddaf053642ed0e897b22/raw/160c866bf9d3fafaadbce065401850e944cb5cf4/cog.svg width=100> <h1>n</h1> <img height=100 src=https://gistcdn.githack.com/svey/2f989026419c2f81bed8c0d8ddddbafb/raw/bddab7c3fe723380c88634889393b27bf8c67c2e/cog2.svg width=100> <h1>l</h1> <img height=100 src=https://gistcdn.githack.com/svey/c7f7010ee5d2e2983536f3abaee612e4/raw/d101366ec2c6abea1c55b77b87fda5bf265484d7/cog3.svg width=100></div><div> <h2>Scheduled Maintenance— Be back soon!</h2> <p>The Wonolo Customer Portal and App are undergoing maintenance. <p>For assistance contact businesssupport@wonolo.com.</div>
@niilante
niilante / books.md
Created June 8, 2020 04:32
Direct links to Free Codeship eBooks about Continuous Integration and Delivery, Docker, efficient Software Development, distributed team workflows, and much more.