Skip to content

Instantly share code, notes, and snippets.

View ijin82's full-sized avatar
📺
https://youtu.be/1IInu3GafkM

Ilya Rogojin ijin82

📺
https://youtu.be/1IInu3GafkM
View GitHub Profile
@ijin82
ijin82 / xbox-one-controller-bluetooth-ubuntu-fix.md
Created July 14, 2024 20:04 — forked from 2E0PGS/xbox-one-controller-bluetooth-ubuntu-fix.md
Fix to pair Xbox One S Bluetooth controller on Ubuntu

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

@ijin82
ijin82 / download_vagrant_box.sh
Created November 8, 2021 03:20 — forked from firmanelhakim/download_vagrant_box.sh
How to Download Vagrant Box Manually
/* 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
@ijin82
ijin82 / grafana_telegram_bot.md
Created February 24, 2021 18:07 — forked from ilap/grafana_telegram_bot.md
Grafana Telegram Alert

Config Telegrambot for grafana's alerts.

1. Create bot

Open Telegram and search for @BotFather user and message them the following:

You
/newbot 

BotFather
@ijin82
ijin82 / second-redis-service.md
Last active March 20, 2019 16:08 — forked from inecmc/notes.md
How to run multiple Redis instances on Ubuntu 16.04, 18.04

Create the directory for the new instance

$ sudo install -o redis -g redis -d /var/lib/redis2

Create a new configuration file

$ sudo cp -p /etc/redis/redis.conf /etc/redis/redis2.conf