Skip to content

Instantly share code, notes, and snippets.

View ananeridev's full-sized avatar
🎯
focusing

Ana Neri ananeridev

🎯
focusing
View GitHub Profile
@hamidzr
hamidzr / sof-audio-setup-carbonx1.sh
Last active June 2, 2023 01:43
Lenovo Carbon X1 Gen 7 - Audio and microphone fix - https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_X1_Carbon_(Gen_7) might be all you need.
#!/bin/bash
# README You probablyl don't need this script anymore. Please read the comments below to catch up.
## Description
# Lenovo Carbon X1 Gen 7 - Audio and microphone fix - kernel 5.3+ required.
# The script has only been tested for Arch and OpenSuse,
# Original thread: https://forums.lenovo.com/t5/Ubuntu/Guide-X1-Carbon-7th-Generation-Ubuntu-compatability/td-p/4489823
# Prereq: Install Linux 5.3 or newer
@carlosanders
carlosanders / dicas.md
Last active January 29, 2022 03:52
teclas atalhos

Teclas de atalhos do IntelliJ IDEA/PHPStorm, Eclipse, Sublime Text, Notepad++ e Visual Studio Code.

VSCODE

Geral:
Ctrl + Shift + P     Paleta de comando F1 Show
Ctrl + P             Quick Open, vá para o arquivo
Ctrl + Shift + N    Nova janela / instância
Ctrl + Shift + W   Fechar janela / instância
aws ec2 create-security-group --group-name jenkins-group --description "security group for CI in EC2"
# sg-2452a250
MY_IP=$(curl ipinfo.io/ip)
aws ec2 authorize-security-group-ingress --group-name jenkins-group \
--protocol tcp --port 8080 --cidr $MY_IP/32 \
aws ec2 authorize-security-group-ingress --group-name jenkins-group \
--protocol tcp --port 22 --cidr $MY_IP/32

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@leocomelli
leocomelli / git.md
Last active June 27, 2024 20:12
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@branflake2267
branflake2267 / BlcExample_HBoxContainerLayout.java
Created May 20, 2014 18:56
GXT 3.1 Border Layout Container with Horizontal Box Container Layout Example
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;
import com.sencha.gxt.core.client.util.Margins;
import com.sencha.gxt.widget.core.client.container.BorderLayoutContainer;
import com.sencha.gxt.widget.core.client.container.BorderLayoutContainer.BorderLayoutData;
import com.sencha.gxt.widget.core.client.container.BoxLayoutContainer.BoxLayoutData;
import com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer;
import com.sencha.gxt.widget.core.client.container.HBoxLayoutContainer.HBoxLayoutAlign;