Skip to content

Instantly share code, notes, and snippets.

View petericebear's full-sized avatar
🎯
Focusing on ElasticSearch and Laravel

Peter Steenbergen petericebear

🎯
Focusing on ElasticSearch and Laravel
View GitHub Profile
@csim
csim / dropzone.knockout.js
Last active August 30, 2016 14:18
Dropzone Knockout binding
ko.bindingHandlers.dropzone = {
init: function(element, valueAccessor)
{
var value = ko.unwrap(valueAccessor());
var options = {
maxFileSize: 15,
createImageThumbnails: false,
};
@maxivak
maxivak / 00. tutorial.md
Last active September 11, 2024 19:58
Importing/Indexing database (MySQL or SQL Server) in Solr using Data Import Handler
@laracasts
laracasts / Alert.vue
Created March 15, 2016 02:36
Alert .vue example.
<template>
<div class="Alert Alert--{{ type | capitalize }}">
<slot></slot>
</div>
</template>
<script>
export default {
props: {
type: {
@alexjeen
alexjeen / RawConnection.php
Created December 30, 2016 21:21
Exact Online API XML read + write
<?php
namespace app\exact;
use GuzzleHttp\Client;
class RawConnection extends \Picqer\Financials\Exact\Connection
{
/**
* Gets XML for an division.