#Tmux Cheat Sheet
Dotfiles: richardkall/dotfiles
##Basic
Command | Description |
---|---|
<C-a> |
Prefix |
`` : |
Command mode |
/** @jsx React.DOM */ | |
var SVGComponent = React.createClass({ | |
render: function() { | |
return this.transferPropsTo( | |
<svg>{this.props.children}</svg> | |
); | |
} | |
}); |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
class ConfirmChild extends React.Component { | |
constructor() { | |
super(); | |
this.state = { | |
isOpen: false | |
}; | |
this.closeModal = this.closeModal.bind(this); |
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |
#Tmux Cheat Sheet
Dotfiles: richardkall/dotfiles
##Basic
Command | Description |
---|---|
<C-a> |
Prefix |
`` : |
Command mode |
############################################################################### | |
# EMPEZANDO ################################################################### | |
############################################################################### | |
# Configurar email y nombre | |
git config --global user.name "John Doe" | |
git config --global user.email "[email protected]" | |
# Crear un nuevo repositorio | |
git init |
var externalObj = {key: 'value'}; | |
var items = { | |
obj: { | |
'string prop': 'string val', | |
5: 10, | |
nested: [[3, [5, 2]]], | |
'function': function(){return true;}, | |
reference: externalObj | |
}, |
#How config bower
##Make .bowerrc file
{
"directory" : "path/to/components"
}
##Iniciamos Bower y configuramos el proyecto.
#con { | |
resize:both; | |
overflow:hidden; | |
display:inline-block; | |
width:20em; | |
height:20em; | |
padding:0.5em; | |
} |
Queries para la filtración de los diferentes pisos de vegetación.
"VEG_POT" = "9901" OR "VEG_POT" = "9902" OR "VEG_POT" = "9909" OR "VEG_POT" = "9910" OR "VEG_POT" = "9917" OR "VEG_POT" = "9922" OR "VEG_POT" = "9923" OR "VEG_POT" = "9924" OR "VEG_POT" = "9925" OR "VEG_POT" = "9935"
ogr2ogr -f GeoJSON -t_srs crs:84 name.geojson name.shp | |
# -f format_name: GeoJSON (ESRI Shapefile, GML, MapInfo file...) | |
# -t_srs: Reproject/transform to this SRS on output (crs:84 is WGS84) |