Instance | Branch |
---|
This file contains 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
public static java.util.List<FileItem> listDirectoryAppend(File dir, java.util.List<FileItem> lista) { | |
if (dir.isDirectory()) { | |
String[] filhos = dir.list(); | |
for (int i = 0; i < filhos.length; i++) { | |
File nome = new File(dir, filhos[i]); | |
if (nome.isFile()) { | |
if (nome.getName().toUpperCase().endsWith(".GBK")) { | |
lista.add(new FileItem(nome)); | |
} | |
} else if (nome.isDirectory()) { |
This file contains 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
[alias] | |
# Fetch all and prune branches | |
fp = fetch -p | |
fap = fetch --all -p | |
## ASSUME UNCHANGED: warning - to checkout to another commit remember to call *git update-index --no-assume-unchange <file>* to keep track of the file again | |
# List all files assumed as unchanged | |
ignored = !git ls-files -v | grep "^[[:lower:]]" | |
# Assume file unchanged | |
ignore = "!f() { git update-index --assume-unchanged \"$1\" \"$1\"; }; f" |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains 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
{ | |
"workbench.colorTheme": "Dracula", | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace", | |
"workbench.iconTheme": "material-icon-theme", | |
"editor.fontLigatures": true, | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"workbench.startupEditor": "newUntitledFile", | |
"emmet.includeLanguages": { | |
"javascript": "javascriptreact", | |
"vue-html": "html", |
This file contains 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
#!/bin/bash | |
# Adicione um novo remote; pode chamá-lo de "upstream": | |
git remote add upstream https://github.com/usuario/projeto.git | |
# Obtenha todos os branches deste novo remote, | |
# como o upstream/master por exemplo: | |
git fetch upstream |
This file contains 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
using System; | |
using System.Text; | |
namespace AdrianoKerber.Converter | |
{ | |
public static class Base64Converter | |
{ | |
public static string FromStringToBase64(string stringValue) | |
{ | |
if (string.IsNullOrWhiteSpace(stringValue)) |
This file contains 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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": | |
{ | |
"action": "copy", | |
"singleLine": false |