Skip to content

Instantly share code, notes, and snippets.

View user5145's full-sized avatar

user5145 user5145

  • Europe
View GitHub Profile
@mig
mig / gnome-reset.sh
Created July 10, 2013 17:07
Reset Gnome 3 config to default
rm -rf .gnome .gnome2 .gconf .gconfd .metacity .cache .dbus .dmrc .mission-control .thumbnails ~/.config/dconf/user ~.compiz*
@staltz
staltz / introrx.md
Last active July 19, 2024 22:21
The introduction to Reactive Programming you've been missing
@elleryq
elleryq / dump-gsettings.py
Created April 10, 2015 14:23
dump all gsettings. It is same as 'gsettings list-recursively'
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""dump gsettings"""
from __future__ import print_function
from subprocess import check_output
def get_schemas():
output = check_output(['gsettings', 'list-schemas'])
schemas = output.split('\n')
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@m4s0
m4s0 / yaourt-skip-validity-checks.txt
Created August 31, 2016 18:09
[archlinux] yaourt skip validity checks
yaourt --m-arg "--skippgpcheck" -S {{ package }}
###
--skipinteg
Do not perform any integrity checks (checksum and PGP)
on source files.
--skipchecksums
Do not verify checksums of source files.
@Francesco149
Francesco149 / osu_on_linux_overhaul.md
Last active July 10, 2024 23:50
Ultimate guide to low-latency osu on linux
@Keenuts
Keenuts / readme.md
Last active July 17, 2024 08:19
GSoC 2017 | Virgl Windows Driver

GSOC 2017 | Virgl Windows Driver

Project links

The project is split into several parts:

  • The kernel driver, with simple 3D command forwarding and 3D resource allocation
  • The userland driver, in fact the OpenGL backend
  • The reference, explaining virtio-gpu commands

https://github.com/Keenuts/virtio-gpu-win-icd \

@spheenik
spheenik / 2.12.0.patch
Last active February 16, 2023 21:01
QEMU sound improvement
diff --git audio/audio.c audio/audio.c
index 6eccdb17ee..4eb190a18f 100644
--- audio/audio.c
+++ audio/audio.c
@@ -2097,3 +2097,8 @@ void AUD_set_volume_in (SWVoiceIn *sw, int mute, uint8_t lvol, uint8_t rvol)
}
}
}
+
+int64_t audio_get_timer_ticks(void)
@CharlieScarver
CharlieScarver / AdventureTime.csv
Last active July 19, 2024 14:25 — forked from austinpray/AdventureTime.csv
List of important adventure time episodes
Season Episode Title Reason
1 5 The Enchiridion A good intro to the series, plus introduces the important Enchiridion
1 2 Trouble in Lumpy Space* Introduces LSP (episode out of order)
1 3 Prisoners of Love Introduces Ice King and his obsession (episode out of order)
1 7 Ricardio the Heart Guy Finn and PB development, Sets a returning plot
1 8 Business Time* First mention of Ooo being post-apocalyptic
1 9 My Two Favorite People Intros the Jake and Lady Rainicorn plotline
1 10 Memories of Boom Boom Mountain A look at how Finn was adopted into Jake's Family
1 12 Evicted! Intros Marceline
@ashtonx
ashtonx / __gl_env.txt
Created July 26, 2018 08:51
nvidia __GL_ env variable calls
[ashton@Uroboros Debug]$ grep -n "__GL_" gl.txt
18:libGLX_nvidia.so.0->getenv("__GL_HEAP_ALLOC_LIMIT") = nil
19:libGLX_nvidia.so.0->getenv("__GL_APPLICATION_PROFILE") = nil
20:libGLX_nvidia.so.0->getenv("__GL_APPLICATION_PROFILE_LOG") = nil
21:libGLX_nvidia.so.0->getenv("__GL_MAYA_OPTIMIZE") = nil
27:libGLX_nvidia.so.0->getenv("__GL_FLUSH_CONTROL") = nil
28:libGLX_nvidia.so.0->getenv("__GL_FORCE_DIRECT") = nil
29:libGLX_nvidia.so.0->getenv("__GL_FORCE_INDIRECT") = nil
30:libGLX_nvidia.so.0->getenv(