This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
Ext.define('${1:AppName}.controller.${2:ViewName}', { | |
extend: 'Ext.app.Controller', | |
config: { | |
refs: { | |
elemento: '#elemento' | |
}, | |
control: { | |
elemento: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
Ext.define('${1:AppName}.view.${2:ViewName}', { | |
extend: 'Ext.Panel', | |
xtype: '', | |
config: { | |
title: '', | |
defaults: { | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#build Sencha | |
cd source | |
sencha app build package | |
#copy Sencha package to Cordova work dir | |
cd .. | |
yes | cp -r source/package/* www | |
#Prepare, build and run Cordova! | |
cordova prepare android |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Compiles stylus directory to CSS on css directory without compress | |
#It also watches any changes and then compiles it | |
stylus -w ./stylus -o ./css | |
#Compiles stylus directory to compressed CSS on css directory | |
#It also watches any changes and then compiles it | |
stylus -w ./stylus -c -o ./css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is an Pagify API example using the PHP-Client (https://github.com/pagify/php-client). | |
* Generating a PDF using a template previously created. | |
* | |
* Assuming your pagifyio.php is in the same | |
* directory as this file. | |
*/ | |
require_once 'pagifyio.php' | |