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
- Api: | |
-- existe alguna interface? | |
-- Hay documentacion? | |
-- Existen servers de prueba? Como podemos acceder a los mismos? | |
-- Hay algunas limitaciones que tenemos que tener en cuenta? quotas? limitaciones horarios? | |
-- Formas de autentificacion? | |
-- Tiene un versionado (versiones de la misma)? Roadmap de la api? Futuras funcionalidades? | |
- Con que servidores se van a contar para poder tener un servidor de staging y otro de produccion? Hosting? | |
- Servidores de bases de datos? son los mismos que los servidores webs? | |
- Cuanta cantidad de usuarios recurrentes se tienen sobre el sistema de autogestion? |
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
# Elgg Nginx configuration. Customize and put into /etc/nginx/sites-enabled | |
server { | |
listen 80; | |
server_name example.org; | |
# Server root, replace it with your elgg installation location | |
root /srv/example.org; | |
index index.php 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
openssl req -x509 -batch -nodes -newkey rsa:2048 -keyout banana.key -out banana.crt -config insecure.cnf -days 3650 |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
trait RestControllerTrait { | |
/** | |
* Manage index 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
user nginx; | |
worker_processes 1; #2 | |
error_log /var/log/nginx/error.log; | |
pid /run/nginx.pid; | |
worker_rlimit_nofile 20000; | |
events { | |
worker_connections 10000; | |
multi_accept on; | |
accept_mutex on; |
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
net.core.rmem_max = 16777216 // sudo sysctl -w net.core.rmem_max=16777216 | |
net.ipv4.tcp_rmem = 4096 87380 16777216 // sudo sysctl -w net.ipv4.tcp_rmem='4096 87380 16777216' | |
net.core.wmem_max = 16777216 // sudo sysctl -w net.core.wmem_max=16777216 | |
net.ipv4.tcp_wmem = 4096 16384 16777216 // sudo sysctl -w net.ipv4.tcp_wmem='4096 16384 16777216' | |
net.ipv4.tcp_fin_timeout = 20 // sudo sysctl -w net.ipv4.tcp_fin_timeout=20 | |
net.ipv4.tcp_tw_reuse = 1 // sudo sysctl -w net.ipv4.tcp_tw_reuse=1 | |
net.core.netdev_max_backlog = 10000 // sudo sysctl -w net.core.netdev_max_backlog=10000 | |
net.ipv4.ip_local_port_range = 15000 65000 // sudo sysctl -w net.ipv4.ip_local_port_range='15000 65000' | |
net.core.somaxconn = 2048 // sudo sysctl -w net.core.somaxconn=2048 |
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
[mysqld] | |
sync_binlog = 1 | |
binlog-format = mixed |
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
[client] | |
port = 3306 | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld_safe] | |
socket = /var/run/mysqld/mysqld.sock | |
[mysqld] | |
user = mysql | |
pid-file = /var/run/mysqld/mysql.pid |
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 namespace App\Models; | |
class Example extends Controller | |
{ | |
use TimestampsFormatTrait; | |
} |
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 namespace App\Http\Middleware; | |
use Closure; | |
use Illuminate\Contracts\Routing\Middleware; | |
use Illuminate\Http\Response; | |
class CORS implements Middleware { | |
/** | |
* Handle an incoming request. |
OlderNewer