I wanted to test PHP7 on my Debian Jessie install, but latest offered package in the repositories was 5.6.30+dfsg-0+deb8u1.
In order to install PHP 7.1 which was the latest at the time of this article, you need to add following repository by running following commands:
apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
Continue reading “Install PHP 7.1 on Debian Jessie ARM 64bit architecture”
Install the driver first from github:
sudo apt-get install git
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux
sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0
Continue reading “Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie”
After a long time I got the urge to code something for our bellowed Commodore 64. Since it’s a pain to do it on a real machine, it takes a lot of time to set everything up since I do not have permanent location for my C64 in the apartment.
Continue reading “Configure Sublime Editor with KickAss on Debian 8 Jessie”
To check which editor is set as default in your Debian distro you can do two things:
- in your favorite shell press CTRL+X+CTRL+E which will launch your default editor or
- use command update-alternatives –list-editor to list installed editors and you can expect result similar like this one:
# update-alternatives --list editor
To set for example vim.basic as your default editor you can use following command:
# update-alternatives --set editor /usr/bin/vim.basic
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in manual mode
Now if you again quick launch your editor with CTRL+X+CTRL+E you will notice that vim is invoked.
I do not use vim macros often, but they can be useful from time to time. But when I need them I always need to re-learn the shortcuts, so now I will summarize them in simple example which will create number list from 1. to 50.
Start your vim editor by typing:
Continue reading “Create incremental number list in vim with using simple macro”