Skip to content

Instantly share code, notes, and snippets.

ONE HUNDRED YEARS
OF SOLITUDE
Chapter 1
MANY YEARS LATER as he faced the firing squad, Colonel Aureliano Buendía was to remember that distant afternoon when his father took him to discover ice. At that time Macondo was a village of twenty adobe houses, built on the bank of a river of clear water that ran along a bed of polished stones, which were white and enormous, like prehistoric eggs. The world was so recent that many things lacked names, and in order to indicate them it was necessary to point. Every year during the month of March a family of ragged gypsies would set up their tents near the village, and with a great uproar of pipes and kettledrums they would display new inventions. First they brought the magnet. A heavy gypsy with an untamed beard and sparrow hands, who introduced himself as Melquíades, put on a bold public demonstration of what he himself called the eighth wonder of the learned alchemists of Macedonia. He went from house to house dragging two metal ingots and everybody was amazed t
Gabriel García Márquez
Cien años de soledad
EDITADO POR "EDICIONES LA CUEVA"
@ismaproco
ismaproco / app.component.ts
Last active July 4, 2018 16:38
app.component.ts
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
title = "app";
selectedValue: string = "";
<h1>
{{title}}
</h1>
<mat-form-field>
<input matInput placeholder="Simple Input" [(ngModel)]="title">
</mat-form-field>
<mat-icon>home</mat-icon>
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { MatInputModule, MatButtonModule, MatSelectModule, MatIconModule } from '@angular/material';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AppComponent } from './app.component';
@NgModule({
/* You can add global styles to this file, and also import other style files */
@import '~@angular/material/theming';
@import url('//fonts.googleapis.com/icon?family=Material+Icons');
@include mat-core();
$primary: mat-palette($mat-lime, 500);
$accent: mat-palette($mat-lime, 500, A200, A400);
$warn: mat-palette($mat-red, 500);

Keybase proof

I hereby claim:

  • I am ismaproco on github.
  • I am ismapro (https://keybase.io/ismapro) on keybase.
  • I have a public key ASDPFskkvEiMT6NIYSTSBksEVzFYeYab5mPMv4e6CtFVdQo

To claim this, I am signing this object:

// parse object to string and write the respose
var writeJSON = function( res, obj ) {
var objJSON;
// is an object
// yes: parse to a string
// if not, set it to empty object
if(typeof(obj) === 'object') {
objJSON = JSON.stringify(obj);
} else {
objJSON = '{}';