Skip to content

Instantly share code, notes, and snippets.

View furenku's full-sized avatar

furenku furenku

  • punksnotdev
  • Mexico
View GitHub Profile
@furenku
furenku / wp-config.php
Created August 13, 2022 13:40
wp config
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
@furenku
furenku / phpmyadmin.conf
Created August 13, 2022 12:28
phpmyadmin apache conf
Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Options SymLinksIfOwnerMatch
DirectoryIndex index.php
<IfModule mod_php5.c>
<IfModule mod_mime.c>
AddType application/x-httpd-php .php
</IfModule>
@furenku
furenku / installphpmyadmin.sh
Created August 13, 2022 12:06
installphpmyadmin.sh
DATA="$(wget https://www.phpmyadmin.net/home_page/version.txt -q -O-)"
URL="$(echo $DATA | cut -d ' ' -f 3)"
VERSION="$(echo $DATA | cut -d ' ' -f 1)"
wget https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.gz
@furenku
furenku / sketch.html
Created February 25, 2022 14:31
sketch js
<!-- html:5 -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rick and Morty</title>
<!-- link -->
@furenku
furenku / estilos.css
Last active February 18, 2022 13:16
rick and morty
html, body {
/* m0 */
margin: 0;
}
#cabecera {
/* p1rem */
padding: 1rem;
@furenku
furenku / estilos.css
Last active February 17, 2022 14:59
rickandmorty
html, body {
/* m0 */
margin: 0;
/* p0 */
padding: 0;
}
#cabecera {
/* bgc */
@furenku
furenku / edad.html
Last active December 14, 2021 17:36
estilos generales
<header>
<img src="http://fakeimg.pl/300x100/000/fff?text=Procesar" alt="Logotipo">
</header>
<h1>
Control de acceso
</h1>
<form action="">
@furenku
furenku / estilos.css
Last active November 18, 2021 00:28
menú responsivo
* {
/* outline */
outline: 1px solid #acd;
}
#cabecera li {
list-style: none;
}
#cabecera {
@furenku
furenku / metodos.js
Created November 17, 2021 17:56
métodos de arreglos js
const arreglo = [ 1, 2, 3 ]
arreglo.forEach(
elemento => console.log("un elemento:", elemento )
)
const duplicados = arreglo.map(
elemento => elemento * 2
)
@furenku
furenku / rickandmorty.js
Created November 17, 2021 15:32
rickandmorty.js
{
"info": {
"count": 826,
"pages": 42,
"next": "https://rickandmortyapi.com/api/character/?page=2",
"prev": null
},
"results": [{
"id": 1,
"name": "Rick Sanchez",