some test I've made for my voz.io project
A Pen by Horacio Herrera on CodePen.
some test I've made for my voz.io project
A Pen by Horacio Herrera on CodePen.
A Pen by Horacio Herrera on CodePen.
| /*dependency on animate.css | |
| #animationSandbox = element to be animated | |
| .js--triggerAnimation = button to animate element | |
| .js--animations = input select with animations | |
| */ | |
| function testAnim(x) { | |
| $('#animationSandbox').removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){ | |
| $(this).removeClass(); | |
| }); | |
| }; |
| function uninstallApp { | |
| echo "===== Uninstalling "$PACKAGE_NAME" on target "$1 | |
| adb -s $1 shell pm clear $PACKAGE_NAME | |
| adb -s $1 uninstall $PACKAGE_NAME || { exit -3; } | |
| } | |
| function updateAndLaunchApp { | |
| echo "===== Installing "$PACKAGE_NAME" on target "$1 | |
| adb -s $1 install -r cordova/platforms/android/ant-build/$APP_NAME-debug.apk || { exit -4; } | |
| echo "===== Launching "$PACKAGE_NAME" on target "$1 |
| function getTweets() { | |
| var promise = new Parse.Promise(); | |
| var Tweets = Parse.Object.extend("Tweets"); | |
| var query = new Parse.Query(Tweets); | |
| //GET SEARCH URL HERE: https://dev.twitter.com/rest/public/search | |
| var urlLink = "SEARCH_URL_HERE"; | |
| query.descending("id_str"); | |
| //query.ascending("id_str"); | |
| query.limit(1); |
| license: mit |
| license: mit |
| license: mit |
| { | |
| "extends": [ | |
| "airbnb", | |
| "prettier", | |
| "prettier/flowtype", | |
| "prettier/react" | |
| ], | |
| } |
| // MyApp/src/app/App.js | |
| // @flow | |
| import * as React from 'react' | |
| import { Font } from 'expo' | |
| import { isSignedIn } from '../auth/utils/auth' | |
| import { createPrivateRootNavigator, createPublicRootNavigator } from './navigators' | |
| type State = { | |
| fontLoaded: boolean, |