Skip to content

Instantly share code, notes, and snippets.

View iOznny's full-sized avatar
:octocat:
Creating & Sharing

Cesar Candia iOznny

:octocat:
Creating & Sharing
View GitHub Profile
@Klerith
Klerith / index.ts
Last active June 26, 2024 18:52
Vuex + TypeScript - Store Structure Strongly Typed
import { createStore } from 'vuex';
// My custom modules
import exampleModule from './module-template';
import { ExampleStateInterface } from './module-template/state';
export interface StateInterface {
// Define your own store structure, using submodules if needed
// example: ExampleStateInterface;
@Klerith
Klerith / email-validation.js
Created August 16, 2021 19:23
Vue + Quasar - Validación de un correo electrónico
isValidEmail( val ) {
const emailPattern = /^(?=[a-zA-Z0-9@._%+-]{6,254}$)[a-zA-Z0-9._%+-]{1,64}@(?:[a-zA-Z0-9-]{1,63}\.){1,8}[a-zA-Z]{2,63}$/;
return emailPattern.test(val) || 'El correo no parece ser válido';
}
@HoangLong22
HoangLong22 / index.html
Created September 22, 2020 04:25
Slick Slider Syncing
<div id="page">
<div class="row">
<div class="column small-11 small-centered">
<h2>Slick Slider Syncing</h2>
<div class="slider slider-single">
<div><h3>1</h3></div>
<div><h3>2</h3></div>
<div><h3>3</h3></div>
<div><h3>4</h3></div>
<div><h3>5</h3></div>
@subfuzion
subfuzion / curl.md
Last active June 29, 2024 16:04
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.