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
| <intent-filter> | |
| <action android:name="android.intent.action.SEND" /> | |
| <category android:name="android.intent.category.DEFAULT" /> | |
| <data android:mimeType="text/plain" /> | |
| </intent-filter> |
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
| package com.sciencevikinglabs.reverseplugin; | |
| import org.apache.cordova.CordovaWebView; | |
| import org.apache.cordova.CallbackContext; | |
| import org.apache.cordova.CordovaPlugin; | |
| import org.apache.cordova.CordovaInterface; | |
| import org.json.JSONArray; | |
| import org.json.JSONException; | |
| import org.json.JSONObject; |
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
| .config(function($stateProvider, $urlRouterProvider) { | |
| $stateProvider | |
| .state('app', { | |
| url: '/app', | |
| abstract: true, | |
| templateUrl: 'templates/menu.html', | |
| controller: 'AppCtrl' | |
| }) |
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
| angular.module('starter.controllers', ['svl.popout']) | |
| .controller('MainCtrl', function($scope, $ionicPopover,svlPopoutDelegate) { | |
| $scope.toggled = false; | |
| $scope.radOffset = -Math.PI/4; | |
| $scope.radStep = Math.PI/8; | |
| $scope.showPopout = function($event){ | |
| if ($scope.toggled){ | |
| svlPopoutDelegate.hide(); |
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
| angular.module('constants',[]) | |
| .constant('ENV',{ | |
| name: 'dev', | |
| baseUrl: 'http://dev.whatever.com', | |
| magicKey: '123-456-789', | |
| someOtherThing: { | |
| id: 1, | |
| arrayOfSomeStuff: [1,2,3,4,5] | |
| } | |
| }); |
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
| files: [ | |
| '../lib/ionic/js/ionic.bundle.js', | |
| '../lib/angular-mocks/angular-mocks.js', | |
| '../js/**.js', | |
| './**.spec.js' | |
| ], |
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
| var pageWorkers = require("sdk/page-worker"); | |
| pageWorker = pageWorkers.Page({ | |
| contentURL: self.data.url("worker.html"), | |
| contentScriptFile: [self.data.url('jquery-2.1.4.min.js'),self.data.url('worker.js')], | |
| contentScriptWhen: "ready" | |
| }); | |
| pageWorker.port.on('command', function(cmd){ |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading; //Had to add this. | |
| using System.Threading.Tasks; | |
| namespace ConsoleApplication1 { | |
| class Program { | |
| static void Main(string[] args) { |
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
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Threading; | |
| using System.Drawing; | |
| using System.IO; | |
| using Newtonsoft.Json; |
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
| <!doctype html> | |
| <html ng-app="editor"> | |
| <head> | |
| <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css"/> | |
| <script src="bower_components/ace-builds/src-min-noconflict/ace.js"></script> | |
| <script src="bower_components/angular/angular.js"></script> | |
| <script src="bower_components/angular-ui-ace/ui-ace.js"></script> | |
| <script src="libs/ui-bootstrap-tpls-1.1.0.min.js"></script> |