Skip to content

Instantly share code, notes, and snippets.

View stevro's full-sized avatar

Stefan Matei stevro

  • NIMA Software
  • Iasi
View GitHub Profile
@stevro
stevro / autobanh.js
Created February 17, 2023 21:44 — forked from Maclay74/autobanh.js
autobanh
import * as when from 'when';
/** @license MIT License (c) 2011-2013 Copyright Tavendo GmbH. */
/**
* AutobahnJS - http://autobahn.ws
*
* A lightweight implementation of
*
* WAMP (The WebSocket Application Messaging Protocol) - http://wamp.ws
var requireTrans = require.context('../public/js/translations', true, /\.json$/);
requireTrans.keys().forEach(function(elem){
Translator.fromJSON(requireTrans(elem));
});
@stevro
stevro / composer.json
Created August 8, 2019 11:20
Symfony 4.4 Proxy Manager bridge bug
{
"name": "symfony/website-skeleton",
"type": "project",
"license": "MIT",
"description": "A skeleton to start a new Symfony website",
"require": {
"php": "^7.1.3",
"ext-ctype": "*",
"ext-iconv": "*",
"sensio/framework-extra-bundle": "^5.1",
@stevro
stevro / AclFilter.php
Created August 7, 2017 15:20 — forked from rejsmont/AclFilter.php
ACL filter for Doctrine QueryBuilder and Query. Supports multiple filters applied to a single query, entity inheritance and role hierarchies.
<?php
/*
* Copyright 2013 Radoslaw Kamil Ejsmont <radoslaw@ejsmont.net>
*
* Original code by mailaneel is available at
* https://gist.github.com/mailaneel/1363377
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.