Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View agl0809's full-sized avatar
🌎
Working from home

Antonio García agl0809

🌎
Working from home
View GitHub Profile
@agl0809
agl0809 / gist:c1988560aa11787ad310c3eb45e460f5
Last active October 10, 2018 09:28
React component using class
class MyComponent extends React.Component {
constructor(props) {
super(props);
this.state = {
title: "Hello React !!!",
}
}
render() {
return (

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

@agl0809
agl0809 / 8169.xml
Created November 2, 2012 11:03
8169.xml
<?xml version="1.0" encoding="utf-8" ?>
<menu>
<boton circuito_id="8169" circuito_n="9310-AMB" ciudad_inicio="Shanghai" ciudad_final="Shanghai" circuito_t="CHINA IMPERIAL B" circuito_t_p="CHINA IMPERIAL B" circuito_dias="8" circuito_comidas="6" Textos_finales="CHINA%#10022#3 Nts Beijing, #11830#2 Nts Xian, #11512#2 Nts Shanghai#" Categorias_CTO="Lujo-AIR " Dias_Salidas_Esp="Jueves, Domingo" Dias_Salidas_Por="Quinta-Feira, Domingo" zona_id="28" Salidas_total="1"/>
<salidas id_circuito="8169" categoria="Lujo-AIR" f_desde="01/07/2012" f_hasta="31/03/2013" operacion="" Dias_Salidas_Esp="Jueves, Domingo" Dias_Salidas_Por="Quinta-Feira, Domingo" categoria_n="Lujo-Aereo" Descripcion="" OrdenFecha="1"/>
</menu>