Skip to content

Instantly share code, notes, and snippets.

@adielcristo
Last active November 3, 2023 01:33
Show Gist options
  • Save adielcristo/5d5d92099be062b5d9bc28039212fcef to your computer and use it in GitHub Desktop.
Save adielcristo/5d5d92099be062b5d9bc28039212fcef to your computer and use it in GitHub Desktop.
php-doc-pt-br-random-notes

Notes

Commands

Git

  • Do a partial commit:
git add -p <file>
y - stage this hunk
n - do not stage this hunk
q - quit; do not stage this hunk or any of the remaining ones
a - stage this hunk and all later hunks in the file
d - do not stage this hunk or any of the later hunks in the file
g - select a hunk to go to
/ - search for a hunk matching the given regex
j - leave this hunk undecided, see next undecided hunk
J - leave this hunk undecided, see next hunk
k - leave this hunk undecided, see previous undecided hunk
K - leave this hunk undecided, see previous hunk
s - split the current hunk into smaller hunks
e - manually edit the current hunk
? - print help
  • Get file commit SHA:
git ls-files -s <file>
  • Add commits to a pull request:
git remote add <remote> git@github.com:<repo>.git
git fetch <remote>
git checkout -b <local-name> <remote>/<remote-branch>
git commit -m "Fix how you spelt towel"
git push <remote> HEAD:<remote-branch>

Tags

  • <!ENTITY>
  • <acronym>
  • <caution>
  • <classname>
  • <code>
  • <command>
  • <emphasis>
  • <entry>
  • <envar>
  • <filename>
  • <formalpara>
  • <function>
  • <link>
  • <note>
  • <para>
  • <parameter>
  • <row>
  • <screen>
  • <simpara>
  • <superscript>
  • <tip>
  • <type>
  • <xref>
  • <warning>

Glossary

term translation context
alias apelido
array array (matriz?)
autoloader autoloader (carregador automático?)
background segundo plano
backtrace pilha de execução
binary-safe compatível com dados binários
bitwise bit a bit
built compilado
buffer buffer
cached armazenado em cache
candle candle trading
case-insensitively sem fazer distinção entre maiúsculas e minúsculas
callable callable
callback callback (função/método de retorno de chamada?)
compile time tempo de compilação
collation collation databases
clojure clojure (f.) functions
cluster cluster servers
deprecated se tornar obsoleto
firewall firewall
flag flag
issue (v.) emitir
embed (s.) incluído
engine mecanismo
engine (compile engine) motor de compilação
evaluate avaliar
fallback recorrer
feature recurso, funcionalidade
flag flag
fuzz fuzz (imagem)
handle lidar com
handler manipulador
hash hash
header cabeçalho
i.e. ou seja,
issue emite
internal output buffering buffer de saída interno
language construct construção da linguagem
locale localidade
mailbox caixa de entrada
match corresponder
multiple vários, múltiplos
namespace namespace
output saída, produzir, enviar
parse analisa, interpreta
random seed semente aleatória
random seeding geração aleatória de sementes
read concern read concern MongoDB
refer consulte
resource recurso de ...
required necessário, obrigatório
rely on depender de
set to definido como
see consulte
see also veja também (consulte também?)
is set to the value é definida como
sorting ordenação
standalone independente
statement declaração
stream stream (fluxo?)
stream context contexto de stream
string string
strongly discouraged altamente desaconselhado
thread safety thread safety Zend Engine
throw lançar
timestamp timestamp
timezone fuso horário
typed mode modo tipado
userspace criado pelo usuário
worker worker
wrapper wrapper
write concern write concern MongoDB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment