Skip to content

Instantly share code, notes, and snippets.

View mugan86's full-sized avatar
💻
💪💪

Anartz Mugika Ledo mugan86

💻
💪💪
View GitHub Profile
@rxaviers
rxaviers / gist:7360908
Last active May 3, 2024 16:14
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@mugan86
mugan86 / take-all-branches.sh
Created April 21, 2020 23:35
Descargar todas las ramas remotas a local
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
@iPaulPro
iPaulPro / include_list_viewpager.xml
Last active March 7, 2024 11:13
CollapsingToolbarLayout with TabLayout
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2015 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
@fmontes
fmontes / server.js
Created April 1, 2022 21:49
Server to return a screenhot of the page you pass in the URL like: http://localhost:3000/?url=https://demo.dotcms.com
const puppeteer = require('puppeteer');
const http = require('http');
const url = require('url');
const requestListener = async function (req, res) {
try {
const { href } = new URL(url.parse(req.url, true).query.url);
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.setViewport({ width: 1024, height: 768 });
{
countUsers
users (page: 1) {
status
message
list {
id
name
lastname
}
@mugan86
mugan86 / instalaciones-curso.md
Last active July 10, 2022 10:26
Información sobre las instalaciones para el desarrollo del proyecto
@mugan86
mugan86 / dolmen_route_start.geojson
Created May 25, 2022 20:29
Dolmen Route Start
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mugan86
mugan86 / 00-examples
Last active May 21, 2022 18:07
Angular Leaflet Map - Examples
1.- Basic:
https://stackblitz.com/edit/angular-leaflet-map-basic?file=src%2Fapp%2Fapp.component.ts
2.- Basic + Custom Size
https://stackblitz.com/edit/angular-leaflet-map-basic-custom-size?file=src%2Fapp%2Fapp.component.html
3.- Set Map Center:
https://stackblitz.com/edit/angular-leaflet-map-basic-set-center-position?file=src%2Fapp%2Fapp.component.ts
4.- Zoom Controls - Positions / In out titles
https://stackblitz.com/edit/angular-leaflet-zoom-positions-titles?file=src%2Fapp%2Fapp.component.ts
5.- Zoom Level
https://stackblitz.com/edit/angular-leaflet-zoom-levels?file=src%2Fapp%2Fapp.component.ts
@mugan86
mugan86 / 1-info.md
Last active January 20, 2022 13:26
Pasos a seguir con Webcomponents en Angular

0.- ¿Qué es un Web Componente?

Hace ya tiempo que los desarrolladores utilizan marcos de trabajo o frameworks de JavaScript como, por ejemplo, React o Angular, para definir elementos web que puedan reutilizar. Sin embargo, cada framework utiliza un estándar diferente, lo cual impide en muchos casos que se puedan aplicar los llamados code snippets o fragmentos de código, que resultan muy útiles por ser comunes a diferentes proyectos. Por suerte, existen los llamados web components (componentes web): elementos HTML reutilizables y compatibles con todos los marcos de trabajo. Estandarizado en 2012, este tipo de elementos web ya puede usarse en todos los navegadores más populares.

Los componentes web son bloques de código que encapsulan la estructura interna de elementos HTML, incluyendo CSS y JavaScript,

@mugan86
mugan86 / gist:4f51f50a52a60a292e3ce31cd38b4dea
Created September 7, 2021 18:25
Dependencias proyecto Book Store API GraphQL
PRODUCTION
===================
npm install express@^4 apollo-server-express@^3 graphql ncp graphql-import-node compression cors
typescript@^4 graphql-tools@^8
DEV
===================
npm install @types/compression @types/express @types/cors @types/node @types/graphql nodemon ts-node -D