Skip to content

Instantly share code, notes, and snippets.

View danicomas's full-sized avatar

Daniel Comas Fernández danicomas

View GitHub Profile
@davideast
davideast / index.ts
Created April 15, 2015 17:25
Simple Angular 2 Forms with Firebase
import {bootstrap, Component, Decorator, View, If, For, EventEmitter} from 'angular2/angular2';
import {FormBuilder, Validators, FormDirectives, ControlGroup} from 'angular2/forms';
@Component({
selector: 'app',
injectables: [FormBuilder]
})
@View({
template: `
<div class="container" [control-group]="myForm">
@jsdf
jsdf / ReactNativeRefreshableListView.js
Last active September 15, 2023 07:29
React Native pull down to refresh ListView
// for an updated version see https://github.com/jsdf/react-native-refreshable-listview
var React = require('react-native')
var {
ListView,
ActivityIndicatorIOS,
StyleSheet,
View,
Text,
} = React
@bueltge
bueltge / fb_allow_iframe_tinymce.php
Created January 11, 2013 15:52
Wordpress plugin for allow iframe in the visual Editor
<?php
/**
* Plugin Name: iFrame for TinyMCE
* Description: Allow iframe in the visual Editor
* Version: 0.0.1
* Author: Frank Bültge
* Author URI: http://bueltge.de/
*/
! defined( 'ABSPATH' ) and exit;