Skip to content

Instantly share code, notes, and snippets.

View berlanga2008's full-sized avatar

Miguel berlanga2008

View GitHub Profile
@berlanga2008
berlanga2008 / lets-encript-plugin-cpanel
Created April 5, 2022 21:25
Añadir el plugin de Let's encript a cpanel whm
cd /etc/yum.repos.d/ && wget https://letsencrypt-for-cpanel.com/static/letsencrypt.repo
yum -y install letsencrypt-cpanel
@berlanga2008
berlanga2008 / gist:96ca50a75ea00aa3665d924e3073134d
Created April 5, 2022 21:23
añadir plugin de Let's Encrypt a whm cpanel.
cd /etc/yum.repos.d/ && wget https://letsencrypt-for-cpanel.com/static/letsencrypt.repo
yum -y install letsencrypt-cpanel
@berlanga2008
berlanga2008 / spintax.php
Created October 21, 2018 16:06 — forked from irazasyed/spintax.php
PHP: Text Spinner Class - Nested spinning supported.
<?PHP
/**
* Spintax - A helper class to process Spintax strings.
* @name Spintax
* @author Jason Davis - https://www.codedevelopr.com/
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/
*/
class Spintax
{
public function process($text)
<?php
//header('Content-type: text/plain');
require_once('simple_html_dom.php');
$url ='http://www.1155.cr/racsa-yp/IDA2?IDAERROR=&BCP=&NAM=&BCP=&BCOD=1946&CATCODE=2584&LOC=&UPDATEDLOC=&TEL=&ZCD=&REG=&STN=&STR=&SRT=&XCO=&YCO=&STP=S&LIP=osaSearchResult_subscriberList&LNK=000B003203FF60020001510200010003116F0003118D000314350003BA3D00000000000C534F52543A52414353415F3107BE0000&SOP=nxt&LANG=es&ACTION=simpleSearch&PAGE=osaSearchResult_subscriberList&YSD=29808&TEMP1=&TEMC=novalue&TEMC2=&TEMP=&RNG=&INDEX=&oldprovince=&MDN=Farmacias&ADR=&ATTRIBUTE=&currentURL=&formType=nextpage&previousPageContext=&nextLinkContext=000B003203FF60020001510200010003116F0003118D000314350003BA3D00000000000C534F52543A52414353415F3107BE0000&counter=1&LNKP=000B003203FF6002000154EF00010003116F0003118D000314350003B66500000000000C534F52543A52414353415F3107BE0000';
$html=new simple_html_dom();