Category Archives: Uncategorized - Page 2

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

write cache enable ZFS COMSTAR

stmfadm modify-lu -p wcd=false LU

SSL installations

for NGINX you need a .cert file and the .key file

the .cert file contains the SSL cert at the beginning, followed by the intermediate certificate.

the key file is that used to generate the CSR.

omnios – disable fast shutdown

svccfg -s "system/boot-config:default" setprop config/fastreboot_default=false
svcadm refresh svc:/system/boot-config:default

 

Time Machine -> NAS

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

cPanel backups – force latest

/usr/local/cpanel/bin/backup

 

 

Zpool creations

Raid 10 with spare

zpool create tank mirror c13t1d2 c13t1d3 mirror c13t1d4 c13t1d5
zpool add tank spare c13t1d6

raidz1 with zil and l2arc

zpool create -f tank1 raidz1 c13t1d7 c13t2d0 c13t2d1 c13t2d2 c13t2d3 c13t2d4 c13t2d5 c13t2d6 c13t2d7 c13t3d1 c13t3d2 c13t3d3 c13t3d4 c13t3d5
zpool add tank1 log c13t4d0
zpool add -f tank1 cache c13t3d6

java 7 download

wget --no-cookies --no-check-certificate  --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.rpm"