Skip to content

Instantly share code, notes, and snippets.

View ConxiCR's full-sized avatar

ConxiCR ConxiCR

  • Barcelona
View GitHub Profile
@ConxiCR
ConxiCR / index.html
Created November 14, 2020 09:02
RecercaFeina_homePage-bootstrap2
<!DOCTYPE html>
<html lang="ca">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recerca de feina</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<!--FONT-FAMILY REDRESSED & SOURCE SANS PRO CSS i web-->
<link href="https://fonts.googleapis.com/css2?family=Redressed&family=Source+Sans+Pro:wght@300;400;600&display=swap" rel="stylesheet">
@ConxiCR
ConxiCR / instalaciones-angular.md
Last active September 5, 2022 08:28 — forked from Klerith/instalaciones-angular.md
Instalaciones necesarias y recomendadas - Curso de Angular de cero a experto
@ConxiCR
ConxiCR / cart.component.spec.ts
Last active March 28, 2022 11:45
testing with Jasmine and Karma
import { CartComponent } from './cart.component';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing'
import { BookService } from '../../services/book.service';
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
describe('cart.component', () => {
let component: CartComponent;//declaramos el componente de tipo que queremos testear y lo importamos
let fixture: ComponentFixture<CartComponent>;//declaramos una variable para poder extraer el servicio que requiere el tipo que va a tener.
@ConxiCR
ConxiCR / Instalación-typescript.md
Last active September 6, 2022 09:42
Instalaciones recomendadas - Curso de TypeScript
  1. crear un fichero index.ts para poder iniciar typescript
  2. iniciar typescript tsc -init. Crea el fichero tsconfig.json
  3. Typescript modo observador tsc -w. Creación automática del compilador jS con tsc index.ts.
@ConxiCR
ConxiCR / console_colors.sh
Created October 21, 2022 12:24 — forked from zekroTJA/console_colors.sh
some color codes for console
# ORIGINAL BY github.com/vratiu
# https://gist.github.com/vratiu/9780109
# Reset
Color_Off="\033[0m" # Text Reset
# Regular Colors
Black="\033[0;30m" # Black
Red="\033[0;31m" # Red
@ConxiCR
ConxiCR / .gitignore
Created February 20, 2023 21:15 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #