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
| services: | |
| postgres: | |
| image: postgres:15-alpine | |
| container_name: postgres | |
| environment: | |
| POSTGRES_USER: ${POSTGRES_USER:-n8n} | |
| POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-n8n} | |
| POSTGRES_DB: ${POSTGRES_DB:-n8n} | |
| volumes: | |
| - postgres_data:/var/lib/postgresql/data |
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
| #!/bin/bash -e | |
| clear | |
| echo "============================================" | |
| echo "WordPress Install Script" | |
| echo "============================================" | |
| echo "Database Name: " | |
| read -e dbname | |
| read -sp "Database root password: " rootpassdb | |
| echo |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from os.path import basename | |
| from urllib import request | |
| import sys, re, os | |
| header = """ | |
| ################################################################################ |
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
| 'use strict'; | |
| // Just changes directory names for yout folder distribution and run gulp | |
| const { src, dest, series, watch } = require('gulp'); | |
| const sourcemaps = require('gulp-sourcemaps'); | |
| const cssnano = require('cssnano'); | |
| const sass = require('gulp-sass'); | |
| const postcss = require('gulp-postcss'); | |
| const autoprefixer = require('autoprefixer'); |
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 | |
| $ch = curl_init(); | |
| curl_setopt_array($ch, array( | |
| CURLOPT_URL => "https://twitter.com/[CUENTA]/profile_image?size=original", | |
| CURLOPT_HEADER => false, | |
| CURLOPT_RETURNTRANSFER => 1 | |
| )); | |
| curl_exec($ch); | |
| $redirect = curl_getinfo($ch, CURLINFO_REDIRECT_URL); |
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 | |
| /** | |
| * Función que crea un clon de la imagen que se pase como argumento | |
| * arreglándo la rotación y removiendo la información EXIF usando GD | |
| * | |
| * @param string $ruta ruta de la imagen | |
| */ | |
| function removeRotation($ruta) | |
| { |
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
| <!Doctype html> | |
| <html> | |
| <head> | |
| <title>Selects dependientes</title> | |
| <meta charset="utf-8"> | |
| </head> | |
| <body> | |
| <h1>Prueba selects</h1> | |
| <!-- Select padre --> | |
| <div> |
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
| #!/bin/perl | |
| use warnings; | |
| use strict; | |
| use LWP::UserAgent; | |
| use HTTP::Request; | |
| my $lol = 0; | |
| my $mtd = 0; | |
| my $menu = 0; |
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 | |
| /** | |
| * English Number Converter - Collection of PHP functions to convert a number | |
| * into English text. | |
| * | |
| * This exact code is licensed under CC-Wiki on Stackoverflow. | |
| * http://creativecommons.org/licenses/by-sa/3.0/ | |
| * | |
| * @link http://stackoverflow.com/q/277569/367456 |
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 | |
| /** | |
| * Tomado de: | |
| * Copyright 2007-2008 Brenton Fletcher. http://bloople.net/num2text | |
| * @link http://stackoverflow.com/q/277569/367456 | |
| * @question Is there an easy way to convert a number to a word in PHP? | |
| * | |
| * Bajo la licencia de CC-Wiki on Stackoverflow. | |
| * http://creativecommons.org/licenses/by-sa/3.0/ |
NewerOlder