Skip to content

Instantly share code, notes, and snippets.

View spotlesstofu's full-sized avatar

Camilla Conte spotlesstofu

View GitHub Profile
@DewaldDeJager
DewaldDeJager / README.md
Last active April 8, 2025 20:50
Easy GitHub workflow for keeping a fork in sync with upstream

Sync Fork

This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml.

It runs daily to sync the default branch and can be triggered manually for any branch.

@pooladkhay
pooladkhay / wayland-blurry-fix.md
Last active February 27, 2025 21:20
VSCode blurry text under Wayland

Source: https://wiki.archlinux.org/title/Visual_Studio_Code#Blurry_text_under_Wayland

Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens.

In order to fix this issue you need to force Electron to run under Wayland by adding --enable-features=UseOzonePlatform --ozone-platform=wayland, for example you'll be launching VSCode like

$ code --enable-features=UseOzonePlatform --ozone-platform=wayland

This fix can be made permanent by creating a .desktop file or by directly editing /usr/share/applications/visual-studio-code.desktop

@aureamunoz
aureamunoz / MLG-howto.md
Last active September 10, 2024 12:26 — forked from nandosola/MLG-howto.md
Málaga tips (from a local)

Moverse

A y desde el Centro

Alameda Principal y Plaza de la Merced son los puntos más céntricos accesibles por tte. público.

Metro

La Térmica está cerca de la estación de La Luz-La Paz. Para ir al centro, bájate en El Perchel (aka RENFE-María Zambrano) y camina hasta el centro (unos 20 min) o bien pilla el C2 o el 1 en la c/ Salitre y bájate en la parada de Pza. de La Merced.

@ryo1kato
ryo1kato / perror
Created April 3, 2012 12:37
perror - bash implementation
#!/bin/bash
errno_headers="/usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h"
print_usage () {
echo "Usage: ${0##*/} ERRNO"
}
case $1 in
@be1
be1 / zimbra-soap.txt
Created September 2, 2010 12:02 — forked from MattMencel/zimbra-soap.txt
Zimbra 6.0.4 soap.txt file with json examples
REST URL for requesting content:
http://server/service/home/[˜][{username}]/[{folder}]?[{query-params}]
fmt={ics, csv, etc}
id={item-id}
imap_id={item-imap-id}
part={mime-part}
query={search-query}
types={types} // when searching
auth={auth-types}