$ sudo install -o redis -g redis -d /var/lib/redis2
$ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf
#!/bin/bash | |
## config | |
backupFoldersList=" | |
/home/user/projects/project-name | |
" | |
backupDstFolder="/home/user/projects-dump" | |
## /config | |
targetFolder="dump-$(date +%Y-%m-%d_%H%M%S)" |
#Requires -version 2.0 | |
## Stupid PowerShell Tricks | |
################################################################################################### | |
add-type @" | |
using System; | |
using System.Runtime.InteropServices; | |
public class Tricks { | |
[DllImport("user32.dll")] | |
private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); | |
/* this is the box (and the version) that we want to download from: https://app.vagrantup.com/debian/boxes/jessie64 */ | |
wget https://app.vagrantup.com/debian/boxes/jessie64/versions/8.9.0/providers/virtualbox.box -O debian-jessie64-8.9.0.box | |
/* add the box to vagrant */ | |
vagrant box add debian/jessie64 debian-jessie64-8.9.0.box | |
/* update box version */ | |
cd ~/.vagrant.d/boxes/debian-VAGRANTSLASH-jessie64/ | |
mv 0 8.9.0 |
First things first you need to have a new ish bluetooth adapter I have found in my testing.
It may need to be bluetooth 4 compatible I am not sure but my laptop and phone worked whereas my desktop using a £1 dongle did not.
Once you get a successful pair you may notice the controller still has a blinking light. If this is the case see below.
Install sysfsutils
sudo apt-get install sysfsutils
So, you hate using a terminal? That might be, because you use the arrow keys to navigate character by character through a long command just to change a paramater at the other end of the line, right? Here's a list of my most-used bash & zsh shortcuts, that will definitely boost your productivity and will help you to improve your command line experience.
Shortcut | Action |
---|---|
CTRL + A |
Move to the beginning of the line |
Для обхода блокировки достаточно отправить 1 любой udp пакет, тем самым нарушим начальное определение протокола WireGuard
Способ с использованием Windows PowerShell. Без скачивания Nmap и подобного софта.
Добавим в него "ListenPort", это позволит иметь статичный порт на котором будет работать WireGuard
Нажмите ПКМ на нужный "туннель" и выберите "Редактировать выбранный туннель..."
После DNS добавляем новую строку