This file contains hidden or 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
    
  
  
    
  | try{ | |
| $client = new Client([ | |
| 'base_uri' => env('KANGORU_MENSAJERIA_ENDPOINT'), | |
| 'timeout' => 30, | |
| 'headers' => [ | |
| 'Authorization'=>env('KANGORU_MENSAJERIA_KEY'), | |
| ], | |
| ]); | |
  
    
      This file contains hidden or 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
    
  
  
    
  | server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name localhost; | |
| #access_log /var/log/nginx/host.access.log main; | |
| location / { | |
| root /usr/share/nginx/html; | |
| index index.html index.htm; | 
  
    
      This file contains hidden or 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 // /app/Http/Middleware/Cors.php | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class Cors { | |
| public function handle($request, Closure $next) | |
| { | |
| return $next($request) | 
  
    
      This file contains hidden or 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
    
  
  
    
  | var a = document.createElement("a"); | |
| a.href = r.data.file; | |
| a.download = r.data.name; | |
| document.body.appendChild(a); | |
| a.click(); | |
| a.remove(); | |
| const _getExcel = () => { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | RewriteEngine on | |
| RewriteCond %{HTTP_HOST} ^checklist.usupso.com.mx/$ [NC,OR] | |
| RewriteCond %{HTTP_HOST} ^www.checklist.usupso.com.mx/$ | |
| RewriteCond %{REQUEST_URI} !public/ | |
| RewriteRule (.*) /public/$1 [L] | |
| //redirect port golang example | |
| RewriteEngine On | |
| RewriteRule index.html http://kangoru.com:8080/ [P] | |
| RewriteRule (.*) http://kangoru.com:8080/$1 [P] | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <Directory "C:/xampp/htdocs/viaticos-api/public"> | |
| DirectoryIndex index.php | |
| AcceptPathInfo on | |
| AllowOverride None | |
| Options None | |
| Order allow,deny | |
| Allow from all | |
| Options +FollowSymLinks | |
| RewriteEngine on | |
| RewriteCond %{REQUEST_FILENAME} !-f | 
  
    
      This file contains hidden or 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
    
  
  
    
  | SET sql_mode = 'ALLOW_INVALID_DATES'; | 
  
    
      This file contains hidden or 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
    
  
  
    
  | sudo pacman -S mtpfs gvfs-mtp | |
| mtp-detect | |
| mtp-connect | |
| lsusb | |
| sudo vim /etc/udev/rules.d/51-android.rules | |
| ATTR{idVendor}=="CÓDIGO_DE_IDENTIFICACIÓN_DEL_VENDEDOR", ATTR{idProduct}=="CÓDIGO_DE_IDENTIFICACIÓN_DEL_DISPOSITIVO", SYMLINK+="libmtp", MODE="660", ENV{ID_MTP_DEVICE}="1" | |
| sudo udevadm control --reload | 
  
    
      This file contains hidden or 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
    
  
  
    
  | <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| DocumentRoot "/var/www" | |
| ServerName localhost | |
| ServerAlias localhost | |
| ErrorLog ${APACHE_LOG_DIR}/all-error.log | |
| CustomLog ${APACHE_LOG_DIR}/all-access.log common | |
| <Directory "/var/www/"> | |
| AllowOverride All | |
| Order Allow,Deny | 
  
    
      This file contains hidden or 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
    
  
  
    
  | function bichoso($string){ | |
| $string = str_replace("\n","[NEWLINE]",$string); | |
| $string=htmlentities($string); | |
| $string=preg_replace('/[^(\x20-\x7F)]*/','',$string); | |
| $string=html_entity_decode($string); | |
| $string = str_replace("[NEWLINE]","\n",$string); | |
| return $string; | |
| } | 
NewerOlder