Archive

Archive for April, 2019

brave browser – The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software

April 30, 2019 Leave a comment

Problem:
Got the following error when trying to update. Mainly an issue with brave browser.


$ sudo apt-get update
...
snip
...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com bionic InRelease: The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/bionic/InRelease The following signatures were invalid: EXPKEYSIG 4FE13824E3FFC656 Brave Software
W: Some index files failed to download. They have been ignored, or old ones used instead

Solution:
$ gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4FE13824E3FFC656
$ gpg --export --armor 4FE13824E3FFC656 | sudo apt-key add -

Source:
https://askubuntu.com/questions/13065/how-do-i-fix-the-gpg-error-no-pubkey

Note:
Running on Ubuntu 18.0

5 useful Vim plugins for developers

April 28, 2019 Leave a comment

I have used Vim as a text editor for over 20 years, but about two years ago I decided to make it my primary text editor. I use Vim to write code, configuration files, blog articles, and pretty much everything I can do in plaintext. Vim has many great features and, once you get used to it, you become very productive.

I tend to use Vim’s robust native capabilities for most of what I do, but there are a number of plugins developed by the open source community that extend Vim’s capabilities, improve your workflow, and make you even more productive.

Following are five plugins that are useful when using Vim to write code in any programming language.

1. Auto Pairs
2. NERD Commenter
3. Vim Surround
4. Vim Gitgutter
5. Vim Fugitive

https://opensource.com/article/19/1/vim-plugins-developers

Categories: vim Tags:

Think Like (a) Git — a guide for the perplexed

April 23, 2019 1 comment

GIT Shouldn’t Be So Hard to Learn.

When you’re just getting started, something as straightforward as a merge can be terrifying. It can take a long time to really become comfortable using some of Git’s more advanced features. (It took me a year or two.)

Once people achieve some level of Git enlightenment, they tend to make statements of the form ‘Git gets a lot easier once you realize X’ — but that doesn’t do much for people staring up Git’s steep learning curve.

My goal with this site is to help you, Dear Reader, understand what those smug bastards are talking about.

Let’s get started, shall we?

http://think-like-a-git.net/

Categories: Interesting

A SQLAlchemy Cheat Sheet

April 12, 2019 Leave a comment

Introduction

SQLAlchemy is a deep and powerful thing made up of many layers. This cheat sheet sticks to parts of the ORM (Object Relational Mapper) layer,and aims to be a reference not a tutorial. That said, if you are familiar with SQL then this cheat sheet should get you well on your way to understanding SQLAlchemy.

https://www.codementor.io/sheena/understanding-sqlalchemy-cheat-sheet-du107lawl

Categories: Interesting Tags:

https://techdevguide.withgoogle.com/

April 4, 2019 Leave a comment

Whether you’re a student, an educator, or otherwise interested in software engineering, newer to computer science or a more experienced coder, we hope there’s something for you here in Google’s Guide to Technical Development

https://techdevguide.withgoogle.com/

Categories: Interesting