Skip to content

Instantly share code, notes, and snippets.

View periface's full-sized avatar

Alan Torres periface

View GitHub Profile
@periface
periface / Ionic Android Development on WSL2.md
Created August 19, 2025 18:05 — forked from samuelyee/Ionic Android Development on WSL2.md
Ionic Android Development on WSL2 (Windows Subsystem for Linux)

Ionic Android Development on WSL2

This setup is assuming that GUI Linux apps can run in your WSL2.

Installing the required software

Execute the following commands to install Node, npm, git, Java, Ionic CLI:

cd ~
sudo apt update
sudo apt upgrade
@periface
periface / Ionic Android Development on WSL2.md
Created August 19, 2025 18:05 — forked from samuelyee/Ionic Android Development on WSL2.md
Ionic Android Development on WSL2 (Windows Subsystem for Linux)

Ionic Android Development on WSL2

This setup is assuming that GUI Linux apps can run in your WSL2.

Installing the required software

Execute the following commands to install Node, npm, git, Java, Ionic CLI:

cd ~
sudo apt update
sudo apt upgrade
@periface
periface / Build VIM with python3
Created November 25, 2023 23:42 — forked from lv10/Build VIM with python3
Install Vim 8 with Python, Python 3 support on Ubuntu 20.04
# make sure you don't have any soon to be forgotten version of vim installed
$ sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
# Install Deps
$ sudo apt-get install build-essential cmake
$ sudo apt-get install python3-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
$ sudo apt-get install checkinstall
USE [CarwashDb]
GO
/****** Object: StoredProcedure [dbo].[EarningsReport] Script Date: 09/04/2019 04:05:37 p.m. ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[EarningsReport]
as
select
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.Runtime.Security;
using Abp.UI;
using FoodSaviour.Authentication.External;
import { Component, Injector, ElementRef, ViewChild } from '@angular/core';
import { Router } from '@angular/router';
import { AppComponentBase } from '@shared/app-component-base';
import { LoginService } from './login.service';
import { accountModuleAnimation } from '@shared/animations/routerTransition';
import { AbpSessionService } from '@abp/session/abp-session.service';
@Component({
templateUrl: './login.component.html',
styleUrls: ['./login.component.less'],
using Abp.Authorization.Users;
using Abp.MultiTenancy;
using Abp.Runtime.Security;
using Abp.UI;
using FoodSaviour.Authentication.External;
using FoodSaviour.Authentication.JwtBearer;
using FoodSaviour.Authorization;
using FoodSaviour.Authorization.Users;
using FoodSaviour.Models.TokenAuth;
using FoodSaviour.MultiTenancy;
@periface
periface / Canvas.ts
Created February 8, 2018 21:09
canvas tools eureka
import { HttpClient } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { Platform } from "ionic-angular/platform/platform";
import { Renderer } from "@angular/core/src/render/api";
/*
Generated class for the CanvasToolsProvider provider.
See https://angular.io/guide/dependency-injection for more info on providers
and Angular DI.
/*Para el texto e imagen de la parte inferior de la pantalla*/
.enfasis-text {
font-weight: 600;
}
.img-tech {
height: 200px;
width: 200px;
}
var contenidoDVI; //??
var componentePrincipal = (function (configuracionComponentes) {
var componentes = {};
//No los veo por ningun lado, pues los meto al __proto__ YOLO
componentes.__proto__ = {
recalcularElementosSlider: function () {
$.each($('.ComponenteDVISlider '), function (index, el) {
var selectorToFind = '.paFront .swiper-wrapper .swiper-slide .imgSlide .contenidoEditable';