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
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
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
# 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
# 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
xrandr --output VGA-0 --mode 1600x900 --pos 1367x0 --output LVDS --mode 1366x768 --pos 0x0 |
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 map; | |
function initialize() { | |
var mapOptions = { | |
zoom: 10, | |
scaleControl: true, | |
center: new google.maps.LatLng(-33.5357766,-70.5617116), | |
mapTypeId: google.maps.MapTypeId.ROADMAP | |
}; | |
map = new google.maps.Map(document.getElementById('map-canvas'), |
NewerOlder