podman build -f archlinux -t "archlinux:toolbox"
toolbox create --container archlinux --image "archlinux:toolbox"
/*! | |
* @name Readthedocs | |
* @namespace http://userstyles.org | |
* @description Styles the documentation pages hosted on Readthedocs.io | |
* @author Anthony Post | |
* @homepage https://userstyles.org/styles/142968 | |
* @version 0.20170529055029 | |
* | |
* Modified by Aloïs Dreyfus: 20200527-1037 | |
* Modified by Erik Kalkoken: 20220615 |
- hosts: localhost | |
connection: local | |
tasks: | |
- name: Gather facts on a specific container | |
containers.podman.podman_container_info: | |
name: | |
- fedora-toolbox-33 | |
- fedora-toolbox-34 | |
register: toolbox_facts | |
#!/bin/sh | |
# Run this script, then install the debuginfo packages with: | |
# sudo dnf debuginfo-install PACKAGE | |
set -e | |
tmp=$(mktemp -d) | |
cleanup () { | |
rm -rf $tmp | |
} |
function! Cscope(option, query) | |
let color = '{ x = $1; $1 = ""; z = $3; $3 = ""; printf "\033[34m%s\033[0m:\033[31m%s\033[0m\011\033[37m%s\033[0m\n", x,z,$0; }' | |
let opts = { | |
\ 'source': "cscope -dL" . a:option . " " . a:query . " | awk '" . color . "'", | |
\ 'options': ['--ansi', '--prompt', '> ', | |
\ '--multi', '--bind', 'alt-a:select-all,alt-d:deselect-all', | |
\ '--color', 'fg:188,fg+:222,bg+:#3a3a3a,hl+:104'], | |
\ 'down': '40%' | |
\ } | |
function! opts.sink(lines) |
# -*- coding: utf-8 -*- | |
"""Example Google style docstrings. | |
This module demonstrates documentation as specified by the `Google Python | |
Style Guide`_. Docstrings may extend over multiple lines. Sections are created | |
with a section header and a colon followed by a block of indented text. | |
Example: | |
Examples can be given using either the ``Example`` or ``Examples`` | |
sections. Sections support any reStructuredText formatting, including |
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
Bom, este é um recurso, como muitos outros, bem escondido do git. Então resolvi fazer um post para explicar a situação em que pode-se usar e como fazer essa magia negra. 👻
Você provavelmente já adicionou algum dia um arquivo no projeto que não deveria ser commitado certo? E como você fez para ignorar esse arquivo mesmo? Provavelmente adicionou no arquivo .gitignore
.
OK então, aí você commitou esse arquivo .gitignore
e pronto, mais ninguém poderá criar um arquivo com o mesmo nome e commitar. Mas espera aí! Não era isso que você queria! Você só queria ignorar esse arquivo na sua máquina, se alguém, algum dia por obséquio achar esse um nome bom para seu arquivo, que assim seja.