profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/adevade/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Andréas Lundgren adevade @035media Laholm, Sweden

adevade/color-scheme-generator 52

When you just need some UI colors, fast.

adevade/seconds 20

Helpers for converting time to seconds.

calebporzio/click 18

The podcast recording and editing suite of your dreams. Featuring just the one button.

adevade/laravel-etched-blade 0

A package that uses blade templates to control how markdown is converted to HTML inside Laravel, as well as providing support for markdown files to Laravel views.

startedlipis/flag-icon-css

started time in 2 days

delete branch adevade/framework

delete branch : add-events-to-maintenance-mode-commands

delete time in 3 days

Pull request review commentlaravel/framework

[8.x] Dispatch events when maintenance mode is enabled and disabled

+<?php++namespace Illuminate\Foundation\Events;++class MaintenanceModeDisabled+{+    /**+     * Create a new event instance.+     *+     * @return void+     */+    public function __construct()

Found the CacheMissed event, which is also empty. I'm pushing a commit without the empty constructors, and with the empty comment.

adevade

comment created time in 3 days

PullRequestReviewEvent

push eventadevade/framework

Andréas Lundgren

commit sha 4cc7c3df0ee42b60798d0025a3df57ed22a453b2

Remove empty constructors from event classes

view details

push time in 3 days

Pull request review commentlaravel/framework

[8.x] Dispatch events when maintenance mode is enabled and disabled

+<?php++namespace Illuminate\Foundation\Events;++class MaintenanceModeDisabled+{+    /**+     * Create a new event instance.+     *+     * @return void+     */+    public function __construct()

Sorry, didn't know convention.

Should it just be an empty class? With the // comment or without?

adevade

comment created time in 3 days

PullRequestReviewEvent

PR opened laravel/framework

[8.x] Dispatch events when maintenance mode is enabled and disabled

This feature makes it easy to trigger actions when the application is put into, or taken out of, maintenance mode.

I found myself wanting this today when setting up monitoring with OhDear. They have endpoints for /start-maintenance and /end-maintenance and will not send notifications about the site being down during this period.

If this PR is merged, I could listen for the events in my application and automatically ping my monitoring service when going in or out of maintenance mode. Or log it, or any action that users see fit.


I tried to follow conventions, but if anything is in the wrong place, or should have better names; just comment and I'll fix it, or feel free to refactor and push changes.

Thanks!

+66 -0

0 comment

5 changed files

pr created time in 3 days

create barnchadevade/framework

branch : add-events-to-maintenance-mode-commands

created branch time in 3 days

startedalexeymezenin/laravel-best-practices

started time in 15 days

push eventadevade/seconds

Andréas Lundgren

commit sha 8a9a398c18d01c175361d87d7a403ff28fd4682c

Remove direct link to tweet in README It has been removed by the author.

view details

Andréas Lundgren

commit sha 0c7ae9666f7e2b2dd690db9c6c4bf3f2238d90b9

Remove npm dev deps

view details

Andréas Lundgren

commit sha 28ece3db01ec72cbd3753f97c2988bce1d93bf40

Update phpunit.xml.dist

view details

push time in a month

issue openedspatie/spatie.be

Laravel & PHP Guidelines styling is broken

The menu items break out of the sidebar, and nothing happens when you click the links.

Page: https://spatie.be/guidelines/laravel-php

Screenshot: image

created time in a month

startedryangjchandler/laravel-expose

started time in a month

startedsoheilpro/mailwind

started time in a month

startedszepeviktor/small-project

started time in a month

startedshikijs/shiki

started time in 2 months

startedjupeter/clean-code-php

started time in 2 months

startedjaywcjlove/hotkeys

started time in 2 months

startedsteveruizok/perfect-freehand

started time in 3 months

PR opened olliecodes/laravel-etched-blade

Remove `resources` from .gitattributes

With /resources/ not being downloaded when requiring through Composer, the package won't work because there are no theme files included.

This maybe closes #9.

+1 -2

0 comment

1 changed file

pr created time in 3 months

push eventadevade/laravel-etched-blade

Andréas Lundgren

commit sha 5c141c10e6cbd2f5beb1e90130c942d924c3581a

Remove `resources` from .gitattributes

view details

push time in 3 months

fork adevade/laravel-etched-blade

A package that uses blade templates to control how markdown is converted to HTML inside Laravel, as well as providing support for markdown files to Laravel views.

fork in 3 months

issue openedolliecodes/laravel-etched-blade

Package not working before publishing config and views

Interesting package! Trying it out on a smaller project. Found some bugs:

After I required the package and added a @etched block in a view, I got the following error: InvalidArgumentException: No theme found for 'simple'.

Tried publishing the config file by copying the command from the readme: php artisan vendor:publish --provider="\OllieCodes\Etched\EtchedServiceProvider" --tag=config and got the following error: Unable to locate publishable resources. It worked when I removed the leading slash in the namespace.

Then I reloaded the page and got another error: InvalidArgumentException: View [themes.simple.blocks.code-indented] not found.

I couldn't publish the views with or without the leading slash in the namespace.

I think they are not included in the downloaded package because of /resources/ export-ignore in .gitattributes.


I'll see if I can submit a PR later. Thanks for you work!

created time in 3 months

startedolliecodes/laravel-etched-blade

started time in 3 months

issue openedmicrosoft/PowerToys

[Color Picker] Freeze screen when picker is activated

Description of the new feature / enhancement

It would be nice to freeze the screen (like a screenshot) when I open the color picker, to be able to get the color values from ex. buttons before the hover state kicks in.

Scenario when this would be used?

If an element has a hover state, it would be easier to get the color of the element before the hover state.

Supporting information

https://user-images.githubusercontent.com/1066486/123767895-232ad300-d8c8-11eb-9e8e-02154054d49f.mp4

I want to get the background color of a list item when it is not hovered.


https://user-images.githubusercontent.com/1066486/123768714-dbf11200-d8c8-11eb-9ac8-e03b6514f816.mp4

I want to get the dark green color before the button is hovered.

created time in 3 months