Skip to content

Instantly share code, notes, and snippets.

View erkobridee's full-sized avatar

Erko Bridee erkobridee

View GitHub Profile
/*
useful references:
String.prototype.replace()
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace
https://alligator.io/js/string-replace/
Encode and Decode HTML entities using pure Javascript
https://ourcodeworld.com/articles/read/188/encode-and-decode-html-entities-using-pure-javascript
@erkobridee
erkobridee / xgh_future_of_agile_methodology.md
Last active November 6, 2023 09:07
refs on XGH - extreme go horse

Why 'Extreme Go Horse' Is the Future of Agile Methodology | The Wibble

31 May 2023, 07:05

Move over Scrum, there's a new agile method in town: Extreme Go Horse! But what makes it so extreme?

Firstly, let's start with sprints. In Scrum, we have these things called "sprints" where we try to do as much work as possible in a set time. But in Extreme Go Horse, we do galloping sprints! That's right, you read that correctly. We gallop like horses to get things done. Not only is it great exercise, but it's also a unique bonding experience. Who needs team-building exercises when you can gallop like a bunch of wild stallions?

But that's not all. In Extreme Go Horse, we have something called "neigh-sayers". These are the people who constantly bring the team down with their negative attitudes. But in Extreme Go Horse, we don't listen to neigh-sayers. Instead, we neigh back at them! It's a great way to shut down negativity and boost team morale.

@erkobridee
erkobridee / mercado_financeiro.md
Last active August 23, 2023 17:32
mercado financeiro, informações úteis
// 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
# 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