Skip to content

Instantly share code, notes, and snippets.

View sbarale's full-sized avatar
💭
#lockdownsucks

Sebastian Barale sbarale

💭
#lockdownsucks
View GitHub Profile
@sbarale
sbarale / README.md
Last active August 29, 2015 14:20
zone

README is empty

@sbarale
sbarale / README.md
Last active August 29, 2015 14:20
zone

README is empty

@sbarale
sbarale / README.md
Last active August 29, 2015 14:20
zone - README is empty

README is empty

@sbarale
sbarale / README.md
Last active August 29, 2015 14:20
zone

README is empty

README is empty

@sbarale
sbarale / worldnews_fastai_classifier.ipynb
Created January 31, 2021 17:31 — forked from ameerkat/worldnews_fastai_classifier.ipynb
fast.ai example notebook for training a classifier on reddit
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sbarale
sbarale / readme.md
Created April 7, 2021 10:46 — forked from FrikkieSnyman/readme.md
GrapesJS - attributes, classes, and scripts

GrapesJS - attributes, classes, and scripts

Attributes

In order to add custom attributes to an HTML element that is generated by GrapesJS, one can simply make use of traits. For example, if you wish to produce an HTML element which contains the tag data-noout, a trait with the name data-noout can be added to a custom component.

    var domComps = editor.DomComponents;
    var dType = domComps.getType('default');
 var dModel = dType.model;
@sbarale
sbarale / keybase.md
Created June 4, 2021 11:44
keybase.md

Keybase proof

I hereby claim:

  • I am sbarale on github.
  • I am geekmind (https://keybase.io/geekmind) on keybase.
  • I have a public key ASB4zebwfTMhuR-4izI4N4jfX2BZ6jhjTzubc_vYQUx_SAo

To claim this, I am signing this object:

@sbarale
sbarale / DispatchCustomAction.php
Created August 18, 2021 19:12 — forked from actionm/DispatchCustomAction.php
Dispatch Laravel Nova Action from anywhere
<?php
namespace App\Helpers\Nova\Action;
use DateTime;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Queue;
use Laravel\Nova\Actions\Action;
use Laravel\Nova\Actions\ActionEvent;