Skip to content

Instantly share code, notes, and snippets.

View tolu360's full-sized avatar
💭
Hacking on lotta awesomeness!

Tolu Olowu tolu360

💭
Hacking on lotta awesomeness!
View GitHub Profile
@tolu360
tolu360 / ApiRenderer.php
Created September 8, 2023 15:03 — forked from JustSteveKing/ApiRenderer.php
Handling Errors in Laravel
<?php
declare(strict_types=1);
namespace App\Exceptions\Rendering;
use Illuminate\Contracts\Support\Responsable;
use Illuminate\Http\Request;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Throwable;
@tolu360
tolu360 / glowy-hover-effect.markdown
Created August 29, 2023 19:24
glowy hover effect

glowy hover effect

Inspired by the hover effects in Linear's features page

A Pen by Ines on CodePen.

License.

@tolu360
tolu360 / css-grid-periodic-table.markdown
Created January 15, 2019 11:15
CSS Grid: Periodic Table

CSS Grid: Periodic Table

My very first CSS Grid Experiment!

So I can't actually group them together in a cluster like an actual periodic table or it wouldn't make sense or would look too forced 😔

One of my fondest memories of 2018 is when I found the resolve to deactivate Facebook, only to have my team lead tell me I'm in charge of Facebook ads a week later. No escape from Zuckerberg!

A Pen by Olivia on CodePen.

@tolu360
tolu360 / css-grid-train-ticket.markdown
Created January 15, 2019 10:20
CSS Grid: Train Ticket
@tolu360
tolu360 / animated-background-gradient.markdown
Created November 20, 2016 09:25
Animated Background Gradient
/**
* --------------------
* ReactotronSlowlog.js
* --------------------
*
* A Reactotron plugin for react-native-slowlog by Dotan J. Nahum.
*
* https://github.com/jondot/react-native-slowlog
*
* --- PRE-REQUESTS ---
Ionic and ngCordova upload example

Styling native elements

Native HTML controls are a challenge to style. You can style any element in the web platform that uses Shadow DOM with a pseudo element ::pseudo-element or the /deep/ path selector.

video::webkit-media-controls-timeline {
  background-color: lime;
}

video /deep/ input[type=range] {
<?php namespace Forge;
class PrettyName {
/**
* An array of adjectives.
*
* @var array
*/
protected static $adj = [
<?php
use Faker\Factory as Faker;
class ApiTester extends TestCase {
/**
* @var Faker
*/
protected $fake;