Category Archives: Uncategorized

Git remember credentials

git config –global credential.helper cache

error starting domain: requested operation is not valid: network ‘default’ is not active

sudo virsh net-start default

docker

  1. Stop the container(s) using the following command:docker-compose down
  2. Delete all containers using the following command:docker rm -f $(docker ps -a -q)
  3. Delete all volumes using the following command:docker volume rm $(docker volume ls -q)
  4. Restart the containers using the following command:docker-compose up -d

git credentials

sick of having to manually enter your git credentials?

execute the following in your repo and your cred’s will be stored locally

git config credential.helper store

Kill all nginx processes

sudo fuser -k 443/tcp && sudo fuser -k 80/tcp

PHP UNIT run single test

./vendor/bin/phpunit –filter  testClientList ClientTest tests/Feature/ClientTest.php

Access Vuex Properties / Getters

I found it difficult to find how exactly to access a Vuex getter when using a namespace, here is a clean snippet

Directly access the property with:

this.$store.state.client_list.getters.getBlob

Access the getter with:

this.$store.getters['client_list/getBlob'])

TS 2585 TypeScript compile error: ‘Promise’ only refers to a type, but is being used as a value here

https://github.com/ReactiveX/rxjs/issues/2422

Invoice Ninja

I just found http://www.invoiceninja.com which is an awesome open source, free invoice platform which integrates with a huge array of payment gateways, including Stripe.

Find out more about Invoice Ninja and its beautiful invoicing system below!

Invoice Ninja

Free Open-Source Online Invoicing

Documentation

VMWare install MLX drives

remove existing mlx drivers

esxcli software vib remove -n net-mlx4-en
esxcli software vib remove -n net-mlx4-core

install new ones.
esxcli software vib install -d /path/to/zip/file