Skip to content

Instantly share code, notes, and snippets.

View henriquelemos0's full-sized avatar

Henrique Lemos Ribeiro henriquelemos0

View GitHub Profile

Mac Configuration details

ITerm2

Using Alt/Cmd + Right/Left Arrow

Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Click Preset... and choose Natural Text Editing.

# Mac Configuration details
## Iterm
### Using Alt/Cmd + Right/Left Arrow
Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Click Preset... and choose Natural Text Editing.

Splunk Commands

Timechart

Count two fields and show ratio

index="abc" 
mycontroller MethodName=name1 OR MethodName=name2 
| timechart count(eval(MethodName="name1")) as method1count count(eval(MethodName="name2")) as method2count span=1h 

LinuxCommands

Crypt

Encrypt

openssl enc -in secretfile -aes-256-cbc -pass stdin > secretfile.enc
@henriquelemos0
henriquelemos0 / debianDeepinSetup.md
Last active January 4, 2020 19:13
From vanilla deepin to basic coding tools

Debian Deepin Setup

Timezone and Keyboard

Use GUI to congigure:

  • Timezone: Sao_Paulo

  • Keyboard Layout: Portuguese (Brazil)