Skip to content

Instantly share code, notes, and snippets.

Avatar

Erko Bridee erkobridee

View GitHub Profile
@erkobridee
erkobridee / maven-util-cmds.md
Created August 7, 2012 18:10
comandos úteis para uso do maven
View maven-util-cmds.md

#Comandos úteis do Maven

Criação de Projeto

desktop java (jar)

mvn archetype:generate \
  -DarchetypeGroupId=org.apache.maven.archetypes \
 -DarchetypeArtifactId=maven-archetype-quickstart \
View 01_learning_tips.md

"Any sufficiently advanced technology is indistinguishable from magic." by - Arthur C. Clarke | CCCB LAB

Arthur C. Clarke was a scientist, science writer and author of science fiction stories and novels. This quote of his reflects on the early beginnings of technology and offers us a way of linking up the two exhibitions that have been held this year at the CCCB: Black Light and Stanley Kubrick.

this quote it's also refered on [YouTube] Why Magic Systems don't feel Magical | Tale Foundry - 2023-05-31

Learning

@erkobridee
erkobridee / 01__second-brain-system.md
Last active August 25, 2023 02:50
Second Brain System and productive useful references
View 01__second-brain-system.md

@erkobridee
erkobridee / mercado_financeiro.md
Last active August 23, 2023 17:32
mercado financeiro, informações úteis
View mercado_financeiro.md
View sanitizeFilename.ts
// it also supports extensions like .tar.gz
export const getFileExtension = (filename: string) =>
(filename.match(/(\.([^.]*?)(\.([^.]*?))?)(?=\?|#|$)/) || [])[1] ?? "";
//---===---//
/* eslint-disable */
const SANITIZE_FILENAME_REGEXP = {
NO_LEFT_SPACES: /^\s+/g,
NO_SEQ_DOTS: /\.+/g,
@erkobridee
erkobridee / git_repo_backup.sh
Last active July 4, 2023 07:38
useful way to backup a whole repository from on remote to another remote server on an Unix base system
View git_repo_backup.sh
# define a full backup of a git repository from one remote server to another one
origin="https://remote-source/repository.git";
target="https://remote-target/repository.git";
workDir="temp-directory";
mkdir $workDir