Skip to content

Instantly share code, notes, and snippets.

Avatar
🎤
Focusing

Fernando Klerith

🎤
Focusing
View GitHub Profile
@Klerith
Klerith / git-config.md
Created Nov 10, 2020
Configuración de email y usuario de Git
View git-config.md
git config --global user.name "John Doe"
git config --global user.email johndoe@example.com
@Klerith
Klerith / instalaciones.md
Created Nov 10, 2020
Instalaciones recomendadas para el curso de React con Sockets
View instalaciones.md
View data-temp-cola.js
const data = [
{
ticketNo: 33,
escritorio: 3,
agente: 'Fernando Herrera'
},
{
ticketNo: 34,
escritorio: 4,
agente: 'Melissa Flores'
@Klerith
Klerith / SocketContext.js
Last active Nov 20, 2020
Todo lo necesario para conectarnos a nuestro socket server - SocketContext, SocketProvider, useSocket
View SocketContext.js
import React from 'react';
import { createContext } from 'react';
import { useSocket } from '../hooks/useSocket'
export const SocketContext = createContext();
export const SocketProvider = ({ children }) => {
const { socket, online } = useSocket('http://localhost:8080');
@Klerith
Klerith / enlaces.md
Created Sep 17, 2020
Recursos de la sección de Películas
@Klerith
Klerith / email-pattern.txt
Created Sep 10, 2020
Email Pattern para validaciones de correo
View email-pattern.txt
pattern="^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$"
@Klerith
Klerith / variables-completo.scss
Created Sep 9, 2020
Variables de color - Ejercicio completo
View variables-completo.scss
// Ionic Variables and Theming. For more info, please see:
// http://ionicframework.com/docs/theming/
/** Ionic CSS Variables **/
:root {
/** primary **/
--ion-color-primary: #3880ff;
--ion-color-primary-rgb: 56, 128, 255;
--ion-color-primary-contrast: #ffffff;
--ion-color-primary-contrast-rgb: 255, 255, 255;
@Klerith
Klerith / snippet-scss.scss
Last active Sep 9, 2020
Crear variable de SCSS global de ionic
View snippet-scss.scss
/** Color **/
--ion-color-youtube: #ff0011;
--ion-color-youtube-rgb: 255,0,17;
--ion-color-youtube-contrast: #ffffff;
--ion-color-youtube-contrast-rgb: 255,255,255;
--ion-color-youtube-shade: #e0000f;
--ion-color-youtube-tint: #ff1a29;
.ion-color-youtube {
View guava-config.gradle
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
// Implementar esto
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
}
You can’t perform that action at this time.