Skip to content

Instantly share code, notes, and snippets.

View tuxor1337's full-sized avatar

Thomas Vogt tuxor1337

View GitHub Profile
@tuxor1337
tuxor1337 / datseg.cpp
Last active February 15, 2017 21:21
Draft for data segment declaration in Bright Eyes project
/**
* Rewrite of DSA1 v3.02_de datasegment
* No code is allowed here, only the global data
*/
#include "datseg.h"
#if !defined(__BORLANDC__)
namespace M302de {
#endif
@tuxor1337
tuxor1337 / nomaxtitlebar-3.16.sh
Last active May 19, 2018 21:58
Remove titlebar of maximized windows in GNOME3 (One for <=3.14 and one for >=3.16)
#!/usr/bin/bash
#
# This script requires the command `wmctrl`!
#
# Execute this script at GNOME startup as a daemon (e.g. with the & control operator).
#
# It will check in an endless loop that all windows that are currently open have
# the _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED atom set to true.
#
@tuxor1337
tuxor1337 / underlay.svg
Last active August 29, 2015 13:57
Firefox OS app icon underlay as provided by Mozilla at http://www.mozilla.org/en-US/styleguide/products/firefox-os/icons/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tuxor1337
tuxor1337 / toggle-extension.sh
Created March 9, 2013 00:49
Toggle (enable/disable) a gnome shell extension's state.
#!/bin/bash
EXT_UUID=$1
function get_ext_state() {
ENABLED_EXT=$(dconf read /org/gnome/shell/enabled-extensions | grep "'$1'")
if [ "x$ENABLED_EXT" != "x" ]; then
return 0
else
return 1