Skip to content

Instantly share code, notes, and snippets.

View Skeiceee's full-sized avatar
😄

Victor Nuñez Skeiceee

😄
View GitHub Profile
@Skeiceee
Skeiceee / a.sql
Last active January 10, 2024 19:47
<div class="card bch-card widget mb-4 pb-6">
<div class="card-body">
<div class="panel-de-gestion-widget__titulo">
<h5 class="c-gray-dark text--big">Agradecimientos</h5>
<!-- <i class="icon-icon-bch-outcomes flecha__azul"></i> -->
</div>
<p class="c-gray-dark text--small">Últimos 12 meses</p>
<?php if($agradecimientos['recibidos'] > 0 || $agradecimientos['emitidos'] > 0){ ?>
<div class="card-body agradecimientos__recibidos">
@Skeiceee
Skeiceee / LAMP.md
Last active July 26, 2019 20:05
Como instalar LAMP en un Centos 7

Intalación LAMP (Linux, Apache, MySQL, PHP)

Este documento esta hecho para poder instalar LAMP en una maquina Centos7.

Apache

Actualizar el sistema:

<?php
$netmtocidr = array(
'255.255.255.255' => 32,
'255.255.255.254' => 31,
'255.255.255.252' => 30,
'255.255.255.248' => 29,
'255.255.255.240' => 28,
'255.255.255.224' => 27,
'255.255.255.192' => 26,
@Skeiceee
Skeiceee / laravelconxampp.md
Last active October 18, 2022 23:09
Como instalar laravel con Xampp (Windows)

Requerimientos

  • PHP >= 5.5.9
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension

Instalar XAMPP

Primero que nada, necesitamos xampp, vamos a descargarlo desde la pagina oficial:

yum install vsftpd ftp
(ls /etc/vsftpd/)
vi /etc/vsftpd/vsftpd.conf
Editar:
anonymous_enable=NO
Descomentar:
ascii_upload_enable=YES
ascii_download_enable=YES
$.fn.ValidaRut = function() {
var validacion = false
var valor = this.val().replace(/[.]/g, '').trim()
valor = valor.replace('-', '')
var cuerpo = valor.slice(0, -1)
dv = valor.slice(-1).toUpperCase()
var m = 0,
s = 1;
@Skeiceee
Skeiceee / signature.html
Created February 7, 2019 00:46
Signature email
<table data-mysignature-version="2019-02-07T00:06:22.277Z | 0" cellspacing="0" width="500" cellpadding="0" border="0">
<tr>
<td style="padding: 0 12px 0 0;vertical-align: top;" valign="top" width="100">
<img alt="" width="100" style="width:140px; moz-border-radius:50%; khtml-border-radius:50%; o-border-radius:50%; webkit-border-radius:50%; ms-border-radius:50%; border-radius:50%;" src="https://img.mysignature.io/p/c/7/a/c7a3068c-4ebf-5ccc-ae5e-dc67eed0c2c9.png?time=1549497981" />
</td>
<td style="font-size:1em;padding:0 0 0 12px;vertical-align: top;border-left: 3px solid #000;" valign="top">
<table cellspacing="0" cellpadding="0" border="0" style="line-height: 1.4;font-family:Verdana, Geneva, sans-serif;font-size:95%;color: #000001;">
<tr>
<td style="padding-bottom: 8px;">
<span style="font: 600 1.3em Verdana, Geneva, sans-serif;color:#2196F3;">Víctor Núñez</span>
@Skeiceee
Skeiceee / ab.php
Last active January 25, 2019 19:11
Best program of life
<?php
$Bar = "a";
$Foo = "Bar";
$World = "Foo";
$Hello = "World";
$a = "Hello";
echo $a; //Returns Hello
echo $$a; //Returns World
@Skeiceee
Skeiceee / Arrays.php
Last active January 25, 2019 16:22
PHP Array's
<?php
//*
$users = array(
array(
"nombre" => "Victor",
"edad" => 21,
)
);
$user = array(
"nombre" => "Loreto",