Source: https://wiki.archlinux.org/index.php/PostgreSQL
-
Install postgresql package
sudo pacman -S postgresql
-
Switch to the postgres user account and initialize the database cluster:
sudo -iu postgres
Source: https://wiki.archlinux.org/index.php/PostgreSQL
Install postgresql package
sudo pacman -S postgresql
Switch to the postgres user account and initialize the database cluster:
sudo -iu postgres
#!/bin/bash | |
sudo mount -o remount,size=10G,noatime /tmp | |
echo "Done. Please use 'df -h' to make sure folder size is increased." |
If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
Based on this blogpost.
Install with Homebrew:
$ brew install postgresql@14
(The version number 14
needs to be explicitly stated. The @
mark designates a version number is specified. If you need an older version of postgres, use postgresql@13
, for example.)
#!/usr/bin/env python | |
# embedding_in_qt5.py --- Simple Qt4 application embedding matplotlib canvases | |
# | |
# Copyright (C) 2005 Florent Rougon | |
# 2006 Darren Dale | |
# with Updates from @boxcontrol | |
# <http://www.boxcontrol.net/embedding-matplotlib-plot-on-pyqt5-gui.html> | |
# <https://github.com/boxcontrol/matplotlibPyQt5> | |
# |
I have a secret that saves my clients a ton of money in the long run, keeps their website secure and has built in backups. I make their website static. I, then, store and host it with Github, and I finally use Cloudflare to serve it over HTTPS, and make it fast. My clients only ever pay for their domain name.
[TOC]
#!/bin/bash | |
ALARM='today 22:45' | |
SOUND='/home/sasha/Музика/' | |
sudo rtcwake -d rtc0 -m mem -t $(date +%s -d "$ALARM") -v && vlc -L $SOUND |