The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55
will be the first on the list, already selected:
🇧🇷 [pt-BR]
# If you work with git, you've probably had that nagging sensation of not knowing what branch you are on. Worry no longer! | |
export PS1="\\w:\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)\$ " | |
# This will change your prompt to display not only your working directory but also your current git branch, if you have one. Pretty nifty! | |
# ~/code/web:beta_directory$ git checkout master | |
# Switched to branch "master" | |
# ~/code/web:master$ git checkout beta_directory | |
# Switched to branch "beta_directory" |
# Options for GnuPG | |
# Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | |
# | |
# This file is free software; as a special exception the author gives | |
# unlimited permission to copy and/or distribute it, with or without | |
# modifications, as long as this notice is preserved. | |
# | |
# This file is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the | |
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
# Maintainer: Dennis E. Mungai <[email protected]> | |
pkgname=nvidia-prime | |
pkgver=0.7 | |
pkgrel=1 | |
pkgdesc="Tools to enable NVIDIA's Prime." | |
url="https://launchpad.net/ubuntu/+source/nvidia-prime" | |
arch=('x86_64' 'i686') | |
license=('GPLv3') | |
depends=('lightdm' 'bbswitch' 'python' 'bash') | |
optdepends=('nvidia' 'lightdm-gtk3-greeter') |
package nl.tudelft.ewi.gitolite.config.util; | |
import com.google.common.collect.ArrayListMultimap; | |
import com.google.common.collect.HashMultimap; | |
import com.google.common.collect.LinkedHashMultimap; | |
import com.google.common.collect.Multimap; | |
import com.google.common.collect.TreeMultimap; | |
import lombok.AccessLevel; | |
import lombok.AllArgsConstructor; | |
import lombok.Value; |
The Github doesn't provide country code for Brazil (+55). To add this option, just run the code below in your console. The option Brazil +55
will be the first on the list, already selected:
🇧🇷 [pt-BR]
NetworkManager supports WiFi powersaving but the function is rather undocumented.
From the source code: wifi.powersave can have the following value:
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
#!/bin/bash | |
# shebang added only to appease shellcheck | |
# Cross-platform for bash. | |
# Worry less about when writting a script that must run on Windows and Linux. | |
# Meant to be used with "source" command in scripts or .bashrc/.zshrc | |
export USER="${USER:-${USERNAME:-$(whoami)}}" | |
export USERNAME="${USERNAME:-$USER}" | |
export HOSTNAME="${HOSTNAME:-${MACHINENAME:-$(hostname)}}" |