Skip to content

Instantly share code, notes, and snippets.

@tattali
tattali / Use fullcalendar.js library in your Symfony project with doctrine.md
Last active March 26, 2025 12:36
Use fullcalendar.js library in your Symfony project with doctrine

Use fullcalendar.js library in your Symfony 4 project with doctrine

FullCalendar.js is a JavaScript event calendar customizable and open source. You can display a full-size event calendar that also compatible with google calendar.

Installation

Download tattali/CalendarBundle using composer

$ composer require tattali/calendar-bundle
@parsibox
parsibox / aes_128_ecb_pkcs5.php
Last active December 10, 2021 02:17
php AES128/ECB/PKCS7 padding / AES128/ECB/PKCS5
<?php
/**
* AES for PHP AES/ECB/PKCS5Padding
* @author kevin(email: askyiwang@gmail.com, qq: 841694874)
* @date 2016年10月25日22:27:21
* @charset utf-8
*/
class Security {
private $key = null;
@ajaxray
ajaxray / select2-cascade.js
Last active October 13, 2025 09:46
Making Select2 (4.x) list boxes cascading / dependent. Options of a select2 list box will be loaded/refreshed by ajax based on selection of another select2 list box.
/**
* A Javascript module to loadeding/refreshing options of a select2 list box using ajax based on selection of another select2 list box.
*
* @url : https://gist.github.com/ajaxray/187e7c9a00666a7ffff52a8a69b8bf31
* @auther : Anis Uddin Ahmad <anis.programmer@gmail.com>
*
* Live demo - https://codepen.io/ajaxray/full/oBPbQe/
* w: http://ajaxray.com | t: @ajaxray
*/
var Select2Cascade = ( function(window, $) {