This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('um_after_account_general', 'showExtraFields', 100); | |
function showExtraFields() | |
{ | |
$custom_fields = [ | |
"razon_social" => "Razón Social", | |
"nit" => "NIT", | |
"ci" => "CI", | |
"phone_number" => "Número de teléfono fijo", | |
"mobile_number" => "Número de teléfono móvil", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// wp-content/plugins/the-events-calendar/src/Tribe/Views/V2/Rewrite.php | |
//This file is causing an infinite loop because never ends, seems to be recursive so I've added this one line 71 | |
if(!in_array($encoded, $base_group)) // <--- This line I've added | |
$base_group[] = $encoded; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################ | |
# Reinicia el periodo de evaluación de productos jetbrains # | |
# Probado en las versiones 2018.*, 2019.* # | |
# Luis Villegas ethiel88@gmail.com # | |
############################################################ | |
CYAN='\033[0;36m' | |
GREEN='\033[0;32m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('um_profile_tabs', 'pages_tab', 1000 ); | |
function pages_tab( $tabs ) { | |
unset($tabs['posts']); | |
unset($tabs['comments']); | |
return $tabs; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('um_after_account_general', 'showExtraFields', 100); | |
function showExtraFields() | |
{ | |
$custom_fields = [ | |
"razon_social" => "Razón Social", | |
"nit" => "NIT", | |
"ci" => "CI", | |
"phone_number" => "Número de teléfono fijo", | |
"mobile_number" => "Número de teléfono móvil", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First we need to get the modeline string for xrandr | |
# Luckily, the tool "gtf" will help you calculate it. | |
# All you have to do is to pass the resolution & the- | |
# refresh-rate as the command parameters: | |
gtf 1920 1080 60 | |
# In this case, the horizontal resolution is 1920px the | |
# vertical resolution is 1080px & refresh-rate is 60Hz. | |
# IMPORTANT: BE SURE THE MONITOR SUPPORTS THE RESOLUTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAMP, POSTGRES y Host Virtuales con y sin SSL EN Manjaro/Arch | |
===== ======== = ==== ========= === = === === == ============ | |
Iniciamos una terminal con privilegios de superusuario | |
$ sudo bash | |
Actualizamos la base de datos de los paquetes | |
# pacman -Syu | |
Apache |