Skip to content

Instantly share code, notes, and snippets.

@casualuser
casualuser / gist:2791579
Created May 26, 2012 01:06
sources for lawyer web app
js mobile map script framework
jTag - Push the tempo!
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
<!--
For other language: Instead of `ace/mode/ruby`, Use
Markdown -> `ace/mode/markdown`
Python -> `ace/mode/python`
C/C++ -> `ace/mode/c_cpp`
Javscript -> `ace/mode/javascript`
Java -> `ace/mode/java`
Scala- -> `ace/mode/scala`
ReferenceError: Profile is not defined
at new MainCtrl (http://localhost:3000/client/app/controllers.js?d14360d8867ccdb031c444472cdaf4db6b231402:46:14)
at invoke (http://localhost:3000/packages/angularjs/angular.js?35be6af770f839570a813807489abf57785cedf9:2795:28)
at Object.instantiate (http://localhost:3000/packages/angularjs/angular.js?35be6af770f839570a813807489abf57785cedf9:2805:23)
at $get (http://localhost:3000/packages/angularjs/angular.js?35be6af770f839570a813807489abf57785cedf9:4620:24)
at update (http://localhost:3000/packages/angularjs/angular.js?35be6af770f839570a813807489abf57785cedf9:13692:26)
at $get.Scope.$broadcast.next (http://localhost:3000/packages/angularjs/angular.js?35be6af770f839570a813807489abf57785cedf9:8002:24)
at Array.forEach (native)
at forEach (http://localhost:3000/packages/angularjs/angular.js?35be6af770f839570a813807489abf57785cedf9:110:11)
at Object.$get.Scope.$broadcast (http://localhost:3000/packages/angularjs/angular.js?35be6af770f83957

Create a Meteor app and put the client_/server_ files in a client/server directories. Also, create a public dir to save the uploaded files.

Download the following ZIPs:
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links)
Download the correct GApps for your Android version:
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161892865 - gapps-L-4-21-15.zip)
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)
Google Apps for Android 4.4.4 (https://www.androidfilehost.com/?fid=23501681358544845 - gapps-kk-20140606-signed.zip)
Google Apps for Android 4.3 (https://www.androidfilehost.com/?fid=23060877490000124 - gapps-jb-20130813-signed.zip)
Google Apps for Android 4.2 (https://www.androidfilehost.com/?fid=23060877490000128 - gapps-jb-20130812-signed.zip)
<ion-view view-title="Menu">
<ion-pane ng-controller="OverviewController as vm">
<ion-content>
<div class="buttons">
<button ng-click="vm.showAddItemModal()" class="button button-icon icon ion-android-add"></button>
</div>
<ion-list>
<ion-item ng-repeat="b in vm.items track by $index" ng-click="vm.showEditItemModal(b)">
<div><img ng-src='{{ b.Image }}'/></div>
@casualuser
casualuser / delete-heroku-apps.sh
Created October 28, 2015 06:01 — forked from naaman/delete-heroku-apps.sh
Delete all heroku apps from bash terminal -- no script file required
for app in $(heroku apps); do heroku apps:destroy --app $app --confirm $app; done
@casualuser
casualuser / 1_phpunit-api.md
Created February 28, 2016 13:21 — forked from loonies/1_phpunit-api.md
PHPUnit Cheat Sheet

PHPUnit API reference

  • version 3.6

TODO

Check those constraints:

$this-&gt;anything()