Skip to content

Instantly share code, notes, and snippets.

View kalligator's full-sized avatar

Georgios K. kalligator

  • Greece
  • 11:57 (UTC +03:00)
View GitHub Profile
@janasco
janasco / AnyDesk-Reset.cmd
Created August 3, 2023 09:46
AnyDesk Reset
@echo off & setlocal enableextensions
title Reset AnyDesk
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit)
chcp 437
call :stop_any
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf"
del /f "%APPDATA%\AnyDesk\service.conf"
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\"
rd /s /q "%temp%\thumbnails" 2>NUL
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails"
@svandragt
svandragt / hideothers.sh
Created October 26, 2022 15:35
Hide others for elementary / ubuntu.
#!/bin/bash
# hideothers.sh
active_window_id=$(xdotool getactivewindow)
for window_id in $(xdotool search --onlyvisible ".*")
do
if [ $window_id != $active_window_id ]
then
wname=$(xdotool getwindowname $window_id)
if [ "$wname" != "" ] && [ "$wname" != "plank" ] && [ "$wname" != "io.elementary.wingpanel" ]
@the-spyke
the-spyke / pipewire.md
Last active July 30, 2025 20:58
Enable PipeWire on Ubuntu 22.04

Enable PipeWire on Ubuntu 22.04

This guide is only for original Ubuntu out-of-the-box packages. If you have added a custom PPA like pipewire-debian, you might get into conflicts.

Ubuntu 22.04 has PipeWire partially installed and enabled as it's used by browsers (WebRTC) for recoding the screeen under Wayland. We can enable remaining parts and use PipeWire for audio and Bluetooth instead of PulseAudio.

Starting from WirePlumber version 0.4.8 automatic Bluetooth profile switching (e.g. switching from A2DP to HSP/HFP when an application needs microphone access) is supported. Jammy (22.04) repos provide exactly version 0.4.8. So, we're good.

Based on Debian Wiki, but simplified for Ubuntu 22.04.

@assoscoupa
assoscoupa / Municipalities-Of-Greece.csv
Last active September 22, 2023 23:41
Municipalities Of Greece
Δήμος Κωδ Περιφ Ενότητας Περιφερειακή Ενότητα Κωδικός Χώρας Χώρα
Αμφιλοχίας ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Ακτίου-Βόνιτσας ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Ξηρομέρου ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Ιεράς Πόλεως Μεσολογγίου ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Αγρινίου ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Θέρμου ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Ναυπακτίας ΑΙΤ Αιτωλοακαρνανίας GR Ελλάδα
Δήμος Άργους - Μυκηνών ΑΡΓ Αργολίδας GR Ελλάδα
Ναυπλιέων ΑΡΓ Αργολίδας GR Ελλάδα
@rjekic
rjekic / wp.sh
Last active March 18, 2025 20:48 — forked from bgallagh3r/wp.sh
Wordpress: Bash Install Script using wp-cli
#!/bin/bash -e
clear
echo "============================================"
echo "WordPress Install Script"
echo "============================================"
# Gathering database login credentials from user input
read -p "Database Host: " dbhost
read -p "Database Name: " dbname
read -p "Database User: " dbuser
<?php
$curl = curl_init();
curl_setopt ($curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($curl, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt_array($curl, array(
CURLOPT_URL => "https://api.cloudflare.com/client/v4/zones?status=active&match=all",
CURLOPT_RETURNTRANSFER => true,
@quequotion
quequotion / .Xresources
Last active December 4, 2022 04:25
[Pantheon {3D,Lite}] Dotfiles
Xcursor.theme: elementary
Xcursor.size: 48
@Surendrajat
Surendrajat / elementaryos.md
Last active December 2, 2021 21:16 — forked from suberb/elementaryos.md
elementaryOS | Things I Do After Installing elementary OS Hera

First Things First

  • Enable PPA

     sudo apt update
     sudo apt install software-properties-common apt-transport-https curl
  • Install apt-fast [Yes! it's really fast]

@trongthanh
trongthanh / apply-pantheon-terminal-color.sh
Created October 18, 2018 03:39
Apply custom color theme for Pantheon Terminal ver 5.3+
#!/bin/bash
# Apply custom color theme for Pantheon Terminal ver 5.3+
# 1) preview and choose a color theme from http://mayccoll.github.io/Gogh/
# 2) open the equivalent bash file containing the color values at https://github.com/Mayccoll/Gogh/tree/master/themes
# 3) concatenate all 16 colors at the top with colon ":", then replace it at the palette variable below
# 4) replace color for foreground, background, and cursor; choose whether your theme is light or dark
# 5) sudo apt-get install dconf-tools
# 6) execute this script
@nzec
nzec / README.MD
Last active August 4, 2025 00:23
DeezLoader Offical Page

Thanks to /u/zpoo32 for reporting several issues in this list!

Deemix

  • deemix: just the cli and the library
  • deemix-pyweb: the app with a GUI
  • deemix-server: just the server part of deemix-pyweb