Skip to content

Instantly share code, notes, and snippets.

View Alexisvt's full-sized avatar
🎯
Focusing

Alexis Villegas Torres Alexisvt

🎯
Focusing
  • San Jose, Costa Rica
View GitHub Profile
@Alexisvt
Alexisvt / angular material
Last active April 1, 2020 17:22 — forked from ivantw08/angular material
A module with all Angular module.
//Simply to import to app.module.ts and start to use all angular
// by this way is easier to maintenance you app.module
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {MatInputModule} from '@angular/material/input';
import {MatAutocompleteModule} from '@angular/material/autocomplete';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatRadioModule} from '@angular/material/radio';
import {MatSelectModule} from '@angular/material/select';
@Alexisvt
Alexisvt / lock-switch-to-signup.html
Created May 22, 2019 22:45 — forked from sandrinodimattia/lock-switch-to-signup.html
Auth0 Lock example that shows how to switch to the Login page when a certain condition is met
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Sign In with Auth0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<style>
html, body { padding: 0; margin: 0; }
@Alexisvt
Alexisvt / vanilla-js-cheatsheet.md
Created May 8, 2019 12:05 — forked from thegitfather/vanilla-js-cheatsheet.md
Vanilla JavaScript Quick Reference / Cheatsheet
@Alexisvt
Alexisvt / strem_example.dart
Created April 7, 2019 19:25
Simple example of how Streams works in Dart
import 'dart:async';
void addLessThanFive(StreamController controller, int value) {
if(value < 5) {
controller.sink.add(value);
} else {
controller.sink.addError(StateError('$value is not less than 5'));
}
}
@Alexisvt
Alexisvt / cloudSettings
Last active June 6, 2019 20:41
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-06-06T20:41:39.417Z","extensionVersion":"v3.2.9"}
@Alexisvt
Alexisvt / cloudSettings
Last active March 20, 2019 19:50
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-03-20T19:50:24.442Z","extensionVersion":"v3.2.7"}
@Alexisvt
Alexisvt / launch.json
Created March 7, 2019 16:11
Launch file for make Angular project easy to debug in VSCode
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [{
"type": "chrome",
"request": "launch",
"name": "Launch NG App",
"url": "http://localhost:4200",
@Alexisvt
Alexisvt / cloudSettings
Last active March 14, 2019 13:34
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-03-14T13:34:32.307Z","extensionVersion":"v3.2.7"}
@Alexisvt
Alexisvt / index.js
Created November 8, 2018 19:35 — forked from elijahmanor/index.js
Run JavaScript in the terminal from a gist with npx
#!/usr/bin/env node
console.log( "Look Ma, I'm executing JavaScript from a gist inside the terminal with npx!" );
@Alexisvt
Alexisvt / README.md
Created November 8, 2018 19:34 — forked from elijahmanor/README.md
Has Deprecated Packages

Feel free to run via...

npx https://gist.github.com/elijahmanor/4cc8e3eac9fb5999c5d759388ff27c64