- htttp://www.hugovmonteiro.net
- https://orcid.org/0009-0006-7405-6746
- hvmonteiro
- https://buymeacoffee.com/hvmonteiro
- https://dev.to/hvmonteiro
This file contains 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
# -*- perl -*- | |
# This content should be added to a (new) file at ".../perllib/Devel/Trace.pm". | |
# Usage: perl -d:Trace <script.pl> | |
package Devel::Trace; | |
$VERSION = '0.12'; | |
$TRACE = 1; | |
# This is the important part. The rest is just fluff. |
This file contains 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
module.exports = [{ | |
type: 'button', | |
tooltip: 'New File', | |
callback: 'application:new-file', | |
icon: 'file-document', | |
iconset: 'mdi' | |
}, { | |
type: 'button', | |
tooltip: 'Open File', | |
callback: 'application:open-file', |
This file contains 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
@echo off | |
REM -- File: remote-shellcheck.bat | |
REM -- Author: Hugo Monteiro | |
REM -- URL: https://gist.github.com/hvmonteiro/b89c60a283c8c7469333/ | |
REM -- Description: This script allows you to use shellcheck (bash shell syntax checker) that is installed | |
REM -- in a Linux machine, by connecting to it via SSH. IT worsk around the problem that shellcheck | |
REM -- no longer works on Windows. | |
REM -- Usage: you must use a windows command line SSH client (ex: cygwin ssh.exe command), generate | |
REM -- a SSH key for your windows, and add the *.pub key to your Linux ~/.authorized_keys so | |
REM -- that you are able to SSH to your Linux machine silently without prompting for a password. |
This file contains 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
" | |
" Author: Hugo Monteiro | |
" Description: Customized VIM settings with syntax checker using shellcheck and jshint (if installed) | |
" URL : https://gist.github.com/hvmonteiro/11fea54401063fc0e2033fd0a3be8c58 | |
" Last Changed: 12-04-2016 | |
" Notes: File to be used as ~/.vimrc | |
" | |
color desert |
This file contains 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
EDITOR="vi" | |
PS1="\n\\[\\033[00m\\][\[\\033[01;37m\\]\\w\\[\\033[00m\\]]\\n[\\[\\033[01;32m\\]\\u\\[\\033[01;37m\\]@\\[\\033[01;33m\\]\h\\[\\033[00m\\]]\\\$ " | |
ATOM_NODE_URL="http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" | |
export PS1 EDITOR ATOM_NODE_URL | |
eval $( dircolors -b $HOME/.LS_COLORS ) | |
alias ll="ls -l --color" | |
alias ls="ls --color" | |
alias mroe="more" |
This file contains 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
# LS_COLORS | |
# Maintainers: Magnus Woldrich <[email protected]>, | |
# Ryan Delaney <[email protected]> OpenGPG: 0D98863B4E1D07B6 | |
# URL: https://github.com/trapd00r/LS_COLORS | |
# Version: 0.254 | |
# Updated: Sun Jun 1 14:36:30 PDT 2014 | |
# | |
# This is a collection of extension:color mappings, suitable to use as your | |
# LS_COLORS environment variable. Most of them use the extended color map, | |
# described in the ECMA-48 document; in other words, you'll need a terminal |
This file contains 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
#!/bin/bash | |
DEBUG_FILE="debug.log" | |
LOG_FILE="info.log" | |
FAILURE=1 | |
SUCCESS=0 | |
# Outputs a message to the console | |
_print_msg () { |
This file contains 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
Show hidden characters
{ | |
"nocomma": false, | |
"esversion": 6, | |
"globals": [ { | |
"require": true, | |
"__dirname": true, | |
"process": true, | |
"module": true, | |
"console":, true | |
}] |
This file contains 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
packages: [ | |
"api-docs" | |
"atom-autocomplete-php" | |
"atom-beautify" | |
"atom-css-comb" | |
"atom-html-preview" | |
"atom-webbrowser" | |
"auto-detect-indentation" | |
"autoclose-html" | |
"autocomplete-html-entities" |
This file contains 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
Windows Registry Editor Version 5.00 | |
; | |
; Author: Hugo Monteiro | |
; Description: Customized puTTY settings | |
; URL : https://gist.github.com/hvmonteiro/6f1f2acd602c1db3c546fe30761a8d20 | |
; Last Changed: 17-04-2016 | |
; Installation: File to be imported/merged into Windows Registry | |
; Notes: LOCALE is configured to: ISO-8859-1:1998 (Latin-1, West Europe) - You can change it after import | |
; | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings] |
OlderNewer