Skip to content

Instantly share code, notes, and snippets.

@locopine
locopine / linux-mint_repair_boot_error.md
Last active February 22, 2022 23:09
Sobre vida para Dell Precision M4600 com placa gráfica falhando...

Seguir tutorial do video acrescido da adição/modificação no grub confome abaixo:

  1. manter "SHIFT" pressionado após inicialização BIOS;
  2. pressionar tecla "e" para editar grub;
  3. na linha iniciando com "linux" alterar "quiet splash" com "nouveau.modeset=0"; e
  4. pressionar "F10" para reiniciar.

Após entrara pelo CD Live, acessar "disco de instalação" em "/etc/default/grub" e editar as seguinte linhas:

@locopine
locopine / linux-mint-erros inicializacao.md
Created February 11, 2022 14:39
Linux Mint - Erros na inicialização

Referrer: # Tópico: Argumentos de Instalação (caso falhe)

Argumentos de Instalação (caso falhe)

« Online: 26 de Outubro de 2005, 16:00 »

tenho um processador AMD Atlhon 64 e desde a versão 5.04 tinha problema de travamentos e agora descobri que era por não ter colocado estes parâmetros na inicialização do CD/DVD de instalação. Adicione as opções no final da linha que já existe, sem alterar as demais opções: Citar

https://help.ubuntu.com/community/BootOptions

Plank

Compatível com Linux Mint 20.3 (Una)

Plank is arguably the most awesome of docks as it was built to be the simplest dock on the planet.

So awesome that it is also a library that can be extended to create other docks with even more advanced functionalities.

Plank Dock for Ubuntu

@locopine
locopine / php-docker-ext
Created January 5, 2022 01:17 — 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/
@locopine
locopine / .env
Created November 21, 2021 17:55 — forked from kiddtang/.env
proxy-manager
APP_PORT=48080
FORWARD_DB_PORT=43306
FORWARD_REDIS_PORT=46379
FORWARD_MEILISEARCH_PORT=47700
FORWARD_MAILHOG_PORT=41025
FORWARD_MAILHOG_DASHBOARD_PORT=48025
@locopine
locopine / settings.json
Created August 19, 2021 00:26 — forked from frv-dev/settings.json
[Code Easy - DON'T REMOVE] Settings for VSCode + PHP
{
"workbench.startupEditor": "newUntitledFile",
"window.zoomLevel": 3,
"editor.formatOnSave": true,
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/.hg/store/**": true,
"**/vendor/*/**": true
@locopine
locopine / Install PHP-CS-Fixer.md
Created August 17, 2021 04:02 — forked from realrashid/Install PHP-CS-Fixer.md
How to Install PHP-CS-Fixer on Windows

Installing PHP-CS-Fixer for VsCode on Windows

Install PHP-CS-FIXER Using Composer

composer global require friendsofphp/php-cs-fixer

after successfully installation of PHP-CS-FIXER

now install PHP-CS-FIXER VSCODE Extension

@locopine
locopine / .phpcsfixer
Created August 16, 2021 23:11 — forked from sarthaksavvy/.phpcsfixer
PHP CS Fixer
<?php
return PhpCsFixer\Config::create()
->setRules(array(
'@PSR2' => true,
'array_indentation' => true,
'array_syntax' => array('syntax' => 'short'),
'combine_consecutive_unsets' => true,
'method_separation' => true,
'no_multiline_whitespace_before_semicolons' => true,
@locopine
locopine / cfop.sql
Created May 10, 2021 04:19 — forked from EthraZa/cfop.sql
Tabela (MySQL) de Código Fiscal de Operações e Prestações - CFOP
SET NAMES utf8;
SET time_zone = '+00:00';
SET foreign_key_checks = 0;
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
CREATE TABLE `cfop` (
`id` char(4) COLLATE utf8_unicode_ci NOT NULL,
`descricao` varchar(200) COLLATE utf8_unicode_ci NOT NULL,
`aplicacao` varchar(530) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)