This file contains hidden or 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
def get_according_elements(list_ipt): | |
list_of_results = [] | |
for base_el in range(len(list_ipt)): | |
if list_ipt[base_el] < 0: | |
continue | |
for el2 in range(len(list_ipt)): | |
if list_ipt[el2] > 0 or base_el == el2: | |
continue | |
if list_ipt[base_el] + list_ipt[el2] == 0: | |
list_of_results.append([list_ipt[base_el], list_ipt[el2]]) |
This file contains hidden or 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
export PATH="$PATH:$HOME/opt/homebrew/bin" | |
export PATH="$PATH:$HOME/.fzf/bin/" | |
export PATH="$PATH:$HOME/.local/bin/" | |
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
# Initialization code that may require console input (password prompts, [y/n] | |
# confirmations, etc.) must go above this block; everything else may go below. | |
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" |
OlderNewer