Skip to content

Instantly share code, notes, and snippets.

View dsazup's full-sized avatar

Dainius Pužas dsazup

View GitHub Profile
@dsazup
dsazup / trix.blade.php
Created October 24, 2020 21:58 — forked from tanthammar/trix.blade.php
Livewire trix input
@push('body-styles')
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/trix/1.2.0/trix.css">
@endpush
<form x-data="form()">
<input x-ref="description" id="description" name="description" value='{{ $description }}' type="hidden" />
<div wire:ignore>
<trix-editor input="description"></trix-editor>
</div>
@dsazup
dsazup / attachWebsocketServer.diff
Created November 2, 2018 10:05 — forked from cihadturhan/attachWebsocketServer.diff
dirty hack to react-native/local-cli/server/util/attachWebsocketServer.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @format
* @flow