Skip to content

Instantly share code, notes, and snippets.

View kalligator's full-sized avatar

Georgios K. kalligator

  • Greece
  • 00:36 (UTC +02: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 November 15, 2024 01:05
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 Ελλάδα
<?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 November 16, 2024 18:40
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
@ksenzee
ksenzee / grid_mixins.scss
Created December 8, 2017 22:49
Mixins that make it possible to use CSS Grid in IE 10/11 as well as in modern browsers. Based on mixins by Sascha Fuchs at https://medium.com/@gisugosu/css-grid-layout-spec-2-to-spec-1-transpiler-with-sass-415dff4dd31b.
/// Add Gap between the boxes
///
/// @author Sascha Fuchs
///
/// @group core - cssgrid
///
/// @param {list} $boxes - List with box sizes
/// @param {string} $gap - Optional column gap
@function box-gap($boxes, $gap) {
$box: ();