Skip to content

Instantly share code, notes, and snippets.

View gdiasb's full-sized avatar
👀
Looking for a job

Gabriela gdiasb

👀
Looking for a job
View GitHub Profile
@alucard001
alucard001 / Dockerfile
Last active October 27, 2024 15:24
Docker + Laravel + Nginx + Swoole Reverse Proxy Setup
FROM php_base:latest
RUN apt update -y && apt upgrade -y
WORKDIR /var/www/html
RUN composer update --optimize-autoloader
COPY src/. /var/www/html
COPY build/php/.env.local /var/www/html/.env
@Moosems
Moosems / Dockerfile
Last active October 17, 2024 12:50
Tkinter Docker App Example
FROM ubuntu:20.04 as builder
FROM python:3.10.7
# Create a user to run the application
RUN apt-get update && \
apt-get -y install sudo
RUN useradd -ms /bin/bash docker && echo "docker:docker" | chpasswd && adduser docker sudo
@NickMcSweeney
NickMcSweeney / postgresql_plus_arch-linux.md
Last active November 15, 2024 22:24
Getting postgresql running on Arch Linux

Setup Postgresql

run postgresql with systemctl

Install postgres

latest

sudo pacman -S postgresql

specific version

find version & build from source

@DevPicon
DevPicon / UploadToS3Test.java
Created April 19, 2018 20:28
Uploading files to S3 with OKHttp
package com.cornershopapp.shopper.android.utils;
import java.io.File;
import java.io.IOException;
import okhttp3.MediaType;
import okhttp3.MultipartBody;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
@hoandang
hoandang / php-docker-ext
Created May 20, 2017 01:12
Complete list of php docker ext
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
i
me
my
myself
we
our
ours
ourselves
you
your