Skip to content

Instantly share code, notes, and snippets.

@afarazit
afarazit / imageuploadfield.js
Created Feb 9, 2016 — forked from primableatom/imageuploadfield.js
Image upload field component for Extjs
View imageuploadfield.js
/**
* This componet handles icon upload along with preview and drag drop.
* Usage: include it as xtype: 'imageuploadfield', including this field in a form requires us to submit it via a method submitWithImage instead of submit.
*/
Ext.define('SomeNameSpace.ImageUploadField', {
alias: 'widget.imageuploadfield',
extend: 'Ext.form.FieldContainer',
/**
View SplClassLoader.php
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@afarazit
afarazit / .vimrc
Created Jul 16, 2012 — forked from machuga/.vimrc
Vimrc file 07-13-2012
View .vimrc
set nocompatible
set number
set ruler
syntax on
" Set encoding
set encoding=utf-8
" Whitespace stuff
You can’t perform that action at this time.