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
/* | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
/** | |
* Código antes da otimização | |
* Fornecido por Ricardo Miranda | |
*/ | |
/* | |
$(document).ready(function () { | |
try { | |
$('#orelha').delay(5000).animate({ |
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
# Homebrew bash completion | |
COMPLETIONS="docker gem grunt vagrant" | |
COMPLETION_DIR=$(brew --prefix)/etc | |
. $COMPLETION_DIR/bash_completion | |
for i in $COMPLETIONS; do | |
if [ -f $COMPLETION_DIR/bash_completion.d/$i ]; then | |
. $COMPLETION_DIR/bash_completion.d/$i | |
fi | |
done |
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
module.exports = function(context) { | |
// make sure android platform is part of build | |
if (context.opts.platforms.indexOf('android') < 0) { | |
return; | |
} | |
var fs = context.requireCordovaModule('fs'), | |
path = context.requireCordovaModule('path'), | |
ConfigParser = context.requireCordovaModule('cordova-lib').configparser; |
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
/** | |
* @class App.controller.Eat | |
* @extends Ext.app.Controller | |
* Controller da parte de Gastronomia | |
*/ | |
Ext.define('App.controller.Eat', { | |
extend: 'Ext.app.Controller', | |
config: { | |
// Some code here... | |
}, |
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
#!/bin/bash | |
TAG_LIST=`git tag -l | grep VERSION_` | |
BRANCH=`git rev-parse --abbrev-ref HEAD` | |
for TAG in $TAG_LIST | |
do | |
NEW_TAG=$(echo $TAG | sed s/VERSION_/v/ | sed s/_/\./g) | |
echo Renomeando tag $TAG para $NEW_TAG | |
git tag $NEW_TAG $TAG |
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
dependencies { | |
compile project(':RCTYouTube') | |
compile project(':react-native-android-location-services-dialog-box') | |
compile project(':react-native-share') | |
compile project(':react-native-fetch-blob') | |
compile project(':react-native-svg') | |
compile project(':react-native-fabric-twitterkit') | |
compile project(':react-native-facebook-login') | |
compile (project(':react-native-device-info')) { | |
exclude group: 'com.google.android.gms', module: 'play-services-gcm' |
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
import React from 'react'; | |
import { Actions, Modal, Scene } from 'react-native-router-flux'; | |
module.exports = Actions.create( | |
<Scene key={'modal'} component={Modal}> | |
<Scene | |
key={'root'} | |
leftButtonIconStyle={styles.navBarButtonIcon}> | |
<Scene key={'drawer'} component={NavigationDrawer} open={false}> | |
<Scene |
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
#!/bin/bash | |
if [ $# -ne 1 ]; then | |
echo "Usage: php_version [phpversion]" | |
exit 1 | |
fi | |
currentversion="`php -r \"echo str_replace('.', '', substr(phpversion(), 0, 3));\"`" | |
newversion="$1" |
OlderNewer