Skip to content

Instantly share code, notes, and snippets.

View carlosanders's full-sized avatar

Carlos Anders carlosanders

  • Rio de Janeiro
  • 15:25 (UTC -03:00)
View GitHub Profile
@carlosanders
carlosanders / atalhos-ij.md
Created October 10, 2023 00:30 — forked from boaglio/atalhos-ij.md
Atalhos do IntelliJ - para quem veio do Eclipse

Atalhos do IntelliJ

Principais

Caiu no IntelliJ agora?

Aprenda só esses:

Tipo de Atalho IntelliJ IDEA
@carlosanders
carlosanders / settings_msi.json
Created March 3, 2023 22:17
vscode settings
{
//https://github.com/tonsky/FiraCode/wiki/VS-Code-Instructions
"editor.fontFamily": "Fira Code",
//"editor.fontFamily": "MonoLisa Regular",
//"window.zoomLevel": 0,
//"editor.fontFamily": "Cascadia Code",
//"editor.fontLigatures": "'ss02'",
"editor.fontLigatures": true,
//"editor.fontLigatures": "'calt', 'ss01'",
//"editor.fontLigatures": "'calt', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'",
e.=explorer .
gl=git log --oneline --all --graph --decorate $*
ls=ls --show-control-chars -F --color $*
pwd=cd
clear=cls
unalias=alias /d $1
vi=vim $*
cmderr=cd /d "%CMDER_ROOT%"
h=cat "%CMDER_ROOT%\config\clink_history"
;=h=history
@carlosanders
carlosanders / install_node_manjaro.md
Created October 19, 2019 19:16 — forked from HermesMartins/install_node_manjaro.md
Como instalar o Node.JS no Manjaro Linux

Guia Rápido - Instalação do NodeJS no Manjaro Linux

1 - Primeiramente vamos fazer a instalação do nvm (node version manager - https://github.com/creationix/nvm) através do nosso gerenciador de pacotes yaourt:

$ yaourt -S nvm

2 - Depois vamos adicionar o nvm ao nosso shell, no meu caso o zshrc:

$ echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc
$ source .zshrc 
@carlosanders
carlosanders / .gitconfig
Last active March 4, 2023 20:08
Configuração Winmerge no Git
[user]
name = Carlos Anders
editor = 'C:/app/Microsoft VS Code/Code.exe' -w
email = [email protected]
[http]
sslVerify = true
[mergetool]
prompt = false
keepBackup = false
@carlosanders
carlosanders / color-tasks-border.css
Created April 9, 2019 15:00
Cores para os Status do Redmine, para add, basta adicionar o seguinte no arquivo application.css: Exemplo: @import url(color-tasks-border.css);
/*
1 New (Nova)
2 In progress (Em andamento)
3 Resolved (Resolvida)
4 Need feedback (Aguardando)
5 Closed (Finalizada)
6 Rejected (Rejeitada)
7 Acknowledged
8 Confirmed (Reaberta)
@carlosanders
carlosanders / comandos-windows.cmd
Last active March 11, 2021 02:29
Comando utilizados no console do windows cmd
::propridedas do sistema
sysdm.cpl
:: editor de politica de grupo local
gpedit.msc
:: serviços
services
:: gerenciador de tarefas
@carlosanders
carlosanders / comandos-oracle-linux7.sh
Last active April 19, 2023 13:44
Comando + utilizados no OEL 7+
# Comandos uteis Oracle Linux 7
#------------------------------------------------------------------
# seguir os procedimentos do Guia pratico do CTIM
curl http://oraclelinux.ctim.mb/mb-config-update.sh > mb-config-update.sh && chmod +x mb-config-update.sh && ./mb-config-update.sh
# Listar todos os pacotes
yum list
# Listar todos os pacotes instalados
@carlosanders
carlosanders / bash_oel7.sh
Created April 2, 2019 01:03
Configurar o $PS1 e add data ao history no OEL 7.4+
#!/bin/bash
# Script Autor: 1T (T) Anders
###########################################################################
###########################################################################
###########################################################################
ver_so=`cat /etc/oracle-release`
#usuario_logado=$USER
usuario_logado=admin
# Rotina principal do script e chamada na ordem abaixo do arquivo
@carlosanders
carlosanders / config-tools-server_oel7.sh
Created April 2, 2019 01:01
Script para configurações: ajuste de data, git, tools...
#!/bin/bash
# Script Autor: Carlos Anders
#########################################################################
############################## var global ###############################
ver_so=`cat /etc/oracle-release`
USUARIO=$USER
### cores ###
c_red_b_white="\033[01;47;31m"
c_amarelo="\033[01;33m"
c_azul="\033[00;36m"