Skip to content

Instantly share code, notes, and snippets.

View viniciusmelocodes's full-sized avatar
:octocat:
Serving customers with high quality projects

Vinícius Melo viniciusmelocodes

:octocat:
Serving customers with high quality projects
  • Vinícius Melo
  • Brazil
View GitHub Profile
[
{
"id": "AaaaronZhou.vscode-auto-light-dark-theme",
"name": "vscode-auto-light-dark-theme",
"publisher": "AaaaronZhou",
"version": "1.2.0"
},
{
"id": "abusaidm.html-snippets",
"name": "html-snippets",
@viniciusmelocodes
viniciusmelocodes / History|-1073c9f6|entries.json
Last active April 2, 2025 00:01
Loop Shell Script Fill Memory RAM and Lock 4 Cores of Processor by 1 minute
{"version":1,"resource":"file:///home/vinicius/Movida/docker-movida/www/vetor-zero/src/Data/Data.php","entries":[{"id":"qkZV.php","timestamp":1740067088629},{"id":"KYUD.php","timestamp":1740071358207},{"id":"tOkG.php","timestamp":1740072284182},{"id":"2kHP.php","timestamp":1740072481586},{"id":"VBqM.php","timestamp":1740073883048},{"id":"vzJU.php","timestamp":1740074062796},{"id":"MeUc.php","timestamp":1740074167378},{"id":"hRnL.php","timestamp":1740078955242},{"id":"zDw6.php","timestamp":1740079010891}]}
@viniciusmelocodes
viniciusmelocodes / password-input.tsx
Created April 7, 2024 01:59 — forked from mjbalcueva/password-input.tsx
shadcn ui custom password input
"use client"
import { forwardRef, useState } from "react"
import { EyeIcon, EyeOffIcon } from "lucide-react"
import { Button } from "@/components/ui/button"
import { Input, InputProps } from "@/components/ui/input"
import { cn } from "@/lib/utils"
const PasswordInput = forwardRef<HTMLInputElement, InputProps>(
({ className, ...props }, ref) => {
@viniciusmelocodes
viniciusmelocodes / php-docker-ext
Created July 28, 2023 16:06 — forked from hoandang/php-docker-ext
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/
@viniciusmelocodes
viniciusmelocodes / .docker\Dockerfile
Created July 26, 2023 13:55 — forked from DanRibbens/.docker\Dockerfile
docker-compose & dockerfile for PHP 7.4, Nginx, PostgreSQL
FROM php:7.4-fpm
# Copy composer.lock and composer.json
COPY ../composer.lock composer.json /var/www/
# Set working directory
WORKDIR /var/www
# Install dependencies
RUN apt-get update && apt-get install -y \
@viniciusmelocodes
viniciusmelocodes / mysql-docker.sh
Created January 25, 2023 04:05 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@viniciusmelocodes
viniciusmelocodes / rclone_crontab.sh
Created July 6, 2022 01:39
Mount RClone with Google Drive
0 0 * * * /usr/bin/rclone mount --daemon --allow-non-empty {name_remote_rclone}: /home/user/googledrive/
hideexec.exe copy_file.cmd
https://code.kliu.org/misc/hideexec/
copy /Y "C:\file.jpg" "\\pc01\teste"
echo on
cls
echo �Validando Licen�a para 180 Dias...�
CD\
C:
cd C:\users\administrator
slmgr.vbs -rearm
:end