Skip to content

Instantly share code, notes, and snippets.

View vazgen6's full-sized avatar
👨‍💻
Probably Programming

Vazgen vazgen6

👨‍💻
Probably Programming
View GitHub Profile
@vazgen6
vazgen6 / setup-windows.ps1
Last active October 27, 2022 06:43
setup windows
# common
choco install googlechrome
choco install brave
choco install firefox
choco install thunderbird
choco install tor-browser
choco install 7zip.install
choco install sharex
# dev
@vazgen6
vazgen6 / connect-headset.sh
Last active March 2, 2022 17:57
Bluetooth pairing my headphoe is sometimes difficult, the following steps fixes the problems most of the times.
#!/bin/bash
rfkill unblock all
echo -e "power on\nexit\n" | bluetoothctl
sleep 2s
echo -e "disconnect\nexit" | bluetoothctl
sleep 3s
echo -e "connect REPLACE_WITH_MAC_ADDRESS\n" | bluetoothctl
@vazgen6
vazgen6 / change-mac.sh
Last active May 8, 2020 14:34
Changes mac address of given network interface name
#!/bin/bash
interface=$1
if [ -z "$interface" ]
then
echo "Please pass interface name"
echo "Example: ./change-mac wlan0"
exit
fi
@vazgen6
vazgen6 / vscode-extentions.sh
Last active February 29, 2024 15:22
My Favorite extentions for vscode and codium
# General Extentions
code --install-extension wayou.vscode-todo-highlight
code --install-extension EditorConfig.EditorConfig
code --install-extension michelemelluso.code-beautifier
code --install-extension kevinkyang.auto-comment-blocks
code --install-extension yzhang.markdown-all-in-one
code --install-extension ritwickdey.LiveServer
code --install-extension jeremyrajan.webpack
code --install-extension cssho.vscode-svgviewer
code --install-extension mikestead.dotenv
@vazgen6
vazgen6 / setup-manjaro.sh
Last active June 4, 2024 09:32
Setup my manjaro env
sudo pacman -Syu
sudo pacman -S base-devel
sudo pacman -S brave-browser
sudo pacman -S terminator
sudo pacman -S ltrace strace iotop sysstat iftop # debugging tools
sudo pacman -S net-tools
sudo pacman -S htop
sudo pacman -S xclip
sudo pacman -S yarn
@vazgen6
vazgen6 / settings.json
Last active March 31, 2023 06:39
My vscode settings.json
{
"editor.multiCursorModifier": "ctrlCmd",
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.rulers": [
90
],
"editor.fontLigatures": true,
"editor.fontFamily": "'Fira Code','Droid Sans Mono', 'monospace', 'Droid Sans Fallback', 'Noto Color Emoji'",
@vazgen6
vazgen6 / setup-debian.sh
Last active June 1, 2023 19:50
Debian Setup
#!/bin/bash
# Some Microsoft packages are still Ubuntu specific
# Make sure no other processes are running such as updates or installations that might block this installation
cd ~/Downloads
sudo apt update
sudo apt upgrade
sudo apt install curl apt-transport-https xclip git build-essential lm-sensors -y