Name | Coordinates | Map |
---|---|---|
Hog's Back Falls | 45°22'16.6"N 75°41'49.2"W | link |
Hog's Back Park | 45°22'26.6"N 75°41'58.9"W | link |
Vimy Memorial Bridge | 45°16'12.1"N 75°42'17.8"W | link |
Greenbelt Pathway - Crossing | 45°19'54.1"N 75°51'17.0"W | link |
Greenbelt Pathway - Corn Field | 45°19'51.6"N 75°51'27.8"W | [link](https://www.google.ca/maps/place/45%C2%B019'51.6%22N+75%C2%B051'27.8%22W/@45.3309938,-75.8599107,17z/data=!3m1!4b1!4m2! |
RAILS | |
rails new ApplicationName – Create a new application | |
rails generate/g model ModelName – Creates a model with the specified model_name | |
rails generate/g controller ControllerName – Creates a controller with the specified controller_name | |
rails generate/g migration MigrationName – Creates a migration with the specified migration_name | |
rails generate migration AddPartNumberToProducts | |
rails generate/g scaffold ModelName ControllerName – A shortcut for creating your controller, model and view files etc | |
rails g scaffold Admin::FileShare location:string access_type:string - Prefix a namespace for a model | |
rails generate resource NAME - Stubs out a controller without any actions and no views, but does include routes and tests .. |
{ | |
products: [ | |
'{{repeat(10, 10)}}', | |
{ | |
_id: '{{objectId()}}', | |
index: '{{index()}}', | |
guid: '{{guid()}}', | |
isActive: '{{bool()}}', | |
img_preview: 'http://placehold.it/32x32', | |
img_main: 'http://placehold.it/64x64', |
<div id="restarget">Loading…</div> | |
<script id="restemplate" type="x-tmpl-mustache"> | |
<h1>{{ header.name }} | |
<h2>{{ header.title }} | |
<h3> {{ header.email }} | |
<p>{{ overview.text }} | |
</script> |
Consuming REST Services in ASP.Net
HttpWebRequest http = (HttpWebRequest)WebRequest.Create("http://example.com");
WebResponse response = http.GetResponse();
MemoryStream stream = response.GetResponseStream();
StreamReader sr = new StreamReader(stream);
string content = sr.ReadToEnd();
Visual Studio 2015: Building JavaScript Apps with AngularJs
https://youtu.be/EO9Ck9vUhmo
Angular Project Site
https://angularjs.org/
ASP.NET 5 and AngularJS Part 1, Configuring Grunt, Uglify, and AngularJS
http://stephenwalther.com/archive/2015/01/12/asp-net-5-and-angularjs-part-1-configuring-grunt-uglify-and-angularjs
React/Javascript History library to manage session history
https://github.com/rackt/history/blob/master/docs/GettingStarted.md
React Router API Reference
https://github.com/rackt/react-router/blob/1.0.x/docs/API.md#link
Passing Props to Parent Component
http://stackoverflow.com/questions/22639534/pass-props-to-parent-component-in-react-js
Gist shortlink: https://git.io/vV0xB
Official Living Doc for Postgres in C9: https://community.c9.io/t/setting-up-postgresql/1573
- http://stackoverflow.com/questions/28177912/postgres-database-setup-on-cloud9-asks-for-sudo-password
- http://stackoverflow.com/questions/11919391/postgresql-error-fatal-role-username-does-not-exist
$ sudo -u postgres -i
orsudo sudo -u postgres psql
<-- use this one in C9$ sudo -s
thensudo -u postgres psql
orsudo su - postgres
$ createuser -d -P -s starseed
Ionic Framework Getting Started http://ionicframework.com/getting-started/
Ionic Starter Templates (and other plugins) https://market.ionic.io/starters
Ionic CodePen Examples http://codepen.io/ionic/pens/public/