Skip to content

Instantly share code, notes, and snippets.

View phixion's full-sized avatar
🏠
Working from home

Martin phixion

🏠
Working from home
View GitHub Profile
// ==UserScript==
// @name Steam Queue Auto Discoverer
// @description Discover the Steam queue three times to get the sale cards
// @version 2.3.0
// @namespace https://gist.github.com/xPaw/73f8ae2031b4e528abf7
// @updateURL https://gist.github.com/xPaw/73f8ae2031b4e528abf7/raw/steam_quick_queue.user.js
// @icon https://store.steampowered.com/favicon.ico
// @match https://store.steampowered.com/explore*
// @grant none
// ==/UserScript==
@phixion
phixion / LighttpdReverseProxyURLRewriting
Created July 2, 2016 15:48 — forked from ebouchut/LighttpdReverseProxyURLRewriting
Lighttpd reverse-proxy to that matches an URL _and_ does URL rewriting
#server.modules += ( "mod_rewrite")
# Workaround to have a working reverse-proxy that matches an URL does URL rewriting in Ligghtpd.
#
# Ligtthpd 1.4.28 cannot perform both matching and URL rewriting at the same time.
# Therefore we need to define 2 proxies, one does the matching and bounce the request
# to the other one, in charge of rewriting the URL before proxying the request to the target server.
#
# More about this here:
# http://redmine.lighttpd.net/issues/164#note-9
;
; this config is written for an unreleased version (lemonbuddy "2.0-beta" branch)
; it might need some tweaking to run on the latest released version... try for yourself
;
[bar/top]
monitor = HDMI-0
dock = false
width = 100%
height = 21
@phixion
phixion / fix-infinality.md
Created January 30, 2017 12:01 — forked from cryzed/fix-infinality.md
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!

Screenshots

Results after following the guide as of 11.01.2017 13:08:

Keybase proof

I hereby claim:

  • I am phixion on github.
  • I am phixion_ (https://keybase.io/phixion_) on keybase.
  • I have a public key whose fingerprint is 6646 EB34 F279 56DA 1EAE 52DB E692 D44B B459 2F8E

To claim this, I am signing this object:

@phixion
phixion / disable.sh
Created July 14, 2018 05:03 — forked from gopsmith/disable.sh
Disable bunch of #$!@ in Sierra (Version 2.1)
#!/bin/bash
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevi
@phixion
phixion / curse.txt
Created July 22, 2018 15:37
curse.txt
Who is using this information?
Here is the complete list of companies who may use your information. You can review their privacy policies for specific data use, security, and retention practices.
Customize how these companies use your data from the previous page
1000mercis
1020, Inc. dba Placecast and Ericsson Emodo
1plusX AG
2KDirect, Inc. (dba iPromote)
33Across
@phixion
phixion / guide.md
Created November 13, 2018 17:15 — forked from mikkeloscar/guide.md
Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Setup armv7h chroot under x86_64 host (Archlinux/Archlinuxarm biased)

Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.

Setup chroot-fs

You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.

@phixion
phixion / keybase.md
Created September 4, 2019 02:37
keybase.md

Keybase proof

I hereby claim:

  • I am phixion on github.
  • I am phixion_ (https://keybase.io/phixion_) on keybase.
  • I have a public key whose fingerprint is 9EF7 0A27 3C75 27BF 5901 4FC8 85D5 04E0 7899 676E

To claim this, I am signing this object:

$ martin@ex3c0 [tuya-convert]; uname -a
Linux rc3x0 5.4.2-arch1-1 #1 SMP PREEMPT Thu, 05 Dec 2019 12:29:40 +0000 x86_64 GNU/Linux
$ martin@ex3c0 [tuya-convert]; dmesg |grep DMI
kern :info : [Mon Dec 9 22:00:42 2019] DMI: Apple Inc. MacBookAir3,1/Mac-942452F5819B1C1B, BIOS 109.0.0.0.0 12/19/2018
kern :notice: [Mon Dec 9 22:00:42 2019] ACPI: DMI detected to setup _OSI("Darwin"): Apple hardware
kern :info : [Mon Dec 9 22:00:42 2019] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
kern :notice: [Mon Dec 9 22:00:42 2019] ACPI: BIOS _OSI(Darwin) query honored via DMI
$ martin@ex3c0 [~]; dmesg |grep broadcom
$ martin@ex3c0 [1] [~]; dmesg |grep Broadcom
kern :info : [Mon Dec 9 21:44:26 2019] Broadcom 43xx driver loaded [ Features: PNLS ]