This file contains 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 valid only for Capistrano 3.1 | |
lock '3.1.0' | |
set :application, 'mydomain.com' | |
set :deploy_user, 'deploy' | |
set :deploy_to, '/var/www' | |
#setup repo details | |
set :scm, :git |
This file contains 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
# Load DSL and Setup Up Stages | |
require 'capistrano/setup' | |
# Includes default deployment tasks | |
require 'capistrano/deploy' | |
# Includes tasks from other gems included in your Gemfile | |
# | |
# For documentation on these, see for example: | |
# |
This file contains 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
en haml | |
=link_to root_url, class: 'alguna clase' do | |
=image_tag "imagen.blablaba" | |
en erb | |
<%= link_to root_url, class: 'alguna clase' do %> | |
<%= image_tag "imagen.blablaba" %> | |
<% end %> |
This file contains 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 app = angular.module("AppController", []); | |
app.controller('MapController',['Publication','$scope',function(Publication,$scope){ | |
$scope.map = { | |
center: { | |
latitude: "Address", | |
longitude: "Address" | |
}, | |
options: { | |
animation: google.maps.Animation.BOUNCE |
This file contains 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
<div class="container"> | |
<div class="row"> | |
<div class="col-md-12"> | |
<h1>Results: {{filtered.length}}</h1> | |
<table class="table table-striped"> | |
<tr> | |
<th></th> | |
<th> |
This file contains 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
[{"country":null,"name":"Buscador de trabajos part time","round":21,"formalized":null,"sup_code":null,"industry":null,"executive_account":null,"slug":"buscador-de-trabajos-part-time"},{"country":"Burundi","name":"Hackett Inc","round":0,"formalized":null,"sup_code":null,"industry":null,"executive_account":null,"slug":"hackett-inc"},{"country":"Burundi","name":"Hackett Inc","round":0,"formalized":null,"sup_code":null,"industry":null,"executive_account":null,"slug":"hackett-inc--2"},{"country":"Burundi","name":"Hackett Inc","round":0,"formalized":null,"sup_code":null,"industry":null,"executive_account":null,"slug":"hackett-inc--3"},{"country":"Burundi","name":"Hackett Inc","round":0,"formalized":null,"sup_code":null,"industry":null,"executive_account":null,"slug":"hackett-inc--4"},{"country":"Burundi","name":"Hackett Inc","round":0,"formalized":null,"sup_code":null,"industry":null,"executive_account":null,"slug":"hackett-inc--5"},{"country":"Burundi","name":"Hackett Inc","round":0,"formalized":null,"sup_code":nu |
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^blog/(.*) /home.php/#/$1 | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^blog/(.*) /home.php/#/$1 | |
RewriteRule ^(.*) /index.php/#/$1 [L] | |
</IfModule> |
This file contains 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
exports.definition = { | |
config: { | |
"URL": "http://192.168.0.15:3000/v/places", | |
// "debug": 1, | |
"adapter": { | |
"type": "restapi", | |
"collection_name": "Place", | |
"idAttribute": "id" | |
}, | |
"headers": { // your custom headers |
This file contains 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
[ | |
{ | |
id: 1, | |
name: "Botilleria Uno", | |
description: "Es una prueba 1", | |
address: null, | |
latitude: null, | |
longitude: null, | |
created_at: "2015-02-11T16:53:02.070Z", | |
updated_at: "2015-02-11T16:53:02.070Z" |
OlderNewer