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
name: ai | |
proxy: | |
openwebui: | |
- bot.lndo.site:3030 | |
tooling: | |
ollama: | |
service: ollama | |
description: "Run ollama commands" |
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
# ... | |
proxy: | |
jaeger: | |
- jaeger.project.lndo.site:16686 | |
services: | |
jaeger: | |
type: compose | |
app_mount: false |
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
#... | |
proxy: | |
meilisearch: | |
- search.project.lndo.site:7700 | |
services: | |
meilisearch: | |
type: compose |
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 Legacy; | |
use Symfony\Component\DependencyInjection\ContainerBuilder; | |
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; | |
use Symfony\Component\Config\FileLocator; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpKernel\Controller\ContainerControllerResolver; | |
use Symfony\Component\HttpKernel\Controller\ArgumentResolver; |
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 docker-compose-ip | |
docker-ip (docker-compose ps | awk '{ if ($1 !~ "---------------------------------------------------------------------------" && $1 !~ "Name"){ print $1 } }') $argv; | |
end |
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 docker-ip | |
docker inspect --format '{{ .Name }} {{ .NetworkSettings.IPAddress }}' $argv; | |
end |
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 | |
$sttyMode = shell_exec('stty -g'); | |
shell_exec('stty -icanon -echo'); | |
$stdout = fopen('php://stdout', 'w'); | |
fwrite($stdout, " 1.- option 1" . PHP_EOL ); | |
fwrite($stdout, " 2.- option 2" . PHP_EOL ); | |
fwrite($stdout, " 3.- option 3" . PHP_EOL ); |
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
FROM ubuntu:14.04 | |
# Replace 1000 with your user / group id | |
RUN export uid=1000 gid=1000 && \ | |
mkdir -p /home/developer && \ | |
echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \ | |
echo "developer:x:${uid}:" >> /etc/group && \ | |
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \ | |
chmod 0440 /etc/sudoers.d/developer && \ | |
chown ${uid}:${gid} -R /home/developer |
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
FROM php:5.5-apache | |
RUN apt-get update && apt-get install -y \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libmcrypt-dev \ | |
libpng12-dev \ | |
libbz2-dev \ | |
curl \ | |
git \ |
NewerOlder