Skip to content

Instantly share code, notes, and snippets.

View sdurandeu's full-sized avatar
💭
In London

Sebastian Durandeu sdurandeu

💭
In London
View GitHub Profile
@sdurandeu
sdurandeu / BashScripts.md
Created February 5, 2021 13:57
Bash Scripts

Replace an environment variable with sed

sed -i "" -e "s/RELEASE_DATE=.*/RELEASE_DATE=$(date +%F)/g" ./.env
@sdurandeu
sdurandeu / GreatTechContent.md
Last active October 8, 2023 18:49
Great Tech Content

Great Lists

General

@sdurandeu
sdurandeu / GitTips.md
Last active October 14, 2023 10:06
GitTips

Nice Hacks

Migrate from Bitbucket to GitHub

  1. Make sure your SSH public key is here: https://github.com/settings/keys (you will find a .pub file in ~/.ssh in your machine)
  2. Make sure you have custom routing for your new organization email (https://github.com/settings/notifications)
  3. Run git config --global user.email and git config --global user.name to make sure your name and email are correct
  4. Use the GitHub Import tool (temporarily remove 2-factor auth from BitBucket account) as this will migrate all the branches/tags, etc.
@sdurandeu
sdurandeu / MobileDevTools.md
Last active August 26, 2021 08:24
Mobile Dev Tools
@sdurandeu
sdurandeu / OnlineToolsSites.md
Last active January 20, 2023 23:00
Online Tools and Sites
@sdurandeu
sdurandeu / node.md
Last active August 16, 2021 15:44
Node.js/Javascript
@sdurandeu
sdurandeu / nginx.md
Created July 9, 2019 13:52
Nginx Tips

Root Directive

For this directive:

location /.well-known {
  root /var/www/html;
  allow all;
}
@sdurandeu
sdurandeu / BotFramework.md
Last active July 30, 2019 21:47
Bot Framework
@sdurandeu
sdurandeu / terms.md
Last active August 12, 2020 08:04
Software Engineering Terms That Need Translation

canary (canary test, canary deployment): In software testing, a canary is a push of programming code changes to a small group of end users who are unaware that they are receiving new code. Because the canary is only distributed to a small number of users, its impact is relatively small and changes can be reversed quickly should the new code prove to be buggy. Canary tests, which are often automated, are run after testing in a sandbox environment has been completed.

greenfield: In many disciplines a greenfield project is one that lacks constraints imposed by prior work. The analogy is to that of construction on greenfield land where there is no need to work within the constraints of existing buildings or infrastructure.

BCDR: Business continuity and disaster recovery

Cattle-not-pets: You should treat your servers as cattle, not pets. Servers are immutable. Once created they cannot be changed. To be changed they need to be generated.

Mozilla: The name "Mozilla" was already in use at Nets