Demonstrates how to load SVG's as Leaflet icons via the data URI method.
Following was helpful to figure this out:
Demonstrates how to load SVG's as Leaflet icons via the data URI method.
Following was helpful to figure this out:
| config.assets.precompile += [ | |
| # precompile any CSS or JS file that doesn't start with _ | |
| /(^inline[^_\/]|\/[^_])[^\/]*.(js|css)$/, | |
| ... |
| require 'rails_helper' | |
| RSpec.describe TodosController, :type => :controller do | |
| describe "GET #index" do | |
| #describe "POST #create" do | |
| #describe "GET #show" do | |
| #describe "PATCH #update" do (or PUT #update) | |
| #describe "DELETE #destroy" do | |
| #describe "GET #new" do |
| class @GoogleAnalytics | |
| @load: -> | |
| # Google Analytics depends on a global _gaq array. window is the global scope. | |
| window._gaq = [] | |
| window._gaq.push ["_setAccount", GoogleAnalytics.analyticsId()] | |
| # Create a script element and insert it in the DOM | |
| ga = document.createElement("script") | |
| ga.type = "text/javascript" |
http://brainwreckedtech.wordpress.com/2012/01/08/howto-convert-vdis-between-fixed-sized-and-dynamic-in-virtualbox/ http://www.webdesignblog.asia/software/linux-software/resize-virtualbox-disk-image-manipulate-vdi/#comment-474
While there is no way to actually switch a VDI between fixed-size and dynamic, you can clone the existing VDI into a new one with different settings with VBoxManage.
VBoxManage clonehd [old-VDI] [new-VDI] --variant Standard
VBoxManage clonehd [old-VDI] [new-VDI] --variant Fixed
If you want to expand the capacity of a VDI, you can do so with
Note: This was written using elasticsearch 0.9.
Elasticsearch will automatically create an index (with basic settings and mappings) for you if you post a first document:
$ curl -X POST 'http://localhost:9200/thegame/weapons/1' -d \
'{
"_id": 1,| .word-break { | |
| -ms-word-break: break-all; | |
| word-break: break-word; | |
| word-wrap: break-word; | |
| -webkit-hyphens: auto; | |
| -moz-hyphens: auto; | |
| hyphens: auto; | |
| } |
We have moved: https://github.com/magnetikonline/linuxmicrosoftievirtualmachines
Due to the popularity of this Gist, and the work in keeping it updated via a Gist, all future updates will take place at the above location. Thanks!
| /** | |
| * Author: Richard Willis - badsyntax.co | |
| * Example here: http://demos.badsyntax.co/places-search-bootstrap/example.html | |
| * | |
| * Please note: This is not a reliable method of geocoding the address. Using the | |
| * PlacesService is a much better approach. View the example above for an example | |
| * of using the PlacesService to geocode the address. | |
| */ | |
| var service = new google.maps.places.AutocompleteService(); |
| @charset "UTF-8"; | |
| /* Foundation 3, artfully masterminded by ZURB Addition offcanvas.css - Specific CSS for off-canvas layouts Off canvas layout CSS/JS provided by or adapted from work by Jason Weaver and Luke Wroblewski | |
| Requires: globals.css grid.css modernizr.js (not the foundation one) | |
| Edit: translate3d fix by Jens Anders Bakke (github.com/cfenzo) | |
| */ | |
| body.off-canvas { padding: 0; margin: 0; } | |
| .container { width: 100%; } | |
| .row { overflow: hidden; } |