In the end of your original .gitconfig add includeIf with the directory where your .gitconfig-B will be applied:
# ref https://dzone.com/articles/how-to-use-gitconfigs-includeif
# when gitdir matchs, then use .gitconfig-B| #!/bin/sh | |
| echo "Downloading latest version for linux 32bits in pt-BR" | |
| wget -v --content-disposition "https://download.mozilla.org/?product=firefox-latest&os=linux&lang=pt-BR" -O - | tar -xvj | |
| echo "Removing" | |
| rm -Rf /usr/lib/firefox |
In the end of your original .gitconfig add includeIf with the directory where your .gitconfig-B will be applied:
# ref https://dzone.com/articles/how-to-use-gitconfigs-includeif
# when gitdir matchs, then use .gitconfig-B| import ast | |
| import logging | |
| import sys | |
| import unittest | |
| from io import BytesIO | |
| class TestFormatterMessagesOutputs(unittest.TestCase): | |
| def setUp(self): | |
| logging.basicConfig( level=logging.INFO) |
select a.*, b.id from
(
select * from (
select regexp_substr('TC,HBO,FUT','[^,]+',1,level) element, level as lvl
from dual connect by level <= length(regexp_replace('TC,HBO,FUT','[^,]+')) + 1
)
PIVOT ( MAX(element) FOR lvl IN (1,2,3)) mypivot
) a, something.table b | #!/bin/bash | |
| # Usage: slackpost <token> <channel> <message> | |
| # Enter the name of your slack host here - the thing that appears in your URL: | |
| # https://slackhost.slack.com/ | |
| slackhost=PUT_YOUR_HOST_HERE | |
| token=$1 |
| if __name__ == '__main__': | |
| pass |
(NB: adapted from this Ask Ubuntu thread -- tested to work with Ubuntu 16 LTS branches and Ubuntu 17.10)
Unlike using VMWare Tools to enable Linux guest capabilities, the open-vm-tools package doesn't auto-mount shared VMWare folders. This can be frustrating in various ways, but there's an easy fix.
Install open-vm-tools and run:
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other