start new:
tmux
start new with session name:
tmux new -s myname
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| tagName: '' | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| hasName: Ember.computed.notEmpty('name'), | |
| actions: { | |
| log(message) { | |
| console.log(message); | |
| } | |
| } | |
| }); |
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: `Ember's Route Hook Order`, | |
| actions: { | |
| clearLog() { | |
| Ember.$('.log-item').remove(); | |
| } | |
| } |
| server { | |
| listen 80; | |
| server_name mydomain.edu localhost; | |
| location /static { | |
| alias /www/geonode/src/GeoNodePy/geonode/static_root; | |
| } | |
| #GEOSERVER |
| mike@rbci:~$ psql -U postgres | |
| psql (9.0.3) | |
| Type "help" for help. | |
| postgres=# update pg_database set datallowconn = TRUE where datname = 'template0'; | |
| UPDATE 1 | |
| postgres=# \c template0 | |
| You are now connected to database "template0". | |
| template0=# update pg_database set datistemplate = FALSE where datname = 'template1'; | |
| UPDATE 1 |
| /* | |
| * Portions of this code and logic copied from OpenLayers and | |
| * redistributed under the original Clear BSD license terms: | |
| * | |
| * http://trac.osgeo.org/openlayers/browser/license.txt | |
| * | |
| * Copyright 2005-2010 OpenLayers Contributors, released under | |
| * the Clear BSD license. See authors.txt for a list of contributors. | |
| * All rights reserved. | |
| * |
| /* | |
| You can now create a spinner using any of the variants below: | |
| $("#el").spin(); // Produces default Spinner using the text color of #el. | |
| $("#el").spin("small"); // Produces a 'small' Spinner using the text color of #el. | |
| $("#el").spin("large", "white"); // Produces a 'large' Spinner in white (or any valid CSS color). | |
| $("#el").spin({ ... }); // Produces a Spinner using your custom settings. | |
| $("#el").spin(false); // Kills the spinner. |
| # PostGIS 2.0SVN Homebrew Formula | |
| # | |
| # from @batu @vizzuality | |
| # | |
| # To use, place this file in /usr/local/Library/Formula/, then: | |
| # | |
| # > brew install gdal --HEAD --with-postgres | |
| # > brew install --use-gcc postgis --HEAD | |
| # | |
| # If you want the original formula back just go to /usr/local and do: |